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

add url host test: Port number is removed if new port is scheme default #10892

Merged
merged 2 commits into from May 8, 2018

Conversation

AyushG3112
Copy link
Contributor

@AyushG3112 AyushG3112 commented May 8, 2018

This commit adds a test for a bug found with the node.js implementation of URL, which was not covered by the existing test cases.

Refs: nodejs/node#20479

@annevk
Copy link
Member

annevk commented May 8, 2018

Ah, we do have "Default port number is removed" tests, but they do not have a non-default port themselves (at least the host setter variants).

@annevk
Copy link
Member

annevk commented May 8, 2018

Could you maybe locate this test closer to those and indicate how it's different from them? I think that'd make things easier for maintainers.

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this works for me.

@annevk annevk merged commit f0fe479 into web-platform-tests:master May 8, 2018
@AyushG3112 AyushG3112 deleted the fix-url-port-host branch May 8, 2018 12:40
domenic added a commit to jsdom/whatwg-url that referenced this pull request May 8, 2018
AyushG3112 added a commit to AyushG3112/node that referenced this pull request May 15, 2018
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.

None yet

3 participants