зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1102018 - Fix and enable browser_bug481560.js for e10s. r=gijs
This commit is contained in:
Родитель
e8d6be26c1
Коммит
0f541d7b81
|
@ -179,7 +179,6 @@ skip-if = e10s # Bug 1093206 - need to re-enable tests relying on swapFrameLoade
|
|||
[browser_bug479408.js]
|
||||
skip-if = buildapp == 'mulet'
|
||||
[browser_bug481560.js]
|
||||
skip-if = e10s # Bug 1102018 - This bug attaches an event listener directly to the content, which then never gets called.
|
||||
[browser_bug484315.js]
|
||||
skip-if = e10s
|
||||
[browser_bug491431.js]
|
||||
|
|
|
@ -1,14 +1,8 @@
|
|||
function test() {
|
||||
waitForExplicitFinish();
|
||||
|
||||
var win = openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no");
|
||||
|
||||
win.addEventListener("load", function () {
|
||||
win.removeEventListener("load", arguments.callee, false);
|
||||
|
||||
win.content.addEventListener("focus", function () {
|
||||
win.content.removeEventListener("focus", arguments.callee, false);
|
||||
|
||||
whenNewWindowLoaded(null, function (win) {
|
||||
waitForFocus(function () {
|
||||
function onTabClose() {
|
||||
ok(false, "shouldn't have gotten the TabClose event for the last tab");
|
||||
}
|
||||
|
@ -22,6 +16,6 @@ function test() {
|
|||
tab.removeEventListener("TabClose", onTabClose, false);
|
||||
|
||||
finish();
|
||||
}, false);
|
||||
}, false);
|
||||
}, win);
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче