From a325a2942c46478e65d53a74014f449686ac027c Mon Sep 17 00:00:00 2001 From: mariestaver Date: Wed, 13 Jun 2018 15:27:57 -0400 Subject: [PATCH] Generalized Test --- url/url-tojson.any.js | 4 ++++ url/url-tojson.html | 12 ------------ 2 files changed, 4 insertions(+), 12 deletions(-) create mode 100644 url/url-tojson.any.js delete mode 100644 url/url-tojson.html 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() - - -
-