Closed Bug 1793650 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36259 - Fix a crash in NearestOpenAncestralPopup for dialogs

Categories

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

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Fix a crash in NearestOpenAncestralPopup for dialogs

It was possible to have a \<dialog popup> that was visible (via
.showModal) and that was therefore incorrectly detected as a newly-
shown pop-up. This CL changes the logic to explicitly pass in whether
the pop-up is a new one.

Bug: 1307772
Change-Id: I4026b68fb92621ed23771214ba23db1f7c39d722
Reviewed-on: https://chromium-review.googlesource.com/3933891
WPT-Export-Revision: 2be70bd268284d7229f61fb80f8d25ef3d7a443f

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a838e498baa9 [wpt PR 36259] - Fix a crash in NearestOpenAncestralPopup for dialogs, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.