mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1179161 - originAttributes does not have such isInBrowser member (follow-up bug 1171915). r=ferjm
This commit is contained in:
parent
da8ddddc60
commit
69e941f4df
@ -149,7 +149,7 @@ this.AboutServiceWorkers = {
|
||||
!message.principal.origin ||
|
||||
!message.principal.originAttributes ||
|
||||
!message.principal.originAttributes.appId ||
|
||||
!message.principal.originAttributes.isInBrowser) {
|
||||
(message.principal.originAttributes.inBrowser == null)) {
|
||||
self.sendError(message.id, "MissingPrincipal");
|
||||
return;
|
||||
}
|
||||
@ -157,7 +157,7 @@ this.AboutServiceWorkers = {
|
||||
let principal = Services.scriptSecurityManager.getAppCodebasePrincipal(
|
||||
Services.io.newURI(message.principal.origin, null, null),
|
||||
message.principal.originAttributes.appId,
|
||||
message.principal.originAttributes.isInBrowser
|
||||
message.principal.originAttributes.inBrowser
|
||||
);
|
||||
|
||||
if (!message.scope) {
|
||||
|
Loading…
Reference in New Issue
Block a user