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:
Joyee Cheung 2017-02-17 21:05:33 +08:00
parent 795e4fd66d
commit ef4b95ae78
2 changed files with 894 additions and 41 deletions

File diff suppressed because it is too large Load Diff

View File

@ -63,7 +63,7 @@ function runURLTests(urltests) {
assert_equals(url.search, expected.search, "search")
if ("searchParams" in expected) {
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")
}, "Parsing: <" + expected.input + "> against <" + expected.base + ">")