Bug 981345 - Fix HelperApp callback regression. r=wesj
authorEugen Sawin <esawin@mozilla.com>
Mon, 10 Mar 2014 03:06:53 +0100
changeset 189999 086c209d637f6d19d30ee3ff5f75613db99fde47
parent 189998 170b1052afc5bcb8a02cdc9fc3f49aaa671866e1
child 190000 77bc8b1e43e7de4cb3668287802a71fca98c18a2
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [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);
         }