[wpt-sync] Sync PR 52105 - Add connectedness/activity check for IsOpen for dialogs
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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 severalIsOpen()checks withIsOpenAndActive(), which
avoids a few crashes related toclosedby.Also see related spec issue:
https://github.com/whatwg/html/issues/11230
Fixed: 410878546,411623170
Change-Id: Ifc3d66b6a6632fe17acf0258f98bdb557724dc24Reviewed-on: https://chromium-review.googlesource.com/6476484
WPT-Export-Revision: 8a6ce09553b1d075e1208fcc389787ef40936ce7
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
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
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•