Bug 1111788 - Part 1 - include timestamps for "browser:purge-session-history" notification. r=gavin.

This commit is contained in:
JW Wang 2015-01-08 18:50:00 +01:00
parent a0bdf412b7
commit 6e1b040e3a

View File

@ -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) { }