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

HTMLHyperlinkElementUtils' password getter steps are out of sync with the URL spec #2240

Closed
TRowbotham opened this issue Jan 4, 2017 · 1 comment

Comments

@TRowbotham
Copy link
Contributor

whatwg/url#186 made it so that passwords can no longer be null. In the HTML spec for the HTMLHyperlinkElementUtils interface, step number 3 of the password attribute's getter states:

  1. If url or url's password is null, return the empty string.

This should probably be rephrased to the following, to be less misleading about the values that a url's password can contain:

  1. If url is null, return the empty string.
@annevk
Copy link
Member

annevk commented Jan 5, 2017

Thank you, I did not realize we kept username/password getters for these. I can create a fix.

annevk added a commit that referenced this issue Jan 5, 2017
See whatwg/url@5e0b05e for the change to the URL Standard.

Tests (the same as those created for the URL Standard are applicable here): web-platform-tests/wpt#4405.

Fixes: #2240.
domenic pushed a commit that referenced this issue Jan 5, 2017
See whatwg/url@5e0b05e for the change to the URL Standard.

Fixes #2240.
alice pushed a commit to alice/html that referenced this issue Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants