Fix 60736: JS strict warnings in contentAreaUtils.js. patch by Henrik Gemal (gemal@gemal.dk). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205207 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
c1e9547208
commit
a301f7d717
@ -37,7 +37,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
function openNewWindowWith( url ) {
|
||||
function openNewWindowWith(url) {
|
||||
|
||||
// URL Loading Security Check
|
||||
const nsIStandardURL = Components.interfaces.nsIStandardURL;
|
||||
@ -66,7 +66,7 @@
|
||||
if (window && (wintype == "navigator:browser") &&
|
||||
window._content && window._content.document) {
|
||||
var DocCharset = window._content.document.characterSet;
|
||||
charsetArg = "charset="+DocCharset;
|
||||
var charsetArg = "charset="+DocCharset;
|
||||
dump("*** Current document charset: " + DocCharset + "\n");
|
||||
|
||||
//we should "inherit" the charset menu setting in a new window
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user