mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1111788 - Part 1 - include timestamps for "browser:purge-session-history" notification. r=gavin.
This commit is contained in:
parent
a0bdf412b7
commit
6e1b040e3a
@ -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