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
Update URL-related interfaces and their tests up to spec #8008
Conversation
pub fn SetProtocol(url: &mut Url, value: USVString) { | ||
let mut wrapper = UrlUtilsWrapper { url: url, parser: &UrlParser::new() }; | ||
let _ = wrapper.set_scheme(&value.0); | ||
} | ||
|
||
// https://html.spec.whatwg.org/multipage/#same-origin | ||
// g |
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.
?
@dzbarsky Fat-fingered this, good catch. |
☔ The latest upstream changes (presumably #8060) made this pull request unmergeable. Please resolve the merge conflicts. |
The URL spec recently changed and the variour "mixins" interfaces are gone, this commit updates our code and WPT accordingly. The new expected failures related to HTMLAnchorElement and HTMLAreaElement's attributes are due to their moving to the HTMLHyperLinkElementUtils interface, which is not anymore in a separate <script class=untested> element.
@bors-servo: r+ Reviewed 19 of 19 files at r1, 3 of 3 files at r2. components/script/dom/location.rs, line 73 [r1] (raw file): components/script/dom/location.rs, line 102 [r1] (raw file): components/script/dom/webidls/HTMLAreaElement.webidl, line 16 [r1] (raw file): components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl, line 8 [r1] (raw file): Comments from the review on Reviewable.io |
📌 Commit 57c423a has been approved by |
Update URL-related interfaces and their tests up to spec The URL spec recently changed and the variour "mixins" interfaces are gone, this commit updates our code and WPT accordingly. The new expected failures related to HTMLAnchorElement and HTMLAreaElement's attributes are due to their moving to the HTMLHyperLinkElementUtils interface, which is not anymore in a separate `<script class=untested>` element. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8008) <!-- Reviewable:end -->
💔 Test failed - linux-rel |
Sigh. #7625 strikes again. |
@bors-servo retry Seems like it's ok again? |
⚡ Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel... |
Never mind, misread the bot in the IRC channel… |
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
The URL spec recently changed and the variour "mixins" interfaces are gone,
this commit updates our code and WPT accordingly.
The new expected failures related to HTMLAnchorElement and HTMLAreaElement's
attributes are due to their moving to the HTMLHyperLinkElementUtils interface,
which is not anymore in a separate
<script class=untested>
element.