mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815398 - Settings: set navigator.mozSettings to null if we don't have read or write permission. r=bent
This commit is contained in:
parent
c3c04cb395
commit
34abca28c3
@ -342,6 +342,7 @@ SettingsManager.prototype = {
|
||||
|
||||
if (!this.hasReadPrivileges && !this.hasWritePrivileges) {
|
||||
Cu.reportError("NO SETTINGS PERMISSION FOR: " + aWindow.document.nodePrincipal.origin + "\n");
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user