Revert "Transfer findbar data to torn-off tabs."

This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
This commit is contained in:
wolfbeast 2018-09-09 08:25:50 +02:00 committed by Roy Tam
commit 36bcd9863f

View file

@ -2303,17 +2303,6 @@
this._swapBrowserDocShells(aOurTab, otherBrowser);
}
// Handle findbar data (if any)
let otherFindBar = aOtherTab._findBar;
if (otherFindBar &&
otherFindBar.findMode == otherFindBar.FIND_NORMAL) {
let ourFindBar = this.getFindBar(aOurTab);
ourFindBar._findField.value = otherFindBar._findField.value;
if (!otherFindBar.hidden) {
ourFindBar.onFindCommand();
}
}
// Finish tearing down the tab that's going away.
remoteBrowser._endRemoveTab(aOtherTab);