mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Renable testcase for Bug 427559 - Gmail keyboard commands don't work after switching tabs without reclicking the page
This commit is contained in:
parent
10ee622678
commit
7038b717c0
@ -50,7 +50,6 @@ _TEST_FILES = test_feed_discovery.html \
|
||||
$(NULL)
|
||||
|
||||
# browser_bug423833.js disabled temporarily since it's unreliable
|
||||
# browser_bug427559.js disabled temporarily..
|
||||
_BROWSER_FILES = browser_bug321000.js \
|
||||
browser_bug405137.js \
|
||||
browser_bug409481.js \
|
||||
@ -59,6 +58,7 @@ _BROWSER_FILES = browser_bug321000.js \
|
||||
autodiscovery.html \
|
||||
moz.png \
|
||||
browser_getshortcutoruri.js \
|
||||
browser_bug427559.js \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(_TEST_FILES)
|
||||
|
@ -51,7 +51,8 @@ function test() {
|
||||
gBrowser.selectedTab = testTab;
|
||||
let testBrowser = gBrowser.getBrowserForTab(testTab);
|
||||
|
||||
testBrowser.addEventListener("load", function() {
|
||||
// Do stuff just after the page loads, so the page script can do its stuff
|
||||
testBrowser.addEventListener("load", function() setTimeout(function() {
|
||||
// The test page loaded, so open an empty tab, select it, then restore
|
||||
// the test tab. This causes the test page's focused element to be removed
|
||||
// from its document.
|
||||
@ -65,7 +66,7 @@ function test() {
|
||||
"content window is focused");
|
||||
gBrowser.removeCurrentTab();
|
||||
finish();
|
||||
}, true);
|
||||
}, 0), true);
|
||||
|
||||
// Start the test by loading the test page
|
||||
testBrowser.contentWindow.location = testPage;
|
||||
|
Loading…
Reference in New Issue
Block a user