зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1266510: Also explicitly focus the second browser window after creation. r=me
MozReview-Commit-ID: 5G81rXCXnyg
This commit is contained in:
Родитель
ec3605bb15
Коммит
c60e149356
|
@ -84,6 +84,8 @@ add_task(function* testWindowsEvents() {
|
|||
let win2Id = yield extension.awaitMessage("window-created");
|
||||
info(`Window 2 ID: ${win2Id}`);
|
||||
|
||||
win2.focus();
|
||||
|
||||
winId = yield extension.awaitMessage(`window-focus-changed`);
|
||||
is(winId, win2Id, "Got focus change event for the correct window ID.");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче