Bug 1490257 - Add principal to JS code for passing explicit triggeringPrincipals. r=ckerschb
Depends on D10882 Differential Revision: https://phabricator.services.mozilla.com/D10883
This commit is contained in:
@@ -136,7 +136,9 @@ RemoteWebNavigation.prototype = {
|
||||
return this._currentURI;
|
||||
},
|
||||
set currentURI(aURI) {
|
||||
this.loadURI(aURI.spec, null, null, null);
|
||||
// Bug 1498600 verify usages of systemPrincipal here
|
||||
let systemPrincipal = Services.scriptSecurityManager.getSystemPrincipal();
|
||||
this.loadURI(aURI.spec, null, null, null, systemPrincipal);
|
||||
},
|
||||
|
||||
referringURI: null,
|
||||
|
||||
Reference in New Issue
Block a user