Closed Bug 1962004 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 52105 - Add connectedness/activity check for IsOpen for dialogs

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Add connectedness/activity check for IsOpen for dialogs

Many such checks of IsOpen() implicitly should have also checked
that the dialog was connected to an active document. This CL
replaces several IsOpen() checks with IsOpenAndActive(), which
avoids a few crashes related to closedby.

Also see related spec issue:

https://github.com/whatwg/html/issues/11230

Fixed: 410878546,411623170
Change-Id: Ifc3d66b6a6632fe17acf0258f98bdb557724dc24

Reviewed-on: https://chromium-review.googlesource.com/6476484
WPT-Export-Revision: 8a6ce09553b1d075e1208fcc389787ef40936ce7

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 12 subtests

Status Summary

Firefox

OK : 1
PASS: 12

Chrome

OK : 1
PASS: 12

Safari

OK : 1
PASS: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by smolnar@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/4178b02215b4 [wpt PR 52105] - Add connectedness/activity check for IsOpen for dialogs, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.