mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset ef81c79f6266 (bug 1249439)
This commit is contained in:
parent
6167684c4b
commit
78e28b195f
@ -844,7 +844,7 @@
|
||||
if (this.docShell && this.webNavigation.sessionHistory) {
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
os.addObserver(this, "browser:purge-session-history", true);
|
||||
os.addObserver(this, "browser:purge-session-history", false);
|
||||
|
||||
// enable global history if we weren't told otherwise
|
||||
if (!this.hasAttribute("disableglobalhistory") && !this.isRemoteBrowser) {
|
||||
|
@ -364,7 +364,7 @@
|
||||
}
|
||||
|
||||
if (!this.hasAttribute("disablehistory")) {
|
||||
Services.obs.addObserver(this, "browser:purge-session-history", true)
|
||||
Services.obs.addObserver(this, "browser:purge-session-history", false)
|
||||
}
|
||||
|
||||
let jsm = "resource://gre/modules/RemoteController.jsm";
|
||||
|
Loading…
Reference in New Issue
Block a user