mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Backed out changeset ef81c79f6266 (bug 1249439
)
This commit is contained in:
parent
26b2647326
commit
9953166abf
@ -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