mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1032128 - Receive extended authResult from Gaia. r=janx
This commit is contained in:
parent
fbdc2f4a4b
commit
70f822715a
@ -59,7 +59,11 @@ let RemoteDebugger = {
|
||||
this._handleAllowResult = detail => {
|
||||
this._handleAllowResult = null;
|
||||
this._promptingForAllow = null;
|
||||
if (detail.value) {
|
||||
// Newer Gaia supplies |authResult|, which is one of the
|
||||
// AuthenticationResult values.
|
||||
if (detail.authResult) {
|
||||
resolve(detail.authResult);
|
||||
} else if (detail.value) {
|
||||
resolve(DebuggerServer.AuthenticationResult.ALLOW);
|
||||
} else {
|
||||
resolve(DebuggerServer.AuthenticationResult.DENY);
|
||||
|
Loading…
Reference in New Issue
Block a user