mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 593378. browser_bug559991.js needs to restore original functions before closing tab, and browser_autofocus_background.js shouldn't close all tabs which would close the test window. r=mounir rs=gavin a=blocking-beta6
This commit is contained in:
parent
2582d73897
commit
2f04ed9a59
@ -43,9 +43,9 @@ function test() {
|
||||
// -------------
|
||||
// Test clean-up
|
||||
function endTest() {
|
||||
gBrowser.removeTab(tab);
|
||||
FullZoom._applyPrefToSetting = oldAPTS;
|
||||
FullZoom.onLocationChange = oldOLC;
|
||||
gBrowser.removeTab(tab);
|
||||
|
||||
oldAPTS = null;
|
||||
oldOLC = null;
|
||||
|
@ -46,7 +46,7 @@ include $(topsrcdir)/config/rules.mk
|
||||
|
||||
_BROWSER_FILES = \
|
||||
browser_focus_steal_from_chrome.js \
|
||||
$(warning browser_autofocus_background.js temporarily disabled, see bug 593378) \
|
||||
browser_autofocus_background.js \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(_BROWSER_FILES)
|
||||
|
@ -45,7 +45,7 @@ function test() {
|
||||
}
|
||||
|
||||
// Cleaning up.
|
||||
for (let i = 0; i < tabs.length; i++) {
|
||||
for (let i = 1; i < tabs.length; i++) {
|
||||
gBrowser.removeTab(tabs[i]);
|
||||
}
|
||||
finish();
|
||||
|
Loading…
Reference in New Issue
Block a user