mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1155348, e10s, rewrite and reenable browser_bug565575, r=felipe
This commit is contained in:
parent
3669ae6d31
commit
6155b56fc5
@ -215,7 +215,6 @@ skip-if = e10s # Bug 1093373 - relies on browser.sessionHistory
|
||||
[browser_bug562649.js]
|
||||
[browser_bug563588.js]
|
||||
[browser_bug565575.js]
|
||||
skip-if = e10s
|
||||
[browser_bug565667.js]
|
||||
skip-if = toolkit != "cocoa"
|
||||
[browser_bug567306.js]
|
||||
|
@ -1,13 +1,14 @@
|
||||
function test() {
|
||||
add_task(function* () {
|
||||
gBrowser.selectedBrowser.focus();
|
||||
BrowserOpenTab();
|
||||
|
||||
yield BrowserTestUtils.openNewForegroundTab(gBrowser, () => BrowserOpenTab(), false);
|
||||
ok(gURLBar.focused, "location bar is focused for a new tab");
|
||||
|
||||
gBrowser.selectedTab = gBrowser.tabs[0];
|
||||
yield BrowserTestUtils.switchTab(gBrowser, gBrowser.tabs[0]);
|
||||
ok(!gURLBar.focused, "location bar isn't focused for the previously selected tab");
|
||||
|
||||
gBrowser.selectedTab = gBrowser.tabs[1];
|
||||
yield BrowserTestUtils.switchTab(gBrowser, gBrowser.tabs[1]);
|
||||
ok(gURLBar.focused, "location bar is re-focused when selecting the new tab");
|
||||
|
||||
gBrowser.removeCurrentTab();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user