Skip to content

Mutation Observer API - #16883

Merged
bors-servo merged 1 commit into
servo:masterfrom
jdm:mutationobserver
May 17, 2017
Merged

bors-servo merged 1 commit into
servo:masterfrom
jdm:mutationobserver

Conversation

@jdm

@jdm jdm commented May 15, 2017 •

Copy link
Copy Markdown
Member

Rebased from #16668.

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix (partially) Implement mutation observers #6633
  • There are tests for these changes

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/attr.rs, components/script/microtask.rs, components/script/dom/node.rs, components/script/dom/element.rs, components/script/dom/webidls/MutationObserver.webidl and 4 more
  • @KiChjang: components/script/dom/attr.rs, components/script/microtask.rs, components/script/dom/node.rs, components/script/dom/element.rs, components/script/dom/webidls/MutationObserver.webidl and 4 more

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 15, 2017
@jdm jdm mentioned this pull request May 15, 2017
4 of 5 tasks
@jdm

jdm commented May 15, 2017

Copy link
Copy Markdown
Member Author

@bors-servo: r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3ca8920 has been approved by jdm

@highfive highfive assigned jdm and unassigned pcwalton May 15, 2017
@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 May 15, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3ca8920 with merge 5da0aa9...

bors-servo pushed a commit that referenced this pull request May 17, 2017
Mutation Observer API

Rebased from #16668.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #6633
- [X] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16883)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: jdm
Pushing 5da0aa9 to master...

@bors-servo
bors-servo merged commit 3ca8920 into servo:master May 17, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 17, 2017
@rocallahan

Copy link
Copy Markdown

Isn't it a bit slow to make every attribute change walk the all the DOM ancestors of the node?

@jdm

jdm commented May 17, 2017

Copy link
Copy Markdown
Member Author

Quite plausible. I'll file a follow-up issue to investigate.

gsnedders added a commit to gsnedders/web-platform-tests that referenced this pull request Jul 14, 2017
The blocker appears to have been Mutation Observers, which were
implemented in servo/servo#16883.
gsnedders added a commit to gsnedders/web-platform-tests that referenced this pull request Jul 14, 2017
The blocker appears to have been Mutation Observers, which were
implemented in servo/servo#16883.
gsnedders added a commit to gsnedders/web-platform-tests that referenced this pull request Jul 14, 2017
The blocker appears to have been Mutation Observers, which were
implemented in servo/servo#16883.
jgraham pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 18, 2017
The blocker appears to have been Mutation Observers, which were
implemented in servo/servo#16883.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants