Bug 620615: Actually make sure we shut down the prompt. r=dolske a=b
☠☠ backed out by 011c2aff519b ☠ ☠
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Mon, 31 Jan 2011 20:02:40 -0500
changeset 61672 10c381463850b3970d9032bcd493bad6c16a9691
parent 61671 d94a56d7812335f29492a373a4e843865c2f9909
child 61673 9b9a2799483964a543d4851959c1e2c560078cf7
child 61675 011c2aff519bacba7c64652fa7d23ff245e068e7
push id18444
push userkhuey@kylehuey.com
push dateTue, 01 Feb 2011 01:04:12 +0000
treeherdermozilla-central@10c381463850 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske, b
bugs620615
milestone2.0b11pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 620615: Actually make sure we shut down the prompt. r=dolske a=b
toolkit/components/prompts/content/tabprompts.xml
--- a/toolkit/components/prompts/content/tabprompts.xml
+++ b/toolkit/components/prompts/content/tabprompts.xml
@@ -110,16 +110,17 @@
             // Anonymous wrapper used here because |Dialog| doesn't exist until init() is called!
             this.ui.checkbox.addEventListener("command", function() { self.Dialog.onCheckbox(); } , false);
             this.isLive = false;
         ]]>
         </constructor>
         <destructor>
         <![CDATA[
             if (this.isLive) {
+                this.Dialog.abortPrompt();
                 this.shutdownPrompt();
             }
         ]]>  
         </destructor>
 
         <field name="ui"/>
         <field name="args"/>
         <field name="linkedTab"/>