Revision ad4489b5132d14d65cdb52845d1c1f8694b9d4cc authored by Ms2ger on 13 March 2018, 16:12:19 UTC, committed by Ms2ger on 11 April 2018, 07:18:10 UTC
1 parent d44cd21
Raw File
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