зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1371781 - Fix eslint issues in test. r=me
This commit is contained in:
Родитель
3f444dd59f
Коммит
999113c2a7
|
@ -18,15 +18,17 @@ async function runTests(browser, accDoc) {
|
|||
testChildrenIds(select.firstChild, ["a"]);
|
||||
|
||||
let onReorders = waitForEvents([
|
||||
[EVENT_REORDER, "div"],
|
||||
[EVENT_REORDER,
|
||||
evt => getAccessibleDOMNodeID(evt.accessible.parent) == "select"]
|
||||
[EVENT_REORDER, "div"],
|
||||
[EVENT_REORDER,
|
||||
evt => getAccessibleDOMNodeID(evt.accessible.parent) == "select"]
|
||||
]);
|
||||
|
||||
await ContentTask.spawn(browser, null, async function() {
|
||||
document.getElementById("div").removeAttribute("aria-owns");
|
||||
});
|
||||
|
||||
await onReorders;
|
||||
|
||||
testChildrenIds(div, []);
|
||||
testChildrenIds(select.firstChild, ["a", "b"]);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче