зеркало из 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:
Родитель
6c787e2611
Коммит
08e7bd3e3a
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче