Bug 981345 - Fix HelperApp callback regression. r=wesj
authorEugen Sawin <esawin@mozilla.com>
Mon, 10 Mar 2014 03:06:53 +0100
changeset 191024 086c209d637f6d19d30ee3ff5f75613db99fde47
parent 191023 170b1052afc5bcb8a02cdc9fc3f49aaa671866e1
child 191025 77bc8b1e43e7de4cb3668287802a71fca98c18a2
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswesj
bugs981345
milestone30.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 981345 - Fix HelperApp callback regression. r=wesj
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -7948,17 +7948,17 @@ var ExternalApps = {
         if (apps.length > 1) {
           // Use the HelperApps prompt here to filter out any Http handlers
           HelperApps.prompt(apps, {
             title: Strings.browser.GetStringFromName("openInApp.pageAction"),
             buttons: [
               Strings.browser.GetStringFromName("openInApp.ok"),
               Strings.browser.GetStringFromName("openInApp.cancel")
             ]
-          }, function(result) {
+          }, (result) => {
             if (result.button != 0) {
               return;
             }
             apps[result.icongrid0].launch(this._pageActionUri);
           });
         } else {
           apps[0].launch(this._pageActionUri);
         }