зеркало из https://github.com/mozilla/pjs.git
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+]
This commit is contained in:
Родитель
cd2173de62
Коммит
b97f68afa6
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче