Bug 66034: Undo work-around put in for this bug, the underlying bug was fixed a while ago. r=alecf, sr=ben.

This commit is contained in:
jaggernaut%netscape.com 2002-01-24 01:44:35 +00:00
parent e16ec57476
commit 2fc2b09bed
2 changed files with 4 additions and 6 deletions

View File

@ -323,9 +323,6 @@ function Startup()
window.browserContentListener =
new nsBrowserContentListener(window, getBrowser());
// XXXjag hack for directory.xul/js
_content.appCore = appCore;
// Initialize browser instance..
appCore.setWebShellWindow(window);
@ -343,10 +340,10 @@ function Startup()
var arrayArgComponents = window.arguments[1].split("=");
if (arrayArgComponents) {
//we should "inherit" the charset menu setting in a new window
appCore.setDefaultCharacterSet(arrayArgComponents[1]); //XXXjag see bug 67442
getMarkupDocumentViewer().defaultCharacterSet = arrayArgComponents[1];
}
} else if (window.arguments[1].indexOf("turbo=yes") != -1) {
turboMode = true;
turboMode = true;
}
}

View File

@ -66,7 +66,8 @@ function viewSource(url)
if (window.arguments[1].indexOf('charset=') != -1) {
var arrayArgComponents = window.arguments[1].split('=');
if (arrayArgComponents) {
appCore.setDefaultCharacterSet(arrayArgComponents[1]); //XXXjag see bug 67442
//we should "inherit" the charset menu setting in a new window
getMarkupDocumentViewer().defaultCharacterSet = arrayArgComponents[1];
}
}
}