From 63ac2a6f13981affb13b1d57d660b302f70ab4fe Mon Sep 17 00:00:00 2001 From: "bent.mozilla@gmail.com" Date: Fri, 11 Apr 2008 10:27:08 -0700 Subject: [PATCH] Bug 428362 - "Unhandled exception in SanitizeListener constructor". r=gavin, a=beltzner. --- browser/base/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index db0aa969ba3..5df7939ddc9 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1271,7 +1271,7 @@ function SanitizeListener() gPrefService.clearUserPref(this.didSanitizeDomain); // We need to persist this preference change, since we want to // check it at next app start even if the browser exits abruptly - gPrefService.savePrefFile(null); + gPrefService.QueryInterface(Ci.nsIPrefService).savePrefFile(null); } }