gecko-dev/testing/web-platform/tests/url/url-tojson.any.js
Mike Pennisi e9406a9a3c Bug 1468626 [wpt PR 11492] - Reformat URL tests, a=testonly
Automatic update from web-platform-testsGeneralize test

--
updated urlencoded-parser to use .any.js

--
issue 11277: convert url html test to any.js

--
Convert URL tests to .any.js format

- Convert url/urlsearchparams-append.html to .any.js
- Convert url/urlsearchparams-constructor.html to .any.js
- Convert url/urlsearchparams-foreach.html to .any.js
- Convert url/urlsearchparams-set.html to .any.js
- Convert url/urlsearchparams-getall.html to .any.js

--
Separate url-searchparams.any.js from url/url-constructor.html

--
converted additional urlsearchparams tests to use any.js

--
Generalize test.

--
Generalized Test

--
Relocate specification reference

--

wpt-commits: a1c591bbb2c67f708609608d82caf5e9970431f0, 5efc5e92401e8edc5b1cfbdc8679c9817af30413, 1f3019b4ae77f4b98de5d3affc162d0889f645d0, c6dd3dce89c8d1475b1354a03447750c14cd8804, 87dc680b64f89ec6e91fb8763d7b2da9677110c4, a734002040383222111fce80e50e7dc013a5812d, 39c743e4f7877abf16db6ace465089f6c61b2b60, 693caf30f6cf9f8bffbac2f06fbb538989663ab8, e6422d28a641dcb82a419c1f63efb975588960cf
wpt-pr: 11492
2018-08-08 12:09:38 +00:00

4 lines
123 B
JavaScript

test(() => {
const a = new URL("https://example.com/")
assert_equals(JSON.stringify(a), "\"https://example.com/\"")
})