We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c145359 commit 0846d6fCopy full SHA for 0846d6f
common/content/browser.js
@@ -43,7 +43,7 @@ const Browser = Module("browser", {
43
// Stolen from browser.jar/content/browser/browser.js, more or less.
44
try {
45
config.browser.docShell.QueryInterface(Ci.nsIDocCharset).charset = val;
46
- if (PlacesUtils.history.setCharsetForURI !== undefined)
+ if (PlacesUtils.history.setCharsetForURI)
47
PlacesUtils.history.setCharsetForURI(getWebNavigation().currentURI, val);
48
else
49
PlacesUtils.setCharsetForURI(getWebNavigation().currentURI, val);
0 commit comments