Bug 398894 - "[linux] Firefox prints sanitizing history exception from sanitize.js to console" [p=sylvain.pasche@gmail.com (Sylvain Pasche) r=gavin a=blocking-firefox3+]
git-svn-id: svn://10.0.0.236/trunk@237515 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -140,7 +140,10 @@ Sanitizer.prototype = {
|
||||
// Clear last URL of the Open Web Location dialog
|
||||
var prefs = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefBranch2);
|
||||
prefs.clearUserPref("general.open_location.last_url");
|
||||
try {
|
||||
prefs.clearUserPref("general.open_location.last_url");
|
||||
}
|
||||
catch (e) { }
|
||||
},
|
||||
|
||||
get canClear()
|
||||
|
||||
Reference in New Issue
Block a user