mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
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:
parent
3a6ba124bf
commit
f25876d3d6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user