WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
311746
requestClose() on a disconnected dialog removes open attribute
https://bugs.webkit.org/show_bug.cgi?id=311746
Summary
requestClose() on a disconnected dialog removes open attribute
Luke Warlow
Reported
2026-04-08 12:02:33 PDT
Per the spec requestClose() should early return if the dialog it's called on is disconnected, or it's document is inactive. `data:text/html,<script>const dialog = document.createElement('dialog'); dialog.setAttribute('open', ''); dialog.requestClose(); alert(dialog.open);</script>` This should alert with true like in Chromium and Firefox.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-15 12:03:12 PDT
<
rdar://problem/174855725
>
Luke Warlow
Comment 2
2026-05-14 02:12:27 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64919
EWS
Comment 3
2026-05-14 09:12:50 PDT
Committed
313251@main
(c7342e9519e4): <
https://commits.webkit.org/313251@main
> Reviewed commits have been landed. Closing PR #64919 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug