зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
85c3c7ec99
Коммит
a2f6ff6ca7
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче