Skip to content

Improve DOM interfaces' extended attributes - #7601

Merged
bors-servo merged 5 commits into
servo:masterfrom
nox:cleanup-dom-webidls
Sep 20, 2015
Merged

bors-servo merged 5 commits into
servo:masterfrom
nox:cleanup-dom-webidls

Conversation

@nox

@nox nox commented Sep 11, 2015

Copy link
Copy Markdown
Contributor

Some should have been [SameObject] instead of [Constant]. The rest of the changes are additional [Constant] and [Pure] extended attributes on many operations.

Review on Reviewable

nox added 4 commits September 11, 2015 02:56
ParentNode.children is [SameObject], querySelectorAll() is [NewObject].
Attributes classList and attributes are [SameObject].
It should be [SameObject].
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 11, 2015
@nox nox added A-content/dom Interacting with the DOM from web content A-content/bindings The DOM bindings and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 11, 2015
@nox
nox force-pushed the cleanup-dom-webidls branch from 0f10af5 to 46f3841 Compare September 11, 2015 09:10
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 11, 2015
@Ms2ger

Ms2ger commented Sep 11, 2015

Copy link
Copy Markdown
Contributor

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, 1 of 1 files at r4, 2 of 18 files at r5.
Review status: 2 of 18 files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@Ms2ger

Ms2ger commented Sep 18, 2015

Copy link
Copy Markdown
Contributor

Reviewed 16 of 18 files at r5.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/script/dom/webidls/Event.webidl, line 15 [r5] (raw file):
Gotcha! initEvent can break this. Try if you can write a test.


components/script/dom/webidls/NodeIterator.webidl, line 23 [r5] (raw file):
"Attributes/methods flagged in this way promise that they will keep returning the same value as long as nothing that has [Affects=Everything] executes."

These two always return another node.


Comments from the review on Reviewable.io

1 similar comment
@Ms2ger

Ms2ger commented Sep 19, 2015

Copy link
Copy Markdown
Contributor

Reviewed 16 of 18 files at r5.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/script/dom/webidls/Event.webidl, line 15 [r5] (raw file):
Gotcha! initEvent can break this. Try if you can write a test.


components/script/dom/webidls/NodeIterator.webidl, line 23 [r5] (raw file):
"Attributes/methods flagged in this way promise that they will keep returning the same value as long as nothing that has [Affects=Everything] executes."

These two always return another node.


Comments from the review on Reviewable.io

@nox
nox force-pushed the cleanup-dom-webidls branch from 46f3841 to 49219ba Compare September 19, 2015 14:03
@nox

nox commented Sep 19, 2015

Copy link
Copy Markdown
Contributor Author

@Ms2ger Amended.


Review status: 16 of 18 files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from the review on Reviewable.io

@Ms2ger

Ms2ger commented Sep 19, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r+

-S-awaiting-review +S-awaiting-merge


Reviewed 2 of 2 files at r6.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger 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 Sep 19, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 49219ba has been approved by Ms2ger

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 49219ba with merge b6ec98b...

bors-servo pushed a commit that referenced this pull request Sep 19, 2015
Improve DOM interfaces' extended attributes

Some should have been `[SameObject]` instead of `[Constant]`. The rest of the changes are additional `[Constant]` and `[Pure]` extended attributes on many operations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7601)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@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 Sep 19, 2015
@nox

nox commented Sep 19, 2015

Copy link
Copy Markdown
Contributor Author
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

@larsbergstrom?

@larsbergstrom

Copy link
Copy Markdown
Contributor

Gah! I won't be around a computer with ssh for another six hours. @metajack
@edunham?

On Sep 19, 2015, at 9:28 AM, Anthony Ramine [email protected]
wrote:

Agreeing to the Xcode/iOS license requires admin privileges, please
re-run as root via sudo.

@larsbergstrom https://github.com/larsbergstrom?

—
Reply to this email directly or view it on GitHub
#7601 (comment).

@larsbergstrom

Copy link
Copy Markdown
Contributor

@bors-servo retry

@bors-servo

Copy link
Copy Markdown
Contributor

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

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@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 Sep 19, 2015
@nox

nox commented Sep 19, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

#7422

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 49219ba with merge 61267cd...

bors-servo pushed a commit that referenced this pull request Sep 19, 2015
Improve DOM interfaces' extended attributes

Some should have been `[SameObject]` instead of `[Constant]`. The rest of the changes are additional `[Constant]` and `[Pure]` extended attributes on many operations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7601)
<!-- 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-tests-failed The changes caused existing tests to fail. labels Sep 19, 2015
@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 49219ba into servo:master Sep 20, 2015
@nox nox mentioned this pull request Sep 21, 2015
@nox
nox deleted the cleanup-dom-webidls branch September 23, 2015 13:41
@saschanaz saschanaz mentioned this pull request Oct 25, 2019
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/bindings The DOM bindings A-content/dom Interacting with the DOM from web content S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants