author | Myk Melez <myk@mozilla.org> |
Thu, 06 Feb 2014 10:48:27 -0800 | |
changeset 167267 | e7b7825f65dd537f0843d165660e95459020ea21 |
parent 167266 | 197880d71d9dbc4ad4e7d02bac7c452bc42e7672 |
child 167268 | 9bb6f487c55faf5e24f8823e9d88e753531233f7 |
push id | 39423 |
push user | myk@mozilla.com |
push date | Thu, 06 Feb 2014 18:49:17 +0000 |
treeherder | mozilla-inbound@e7b7825f65dd [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mfinkle |
bugs | 967218 |
milestone | 30.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
|
--- a/mobile/android/chrome/content/WebAppRT.js +++ b/mobile/android/chrome/content/WebAppRT.js @@ -62,17 +62,19 @@ let WebAppRT = { if (aManifest) { PermissionsInstaller.installPermissions(aApp, true); } }); } #ifdef MOZ_ANDROID_SYNTHAPKS // If the app is in debug mode, configure and enable the remote debugger. - if (sendMessageToJava({ type: "NativeApp:IsDebuggable" })) { + // sendMessageToJava can only return string values, so it returns the string + // "true" rather than boolean true if the app is in debug mode. + if (sendMessageToJava({ type: "NativeApp:IsDebuggable" }) === "true") { this._enableRemoteDebugger(aUrl); } #endif this.findManifestUrlFor(aUrl, aCallback); }, getManifestFor: function (aUrl, aCallback) {