WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
33267
window.close() doesn't set focus to parent
https://bugs.webkit.org/show_bug.cgi?id=33267
Summary
window.close() doesn't set focus to parent
Tim McConnell
Reported
2010-01-06 12:40:42 PST
Created
attachment 45982
[details]
The first of two simple HTML files demonstrating the bug. When close a dialog window, e.g. launched from a input field button, the parent page does not receive focus if the dialog calls close() on itself. However, if the dialog calls focus() on the parent and then calls close(), the parent will have proper focus. This happens regardless of whether the parent had focus before the dialog launched. See the two attached files.
Attachments
The first of two simple HTML files demonstrating the bug.
(178 bytes, text/html)
2010-01-06 12:40 PST
,
Tim McConnell
no flags
Details
The second HTML file.
(356 bytes, text/html)
2010-01-06 12:41 PST
,
Tim McConnell
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tim McConnell
Comment 1
2010-01-06 12:41:19 PST
Created
attachment 45983
[details]
The second HTML file. Adding the companion HTML file.
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