Bug 593437 - [Regression] prompts from web content are broken [r=stechz]
authorMark Finkle <mfinkle@mozilla.com>
Fri, 03 Sep 2010 15:04:03 -0400
changeset 1887 e5dd45f73df53e7607028fb09e72176dd59820c4
parent 1886 d5335811c209b64fd7d470b2908f17e489720bca
child 1888 e99b086633096dbd93d98b4e50073aa5008ce32e
push id1668
push usermfinkle@mozilla.com
push dateFri, 03 Sep 2010 19:02:21 +0000
reviewersstechz
bugs593437
Bug 593437 - [Regression] prompts from web content are broken [r=stechz]
chrome/content/bindings/browser.xml
--- a/chrome/content/bindings/browser.xml
+++ b/chrome/content/bindings/browser.xml
@@ -391,17 +391,17 @@
 
           // Listen for first load for lazy attachment to form fill controller
           this.messageManager.addMessageListener("pageshow", this);
           this.messageManager.addMessageListener("pagehide", this);
           this.messageManager.addMessageListener("DOMPopupBlocked", this);
 
           // Prompt remoting
           ["Alert", "Confirm", "Prompt"].forEach(function(name) {
-            this.messageManager.addMessageListener("Prompt:Alert" + name, this);
+            this.messageManager.addMessageListener("Prompt:" + name, this);
           }, this);
 
           this._webProgress._init();
         ]]>
       </constructor>
 
     </implementation>