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:
blakeross%telocity.com 2006-07-29 05:33:18 +00:00
parent c1e9547208
commit a301f7d717

View File

@ -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