Ctrl-W causes shutdown to be called on Linux when child window is closed

RESOLVED FIXED

Status

Mozilla Labs
Prism
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: Matthew Gertner, Assigned: Matthew Gertner)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
On Linux, when Ctrl-W is pressed to close a child window (e.g. popup opened by the main window), the shutdown function is called. This should only be called when the main window is called. The same problem probably occurs on other platform (e.g. Cmd-W on Mac to close a child window).
(Assignee)

Comment 1

7 years ago
Created attachment 475857 [details] [diff] [review]
Check whether main window before calling handleWindowClose
Attachment #475857 - Flags: review?(mark.finkle)
Attachment #475857 - Flags: review?(mark.finkle) → review+
(Assignee)

Comment 2

7 years ago
Sending        chrome/content/webrunner.js
Transmitting file data .
Committed revision 75206.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.