diff options
Diffstat (limited to 'testing/web-platform/tests/url/url-tojson.any.js')
-rw-r--r-- | testing/web-platform/tests/url/url-tojson.any.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/url/url-tojson.any.js b/testing/web-platform/tests/url/url-tojson.any.js new file mode 100644 index 0000000000..65165f96c5 --- /dev/null +++ b/testing/web-platform/tests/url/url-tojson.any.js @@ -0,0 +1,4 @@ +test(() => { + const a = new URL("https://example.com/") + assert_equals(JSON.stringify(a), "\"https://example.com/\"") +}) |