Closed Bug 2041641 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 60090 - [Reference Target] Test showPopover with source also gets new event propagation

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 60090 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/60090
Details from upstream follow.

Daniel Clark <daniec@microsoft.com> wrote:

[Reference Target] Test showPopover with source also gets new event propagation

Add a test case showing that showPopover with a source specified via
argument that's in an ancestor shadow will also get the new event
propagation behavior.

Bug: 346835896
Change-Id: I97ab307a3fad3c575d5bba0e7b82e8eb2dddc990
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7859979
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Dan Clark \<daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1634589}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 13 tests and 6 subtests

Status Summary

Firefox

OK : 12
PASS : 1[GitHub] 6235[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 8[GitHub] 13[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1
NOTRUN : 2

Chrome

OK : 1
PASS : 10
FAIL : 2

Safari

PASS : 1
FAIL : 8
TIMEOUT: 1
ERROR : 1
NOTRUN : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /shadow-dom/reference-target/tentative/dom-mutation.html [wpt.fyi]
    • .labels property is updated when for attribute changes on label outside of shadow root: FAIL
    • .labels property is updated when ID changes on input: FAIL
  • /shadow-dom/reference-target/tentative/event-path.html [wpt.fyi]: ERROR (Chrome: OK, Safari: ERROR)
    • Event propagates to source's shadow tree only; target in deeper shadow root: FAIL (Chrome: PASS, Safari: FAIL)
    • Event path includes all shadow hosts and shadow roots up to the root of the source, but non-bubbling event fires only Non-bubbling event fires only where currentTarget == retargeted original target: FAIL (Chrome: PASS, Safari: FAIL)
    • Event path skips root containing neither source nor target. Non-bubbling event fires only where currentTarget == retargeted original target: FAIL (Chrome: PASS, Safari: FAIL)
    • Event path should go all the way to window if source is not in a shadow, but should only fire when currentTarget == retargeted original target: FAIL (Chrome: PASS, Safari: FAIL)
    • Event propagates to source tree when source is given in synthetic event, even without reference target: FAIL (Chrome: PASS, Safari: FAIL)
    • beforetoggle event propagates to source's shadow tree only; target in deeper shadow root: FAIL (Chrome: PASS, Safari: FAIL)
    • beforetoggle event propagates to source's shadow tree only; target in deeper shadow root; showPopover called directly with source option: FAIL (Chrome: PASS, Safari: FAIL)
    • toggle event propagates to source's shadow tree only; target in deeper shadow root: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
    • submit event propagates to submitter's shadow tree only; target in deeper shadow root: FAIL (Chrome: PASS, Safari: FAIL)
    • interest event propagates to source's shadow tree only; target in deeper shadow root: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • loseinterest event propagates to source's shadow tree only; target in deeper shadow root: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
  • /shadow-dom/reference-target/tentative/interestfor.tentative.html [wpt.fyi]
    • Shadow root reference target works with interestfor attribute.: FAIL
    • Shadow root reference target works with interestfor attribute via options.: FAIL
    • Shadow root reference target works with .interestForElement property.: FAIL
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.