Remove obsolete comment

This commit is contained in:
YUKI Hiroshi 2016-09-05 17:09:11 +09:00
parent 3daff1ec87
commit 24388b2a02

View File

@ -118,11 +118,6 @@ var TreeStyleTabWindowHelper = {
this.overrideExtensionsBeforeBrowserInit(); // windowHelperHacks.js this.overrideExtensionsBeforeBrowserInit(); // windowHelperHacks.js
this.overrideGlobalFunctions(); this.overrideGlobalFunctions();
// Replacing of gBrowserInit._delayedStartup() with eval()
// breaks the variable scope of the function and break its
// functionality completely.
// Instead, I change the behavior of the method only at the
// startup process.
gBrowser.__treestyletab__swapBrowsersAndCloseOther = gBrowser.swapBrowsersAndCloseOther; gBrowser.__treestyletab__swapBrowsersAndCloseOther = gBrowser.swapBrowsersAndCloseOther;
gBrowser.swapBrowsersAndCloseOther = function(aOurTab, aRemoteTab, ...aArgs) { gBrowser.swapBrowsersAndCloseOther = function(aOurTab, aRemoteTab, ...aArgs) {
if (TreeStyleTabWindowHelper.runningDelayedStartup && if (TreeStyleTabWindowHelper.runningDelayedStartup &&