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

Empty host file URL fallout? #272

Closed
annevk opened this issue Mar 14, 2017 · 0 comments
Closed

Empty host file URL fallout? #272

annevk opened this issue Mar 14, 2017 · 0 comments

Comments

@annevk
Copy link
Member

annevk commented Mar 14, 2017

From @domenic in #260 (comment):

Note that there is no test coverage for the case introduced here: in

       if (this.url.host !== "" && this.url.host !== null) {
         this.parseError = true;
         this.url.host = "";
       }

the condition never evaluates to true so those two lines are never reached. Maybe a coverage gap, maybe a spec bug.

domenic pushed a commit to web-platform-tests/wpt that referenced this issue Mar 14, 2017
bors-servo pushed a commit to servo/rust-url that referenced this issue Nov 6, 2017
Properly file URLs when the path starts with a windows drive letter

This change imports tests from web-platform-tests/wpt@634175d corresponding to URL change whatwg/url#272

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/410)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant