зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
e7dde71e8c
Коммит
f8bca15ace
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче