Closed Bug 2077421 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63185 - Add tests for popovers moving across documents

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Keith Cirkel <keithamus@users.noreply.github.com> wrote:

Add tests for popovers moving across documents

https://github.com/whatwg/html/pull/13001

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

CI Results

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

Total 125 tests

Status Summary

Firefox

OK : 3[GitHub] 92[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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 6[GitHub] 14[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 3896[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3909[Gecko-android-em-14-x86_64-debug-geckoview] 3913[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 3914[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]
FAIL : 11[GitHub] 37[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-32-25h2-opt] 38[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 42[Gecko-android-em-14-x86_64-debug-geckoview]

Chrome

OK : 2
PASS : 6
CRASH: 1
FAIL : 8

Safari

OK : 3
PASS : 6
FAIL : 11

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/popovers/popover-focus-invoker-inside-popover.html [wpt.fyi]: SKIP
  • /html/semantics/popovers/light-dismiss-event-ordering.tentative.html [wpt.fyi]
    • Tests the order of pointer/mouse events during popover light dismiss.: FAIL
  • /html/semantics/popovers/light-dismiss-remove-target.html [wpt.fyi]
    • Light dismiss should still happen if the clicked element is removed during pointerdown.: FAIL
  • /html/semantics/popovers/popover-events.html [wpt.fyi]
    • The "beforetoggle" event (listener) get properly dispatched for popovers: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • The "beforetoggle" event (attribute) get properly dispatched for popovers: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • The "beforetoggle" event is cancelable for the "opening" transition: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • The "beforetoggle" event is not fired for element removal: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • The "toggle" event is coalesced: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
    • The toggle event is still fired if the popover is removed during focus/blur: FAIL
  • /html/semantics/popovers/popover-focus-5.html?popovertargetelement [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using popovertargetelement: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using popovertargetelement: FAIL
  • /html/semantics/popovers/popover-focus-5.html?commandfor [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandfor: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandfor: FAIL
  • /html/semantics/popovers/popover-focus-5.html?commandforelement [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using commandforelement: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using commandforelement: FAIL
  • /html/semantics/popovers/popover-focus-5.html?imperative [wpt.fyi]
    • Focusing elements inside a popover with a details element inside, and the after button adjacent to invoker, using imperative: FAIL
    • Focusing elements inside a popover with custom-element with a slotted button, followed by a details element, where the after button is adjacent to the invoker, using imperative: FAIL
  • /html/semantics/popovers/popover-hide-inactive-document.html [wpt.fyi]
    • hidePopover() hides a showing popover=auto once its iframe is removed: FAIL (Chrome: FAIL, Safari: FAIL)
    • togglePopover() hides a showing popover=auto once its iframe is removed: FAIL (Chrome: FAIL, Safari: FAIL)
    • hidePopover() hides a showing popover=auto once its iframe navigates away: FAIL (Chrome: FAIL, Safari: FAIL)
    • togglePopover() hides a showing popover=auto once its iframe navigates away: FAIL (Chrome: FAIL, Safari: FAIL)
    • hidePopover() hides a showing popover=manual once its iframe is removed: FAIL (Chrome: FAIL, Safari: FAIL)
    • togglePopover() hides a showing popover=manual once its iframe is removed: FAIL (Chrome: FAIL, Safari: FAIL)
    • hidePopover() hides a showing popover=manual once its iframe navigates away: FAIL (Chrome: FAIL, Safari: FAIL)
    • togglePopover() hides a showing popover=manual once its iframe navigates away: FAIL (Chrome: FAIL, Safari: FAIL)
  • /html/semantics/popovers/popover-hint-loseinterest-show-child.html [wpt.fyi]
    • Showing a child hint popover in loseinterest should function: FAIL
  • /html/semantics/popovers/popover-hover-active-ancestors.html [wpt.fyi]
    • Hiding a popover restores :hover on the ancestors of slotted content it was showing.: FAIL
    • Hover still applies after removing the hovered slotted content of a showing popover.: FAIL
  • /html/semantics/popovers/popover-light-dismiss-command-edge-cases.html [wpt.fyi]
    • commandfor with command=show-modal light dismisses the popover: FAIL
    • commandfor with command=request-close light dismisses the popover: FAIL
    • commandfor with custom command light dismisses the popover: FAIL
    • commandfor on reset button with form owner light dismisses the popover: FAIL
    • commandfor on auto-type button with form owner light dismisses the popover: FAIL
  • /html/semantics/popovers/popover-light-dismiss-contextmenu.html [wpt.fyi]
    • Popovers should not be light dismissed during contextmenu event.: FAIL
  • /html/semantics/popovers/popover-light-dismiss-touch-scroll.html [wpt.fyi]
    • Popovers should not be light dismissed when scrolling via touch.: FAIL
  • /html/semantics/popovers/popover-move-documents-during-hide.html [wpt.fyi]
    • hidePopover() does not hide a popover moved and re-shown by its own beforetoggle: FAIL (Safari: FAIL)
    • hidePopover() does not hide a popover moved and re-shown by its child's beforetoggle: FAIL (Safari: FAIL)
    • A popover moved and re-shown in another document closes on Escape there: FAIL (Safari: FAIL)
  • /html/semantics/popovers/popover-overlay.html [wpt.fyi]
    • dialog.show() should not put popover dialog in top layer: FAIL
    • dialog.showModal() should put popover dialog in top layer: FAIL
    • dialog.showPopover() should put popover dialog in top layer: FAIL
    • div.showPopover() should put popover div in top layer: FAIL
  • /html/semantics/popovers/popover-remove-attribute-during-focusing-steps.html [wpt.fyi]
    • Remove popover attribute during the popover focusing steps: FAIL
  • /html/semantics/popovers/popover-anchor-nested-display.tentative.html [wpt.fyi]: FAIL [Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], PASS [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]

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.