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 authored and Italo A. Casas committed 2017-02-25 11:24:32 -05:00
1 parent 4109e0edc4
commit e92ddd46bb
2 files changed
+894 -41

No files matched your search

+893 -40
View File
File diff suppressed because it is too large. Load diff
+1 -1
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 + ">")