test: synchronize WPT url test data
Synchronize url-tests to upstream b207902 and comment out incompatible tests PR-URL: https://github.com/nodejs/node/pull/11439 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
795e4fd66d
commit
ef4b95ae78
933
test/fixtures/url-tests.js
vendored
933
test/fixtures/url-tests.js
vendored
File diff suppressed because it is too large
Load Diff
@ -63,7 +63,7 @@ function runURLTests(urltests) {
|
|||||||
assert_equals(url.search, expected.search, "search")
|
assert_equals(url.search, expected.search, "search")
|
||||||
if ("searchParams" in expected) {
|
if ("searchParams" in expected) {
|
||||||
assert_true("searchParams" in url)
|
assert_true("searchParams" in url)
|
||||||
// assert_equals(url.searchParams.toString(), expected.searchParams, "searchParams")
|
assert_equals(url.searchParams.toString(), expected.searchParams, "searchParams")
|
||||||
}
|
}
|
||||||
assert_equals(url.hash, expected.hash, "hash")
|
assert_equals(url.hash, expected.hash, "hash")
|
||||||
}, "Parsing: <" + expected.input + "> against <" + expected.base + ">")
|
}, "Parsing: <" + expected.input + "> against <" + expected.base + ">")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user