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
git-svn-id: svn://10.0.0.236/trunk@237155 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ab5bf95636
commit
2aa5904b56
@ -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;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user