reverting the part of rev 1.198 that causes a 100% reproducible, impossible to miss crash every time a browser window is closed, and seems to do nothing else. bug 47491

This commit is contained in:
danm%netscape.com 2006-09-14 05:52:29 +00:00
parent 3a6ba124bf
commit f25876d3d6

View File

@ -64,8 +64,6 @@ catch (ex)
var backButton = null;
var forwardButton = null;
var webNavigation = null;
var useRealProgressFlag = false;
var totalRequests = 0;
var finishedRequests = 0;
@ -429,14 +427,6 @@ function Startup()
contentArea.addEventListener("load",postURLToNativeWidget, true);
}
// Get the content area docshell
var docShell = { value : null };
var result = appCore.getContentDocShell(docShell);
if (docShell.value) {
//Get the session history component from docshell
webNavigation = docShell.value.QueryInterface(Components.interfaces.nsIWebNavigation);
}
dump("*** Pulling out the charset\n");
if ( window.arguments && window.arguments[1] ) {
if (window.arguments[1].indexOf('charset=') != -1) {