Bug 33267

Summary: window.close() doesn't set focus to parent
Product: WebKit Reporter: Tim McConnell <timmc>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
The first of two simple HTML files demonstrating the bug.
none
The second HTML file. none

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
The second HTML file. (356 bytes, text/html)
2010-01-06 12:41 PST, Tim McConnell
no flags
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.