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 130937 61a824c4e12287a596a841a57db1a00b52f757bb
parent 130936 8ed0d31309bf2b83935db1fe655586f67bd23800
child 130938 cf94844ab83f2c3c2db68e76b3d42d718fb45174
push id24641
push userryanvm@gmail.com
push dateMon, 06 May 2013 17:52:49 +0000
treeherdermozilla-central@b842d26dd5f0 [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);