Bug 572276 - Fix contract-id for the web-install-prompt [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Tue, 15 Jun 2010 23:36:51 -0400
changeset 66289 c63ddcf2ddd790522a962d9a3e1b50d7e4e64986
parent 66288 a7214dfb3d07022d2b981f8bc464a07dbf50b8c1
child 66290 0a8d6549cd4488575433f0b65e0fdb41d30a87bd
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs572276
Bug 572276 - Fix contract-id for the web-install-prompt [r=mbrubeck]
mobile/components/XPIDialogService.js
--- a/mobile/components/XPIDialogService.js
+++ b/mobile/components/XPIDialogService.js
@@ -42,17 +42,17 @@ Components.utils.import("resource://gre/
 // -----------------------------------------------------------------------
 // Web Install Prompt service
 // -----------------------------------------------------------------------
 
 function WebInstallPrompt() { }
 
 WebInstallPrompt.prototype = {
   classDescription: "XPInstall Dialog Service",
-  contractID: "@mozilla.org/addons/web-install-confirm;1",
+  contractID: "@mozilla.org/addons/web-install-prompt;1",
   classID: Components.ID("{c1242012-27d8-477e-a0f1-0b098ffc329b}"),
   QueryInterface: XPCOMUtils.generateQI([Ci.amIWebInstallPrompt]),
 
   confirm: function(aWindow, aURL, aInstalls) {
     // first check if the extensions panel is open : fast path to return true
     let wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
     let browser = wm.getMostRecentWindow("navigator:browser");
     if (browser.ExtensionsView.visible) {