mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 491883 - Clear Recent History removes pages (URIs) from history instead of visits (r=johnath)
This commit is contained in:
parent
cd3e1c9a96
commit
ba863495e0
@ -198,7 +198,7 @@ Sanitizer.prototype = {
|
||||
var globalHistory = Components.classes["@mozilla.org/browser/global-history;2"]
|
||||
.getService(Components.interfaces.nsIBrowserHistory);
|
||||
if (this.range)
|
||||
globalHistory.removePagesByTimeframe(this.range[0], this.range[1]);
|
||||
globalHistory.removeVisitsByTimeframe(this.range[0], this.range[1]);
|
||||
else
|
||||
globalHistory.removeAllPages();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user