https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 2bafeea00c6a31a745f3114c1b1167285db1caa5 authored by Adam Rice on 05 April 2018, 07:58:47 UTC
Make URLSearchParamsIterationSource not snapshot
Tip revision: 2bafeea
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