Bug 868681 - Remove undefined reference to chromeWin in OfflineApps.js; r=mfinkle
authorGeoff Brown <gbrown@mozilla.com>
Sun, 05 May 2013 16:46:47 -0600
changeset 130906 61a824c4e12287a596a841a57db1a00b52f757bb
parent 130905 8ed0d31309bf2b83935db1fe655586f67bd23800
child 130907 cf94844ab83f2c3c2db68e76b3d42d718fb45174
push id27591
push usergbrown@mozilla.com
push dateSun, 05 May 2013 22:47:18 +0000
treeherdermozilla-inbound@61a824c4e122 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs868681
milestone23.0a1
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 868681 - Remove undefined reference to chromeWin in OfflineApps.js; r=mfinkle
mobile/android/chrome/content/OfflineApps.js
--- a/mobile/android/chrome/content/OfflineApps.js
+++ b/mobile/android/chrome/content/OfflineApps.js
@@ -37,17 +37,17 @@ var OfflineApps = {
     {
       label: strings.GetStringFromName("offlineApps.dontAllow2"),
       callback: function(aChecked) {
         if (aChecked)
           OfflineApps.disallowSite(aContentWindow.document);
       }
     }];
 
-    let requestor = chromeWin.BrowserApp.manifest ? "'" + chromeWin.BrowserApp.manifest.name + "'" : host;
+    let requestor = BrowserApp.manifest ? "'" + BrowserApp.manifest.name + "'" : host;
     let message = strings.formatStringFromName("offlineApps.ask", [requestor], 1);
     let options = { checkbox: Strings.browser.GetStringFromName("offlineApps.dontAskAgain") };
     NativeWindow.doorhanger.show(message, notificationID, buttons, tab.id, options);
   },
 
   allowSite: function(aDocument) {
     Services.perms.add(aDocument.documentURIObject, "offline-app", Services.perms.ALLOW_ACTION);