зеркало из https://github.com/mozilla/gecko-dev.git
Bug 826964 - Attempt to fix the intermittent orange by focusing the current browser; r=ehsan
This commit is contained in:
Родитель
3b272eba76
Коммит
ecad037cae
|
@ -60,6 +60,12 @@ MOCHITEST_FILES += \
|
||||||
test_localStorageBasePrivateBrowsing.html \
|
test_localStorageBasePrivateBrowsing.html \
|
||||||
test_localStorageQuotaPrivateBrowsing.html \
|
test_localStorageQuotaPrivateBrowsing.html \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
else
|
||||||
|
MOCHITEST_CHROME_FILES += \
|
||||||
|
test_localStorageBasePrivateBrowsing_perwindowpb.html \
|
||||||
|
page_blank.html \
|
||||||
|
test_localStorageQuotaPrivateBrowsing_perwindowpb.html \
|
||||||
|
$(NULL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MOCHITEST_CHROME_FILES = \
|
MOCHITEST_CHROME_FILES = \
|
||||||
|
@ -69,12 +75,4 @@ MOCHITEST_CHROME_FILES = \
|
||||||
frame_clear_browser_data.html \
|
frame_clear_browser_data.html \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifdef MOZ_PER_WINDOW_PRIVATE_BROWSING
|
|
||||||
MOCHITEST_CHROME_FILES += \
|
|
||||||
test_localStorageBasePrivateBrowsing_perwindowpb.html \
|
|
||||||
page_blank.html \
|
|
||||||
test_localStorageQuotaPrivateBrowsing_perwindowpb.html \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
|
@ -171,6 +171,7 @@ function testOnWindow(aIsPrivate, aCallback) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
|
win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
|
||||||
|
win.gBrowser.selectedBrowser.focus();
|
||||||
SimpleTest.executeSoon(function() { aCallback(win); });
|
SimpleTest.executeSoon(function() { aCallback(win); });
|
||||||
}, true);
|
}, true);
|
||||||
win.gBrowser.loadURI(CONTENT_PAGE);
|
win.gBrowser.loadURI(CONTENT_PAGE);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче