зеркало из 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_localStorageQuotaPrivateBrowsing.html \
|
||||
$(NULL)
|
||||
else
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_localStorageBasePrivateBrowsing_perwindowpb.html \
|
||||
page_blank.html \
|
||||
test_localStorageQuotaPrivateBrowsing_perwindowpb.html \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
MOCHITEST_CHROME_FILES = \
|
||||
|
@ -69,12 +75,4 @@ MOCHITEST_CHROME_FILES = \
|
|||
frame_clear_browser_data.html \
|
||||
$(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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -171,6 +171,7 @@ function testOnWindow(aIsPrivate, aCallback) {
|
|||
return;
|
||||
}
|
||||
win.removeEventListener("DOMContentLoaded", onInnerLoad, true);
|
||||
win.gBrowser.selectedBrowser.focus();
|
||||
SimpleTest.executeSoon(function() { aCallback(win); });
|
||||
}, true);
|
||||
win.gBrowser.loadURI(CONTENT_PAGE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче