mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
Bug 1111788 - Part 1 - include timestamps for "browser:purge-session-history" notification. r=gavin.
This commit is contained in:
parent
fbcd77f84d
commit
4dd9718845
@ -249,7 +249,8 @@ Sanitizer.prototype = {
|
||||
try {
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
os.notifyObservers(null, "browser:purge-session-history", "");
|
||||
let clearStartingTime = this.range ? String(this.range[0]) : "";
|
||||
os.notifyObservers(null, "browser:purge-session-history", clearStartingTime);
|
||||
}
|
||||
catch (e) { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user