зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1210725 - Set proper audience in SyncManager.getAssertion. r=michielbdjong
This commit is contained in:
Родитель
e91d5a31b6
Коммит
dccbcb2b7f
|
@ -101,7 +101,7 @@ this.FxAccountsMgmtService = {
|
|||
switch(data.method) {
|
||||
case "getAssertion":
|
||||
let principal = Services.scriptSecurityManager.getSystemPrincipal();
|
||||
let audience = msg.audience || principal.originNoSuffix;
|
||||
let audience = data.audience || principal.originNoSuffix;
|
||||
FxAccountsManager.getAssertion(audience, principal, {
|
||||
silent: msg.silent || false
|
||||
}).then(result => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче