зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1223368 - Followup: fix browser_inspector_search-01/06.js failures on a CLOSED TREE. r=me
This commit is contained in:
Родитель
c5c77834f5
Коммит
f6fb609705
|
@ -87,8 +87,8 @@ add_task(async function() {
|
|||
is(inspector.selection.nodeFront, nodeFront,
|
||||
"Correct node is selected for state " + index);
|
||||
|
||||
is(!searchBox.classList.contains("devtools-searchbox-no-match"), isValid,
|
||||
"Correct searchbox result state for state " + index);
|
||||
is(!searchBox.parentNode.classList.contains("devtools-searchbox-no-match"),
|
||||
isValid, "Correct searchbox result state for state " + index);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ async function synthesizeKeys(keys, inspector) {
|
|||
}
|
||||
|
||||
function assertHasResult(inspector, expectResult) {
|
||||
is(inspector.searchBox.classList.contains("devtools-style-searchbox-no-match"),
|
||||
is(inspector.searchBox.parentNode.classList.contains("devtools-searchbox-no-match"),
|
||||
!expectResult,
|
||||
"There are" + (expectResult ? "" : " no") + " search results");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче