Skip to content

Update URL-related interfaces and their tests up to spec - #8008

Merged
bors-servo merged 1 commit into
servo:masterfrom
nox:url
Oct 19, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
nox:url

Conversation

@nox

@nox nox commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

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.

Review on Reviewable

@nox nox added the A-content/dom Interacting with the DOM from web content label Oct 13, 2015
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 13, 2015
Comment thread components/script/dom/urlhelper.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

?

@nox

nox commented Oct 14, 2015

Copy link
Copy Markdown
Contributor Author

@dzbarsky Fat-fingered this, good catch.

@jdm jdm self-assigned this Oct 14, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #8060) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 19, 2015
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.
@nox nox removed the S-needs-rebase There are merge conflict errors. label Oct 19, 2015
@jdm

jdm commented Oct 19, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
Please note the requests to file followup issues!


Reviewed 19 of 19 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 5 unresolved discussions, all commit checks successful.


components/script/dom/location.rs, line 73 [r1] (raw file):
According to the spec we should be invoking Location-object-setter in all of these setter methods. Presumably that should have been the case before, so I'm ok with filing it as a followup.


components/script/dom/location.rs, line 102 [r1] (raw file):
Please file a followup issue to make this and SetProtocol throw per the spec.


components/script/dom/webidls/HTMLAreaElement.webidl, line 16 [r1] (raw file):
What's the purpose of this comment?


components/script/dom/webidls/HTMLHyperlinkElementUtils.webidl, line 8 [r1] (raw file):
Why not at least uncomment the interface and annotations?


Comments from the review on Reviewable.io

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 57c423a has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 57c423a with merge f73cd40...

bors-servo pushed a commit that referenced this pull request Oct 19, 2015
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 -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 19, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 19, 2015
@jdm

jdm commented Oct 19, 2015

Copy link
Copy Markdown
Member

Sigh. #7625 strikes again.

@nox

nox commented Oct 19, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

Seems like it's ok again?

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux-dev, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel...

@nox nox removed the S-tests-failed The changes caused existing tests to fail. label Oct 19, 2015
@nox

nox commented Oct 19, 2015

Copy link
Copy Markdown
Contributor Author

Never mind, misread the bot in the IRC channel…

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit 57c423a into servo:master Oct 19, 2015
@nox
nox deleted the url branch October 19, 2015 23:52
@jdm jdm mentioned this pull request Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/dom Interacting with the DOM from web content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants