-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream Node.js URL test data #4693
Upstream Node.js URL test data #4693
Conversation
Notifying @Sebmaster, @domenic, @mikewest, @rubys, @sideshowbarker, @smola, @tomalec, @xiaojunwu, and @zcorpan. (Learn how reviewing works.) These tests will be available shortly on w3c-test.org. w3c-test:do-not-mirror (What's this?) |
The second commit added expected origins(need more thorough reviews), currently Node.js is unable to produce these expected origins either. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL parsing looks good; the origins should all be the string "null" per https://url.spec.whatwg.org/#origin "Otherwise" + https://html.spec.whatwg.org/multipage/browsers.html#unicode-serialisation-of-an-origin step 1
f930654
to
81329e4
Compare
Ah, forgot these schemes should've resulted int opaque origins. Thanks, I've updated them to |
url-tests-additional.js now is a placeholder since existing test cases have been upstreamed. This is now a temporary place for test cases not upstreamed yet. Refs: web-platform-tests/wpt#4693 PR-URL: #11439 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
url-tests-additional.js now is a placeholder since existing test cases have been upstreamed. This is now a temporary place for test cases not upstreamed yet. Refs: web-platform-tests/wpt#4693 PR-URL: nodejs#11439 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Refs: nodejs/node#11079
cc @domenic