Closed Bug 1766066 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33760 - Fullscreen elements should close popups

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Fullscreen elements should close popups

With this CL, when an element goes fullscreen, it will close any
non-ancestral popups that are open.

This CL also adds a test of the interactions between three types of
top-layer elements:

  • popup
  • modal dialog
  • fullscreen

Bug: 1307772
Change-Id: I0384d5e333d63e0fa5ee92b15f32a46d8bb26e4a
Reviewed-on: https://chromium-review.googlesource.com/3601350
WPT-Export-Revision: 2f01a06befa0475ff10a860fbe5d80ed906434c9

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

CI Results

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

Total 1 tests and 9 subtests

Status Summary

Firefox

OK : 1
PASS: 3
FAIL: 6

Chrome

OK : 1
PASS: 8
FAIL: 1

Safari

OK : 1
PASS: 1
FAIL: 8

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/popups/popup-top-layer-interactions.tentative.html [wpt.fyi]
    • A Popup API should close a Popup API: FAIL (Chrome: PASS, Safari: FAIL)
    • A Modal Dialog should close a Popup API: FAIL (Chrome: PASS, Safari: FAIL)
    • A Fullscreen Element should close a Popup API: FAIL (Chrome: FAIL, Safari: FAIL)
    • A Popup API should not close a Modal Dialog: FAIL (Chrome: PASS, Safari: FAIL)
    • A Popup API should not close a Fullscreen Element: FAIL (Chrome: PASS, Safari: FAIL)
    • A Fullscreen Element should close a Fullscreen Element: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e7e6e000e740
[wpt PR 33760] - Fullscreen elements should close popups, a=testonly
https://hg.mozilla.org/integration/autoland/rev/71002aa187d0
[wpt PR 33760] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.