[wpt-sync] Sync PR 22053 - Addes WPT tests for Imperative Shadow DOM Slot API.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22053 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22053
Details from upstream follow.
Yu Han <yuzhehan@chromium.org> wrote:
Addes WPT tests for Imperative Shadow DOM Slot API.
Previous to this CL, Imperative shadow DOM Slot API was put on hold.
A previous implementation is still in place but disabled. Since then,
in 2019 TPAC F2F, the Imperative Slotting API behavior has been updated.This CL adds new test cases which reflects this new behavior for
Imperative Shadow DOM API. They are turned off for now, but will be
enabled one by one as its functionality gets implemented.This is the post for I2P:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/TNYIAu5E_M4Bug: 869308
Change-Id: Ie875a3eb2b349942b6aa51af387460c470572491Reviewed-on: https://chromium-review.googlesource.com/2083742
WPT-Export-Revision: 1fc0aaaf8ffd17c61714b581b65df31604a6d99e
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac1e12e4de9d50c573951849fc236f054051a4c1
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 60 tests
Status Summary
Firefox
OK : 14
PASS : 107[GitHub] 153[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt]
FAIL : 18
Chrome
OK : 14
PASS : 108
FAIL : 17
Safari
OK : 13
PASS : 104
FAIL : 20
TIMEOUT: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/shadow-dom/slots-imperative-slot-api.tentative.html
Previously assigned slotable is moved to new slot when it's reassigned.: FAIL (Chrome: FAIL, Safari: FAIL)
Imperative slot API can assign nodes in manual slot assignment.: FAIL (Chrome: FAIL, Safari: FAIL)
Assignment with the same node in parameters should be ignored, last one wins.: FAIL (Chrome: FAIL, Safari: FAIL)
Appending slotable to different host, it loses slot assignment. It can be re-assigned within a new host.: FAIL (Chrome: FAIL, Safari: FAIL)
attachShadow can take slotAssignment parameter.: FAIL (Chrome: FAIL, Safari: FAIL)
Assigning invalid nodes causes exception and slot returns to its previous state.: FAIL (Chrome: FAIL, Safari: FAIL)
Moving a slot's tree order position within a shadow host has no impact on its assigned slotables.: FAIL (Chrome: FAIL, Safari: FAIL)
Removing a slot from DOM resets its slotable's slot assignment.: FAIL (Chrome: FAIL, Safari: FAIL)
Imperative slot API throws exception when slotable parentNode != slot's host.: FAIL (Chrome: FAIL, Safari: FAIL)
Order of slotables is preserved in manual slot assignment.: FAIL (Chrome: FAIL, Safari: FAIL)
Moving a slot to a new host, the slot loses its previously assigned slotables.: FAIL (Chrome: FAIL, Safari: FAIL)
Imperative slot API throws exception when not slotAssignment != 'manual'.: FAIL (Chrome: FAIL, Safari: FAIL)
/shadow-dom/capturing-and-bubbling-event-listeners-across-shadow-trees.html
Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched via a slot: FAIL (Chrome: FAIL, Safari: PASS)
Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a doubly nested shadow tree: FAIL (Chrome: FAIL, Safari: PASS)
Capturing event listeners should be invoked before bubbling event listeners on the target without shadow trees: FAIL (Chrome: FAIL, Safari: PASS)
Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree: FAIL (Chrome: FAIL, Safari: PASS)
Capturing event listeners should be invoked before bubbling event listeners when an event is dispatched inside a shadow tree which passes through another shadow tree: FAIL (Chrome: FAIL, Safari: PASS)
/picture-in-picture/shadow-dom.html
Test for Picture-In-Picture and Shadow DOM: FAIL (Chrome: PASS, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7a26a4c2d35 [wpt PR 22053] - Adds WPT tests for Imperative Shadow DOM Slot API., a=testonly https://hg.mozilla.org/integration/autoland/rev/11dcb7497301 [wpt PR 22053] - Update wpt metadata, a=testonly
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f7a26a4c2d35
https://hg.mozilla.org/mozilla-central/rev/11dcb7497301
Description
•