https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 822e9c88e5c38174de80ea6a822b32578d07fa94 authored by moz-wptsync-bot on 28 March 2018, 19:30:44 UTC
Correct readyState in WebSocket when worker goes away,
Tip revision: 822e9c8
url-tojson.html
<!doctype html>
<meta charset=utf-8>
<title>URL's toJSON()</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(() => {
  const a = new URL("https://example.com/")
  assert_equals(JSON.stringify(a), "\"https://example.com/\"")
})
</script>
back to top