diff --git a/url/url-tojson.any.js b/url/url-tojson.any.js new file mode 100644 index 00000000000000..baee8548f1e8f6 --- /dev/null +++ b/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/"'); +}); diff --git a/url/url-tojson.html b/url/url-tojson.html deleted file mode 100644 index 3e8798c08b556e..00000000000000 --- a/url/url-tojson.html +++ /dev/null @@ -1,12 +0,0 @@ - - -URL's toJSON() - - -
-