Browse Source

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>
v6
Joyee Cheung 8 years ago
parent
commit
ef4b95ae78
  1. 933
      test/fixtures/url-tests.js
  2. 2
      test/parallel/test-whatwg-url-constructor.js

933
test/fixtures/url-tests.js

File diff suppressed because it is too large

2
test/parallel/test-whatwg-url-constructor.js

@ -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…
Cancel
Save