Open Bug 958792 Opened 11 years ago Updated 8 months ago

Empty dialog becomes zombie compartment after window.open

Categories

(Firefox :: Tabbed Browser, defect)

26 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: matrix.org, Unassigned)

Details

Attachments

(1 obsolete file)

When the following dialog is opened with `window.open` or `window.openDialog` then closed. It's compartment remains alive. <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" > <script type="text/javascript"></script> </dialog> Opened like: window.open("chrome://autosizer/content/test.xul", "test", "chrome") window.openDialog("chrome://autosizer/content/test.xul", "test", "chrome") However, if it's opened in a browser tab it doesn't hang around when closed. The script element is necessary although it also works with an external (possibly empty) script.
Component: General → Tabbed Browser
Severity: normal → S3
Attachment #9382897 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: