Repository navigation
Fix the "get the parent" loop when dispatching event (fixes #6733) - #9734
Conversation
|
This fixes #6733. |
|
I want a bunch of tests that this does not affect documents that are not in a browsing context |
b8dcfa9 to
94686fc
Compare
|
Reviewed 1 of 2 files at r1, 7 of 7 files at r2. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r2] (raw file): tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 80 [r2] (raw file): Comments from the review on Reviewable.io |
94686fc to
274755a
Compare
|
Review status: all files reviewed at latest revision, 2 unresolved discussions. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r2] (raw file): tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 80 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 7 of 8 files reviewed at latest revision, 2 unresolved discussions. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r2] (raw file): Comments from the review on Reviewable.io |
274755a to
1270c8a
Compare
|
Review status: 7 of 8 files reviewed at latest revision, 2 unresolved discussions. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 1 of 1 files at r3. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r3] (raw file): tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 71 [r3] (raw file): Comments from the review on Reviewable.io |
1270c8a to
2aad3be
Compare
|
Review status: 7 of 8 files reviewed at latest revision, 2 unresolved discussions. tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 34 [r3] (raw file): tests/wpt/web-platform-tests/dom/events/Event-dispatch-bubbles-false.html, line 71 [r3] (raw file): Comments from the review on Reviewable.io |
|
@bors-servo r+ Reviewed 1 of 1 files at r4. Comments from the review on Reviewable.io |
|
📌 Commit 2aad3be has been approved by |
|
📌 Commit 583961c has been approved by |
Fix the "get the parent" loop when dispatching event (fixes #6733) The DOM specification says: > A document's get the parent algorithm, given an event, returns null > if event's type attribute value is "load" or document does not have > a browsing context, and the document's associated Window object > otherwise. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9734) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
The DOM specification says: A document's get the parent algorithm, given an event, returns null if event's type attribute value is "load" or document does not have a browsing context, and the document's associated Window object otherwise.
583961c to
e70b520
Compare
|
@bors-servo r=Ms2ger,jdm Forgot one last expectation. |
|
📌 Commit e70b520 has been approved by |
|
📌 Commit e70b520 has been approved by |
Fix the "get the parent" loop when dispatching event (fixes #6733) The DOM specification says: > A document's get the parent algorithm, given an event, returns null > if event's type attribute value is "load" or document does not have > a browsing context, and the document's associated Window object > otherwise. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9734) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel |
|
@bors-servo retry #8120 |
|
⚡ Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only linux-rel... |
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt |
The DOM specification says: