зеркало из https://github.com/mozilla/pjs.git
Bug 347231: "Clear Private Data" doesn't always clear Error Console even though configured to clear history, patch by Michael Wu <michael.wu@mozilla.com>, r=mconnor
This commit is contained in:
Родитель
828204b795
Коммит
1028379766
|
@ -142,9 +142,9 @@ Sanitizer.prototype = {
|
|||
|
||||
get canClear()
|
||||
{
|
||||
var globalHistory = Components.classes["@mozilla.org/browser/global-history;2"]
|
||||
.getService(Components.interfaces.nsIBrowserHistory);
|
||||
return globalHistory.count != 0;
|
||||
// bug 347231: Always allow clearing history due to dependencies on
|
||||
// the browser:purge-session-history notification. (like error console)
|
||||
return true;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче