mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 967218 - interpret result of NativeApp:IsDebuggable as string; r=mfinkle
This commit is contained in:
parent
5b1bc70d7a
commit
f0b78cf41b
@ -67,7 +67,9 @@ let WebAppRT = {
|
||||
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user