Bug 916038 - Remove XULBrowserWindow.destroy. r=gavin
This commit is contained in:
@@ -1435,7 +1435,6 @@ var gBrowserInit = {
|
||||
}
|
||||
|
||||
// Final window teardown, do this last.
|
||||
window.XULBrowserWindow.destroy();
|
||||
window.XULBrowserWindow = null;
|
||||
window.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIWebNavigation)
|
||||
@@ -3690,14 +3689,6 @@ var XULBrowserWindow = {
|
||||
this.onSecurityChange(null, null, securityUI.state);
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
// XXXjag to avoid leaks :-/, see bug 60729
|
||||
delete this.throbberElement;
|
||||
delete this.stopCommand;
|
||||
delete this.reloadCommand;
|
||||
delete this.statusText;
|
||||
},
|
||||
|
||||
setJSStatus: function () {
|
||||
// unsupported
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user