Skip to content
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

Merged
merged 2 commits into from
Feb 1, 2017

Conversation

joyeecheung
Copy link
Contributor

@wpt-pr-bot
Copy link
Collaborator

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?)

@wpt-pr-bot wpt-pr-bot added the url label Feb 1, 2017
@joyeecheung
Copy link
Contributor Author

The second commit added expected origins(need more thorough reviews), currently Node.js is unable to produce these expected origins either.

Copy link
Member

@domenic domenic left a 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

@joyeecheung
Copy link
Contributor Author

Ah, forgot these schemes should've resulted int opaque origins. Thanks, I've updated them to null, PTAL.

@domenic domenic merged commit 8be8738 into web-platform-tests:master Feb 1, 2017
domenic added a commit to jsdom/whatwg-url that referenced this pull request Feb 1, 2017
joyeecheung added a commit to nodejs/node that referenced this pull request Feb 21, 2017
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 <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: James M Snell <[email protected]>
italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 25, 2017
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 <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants