зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1161021 patch 2 - Fix unbalanced start_test()/finished_test() calls. r=bzbarsky
This should fix the main failure mode in bug 1156451, which is results from the transition on #four (the last transition that completes) happening after SimpleTest.finish().
This commit is contained in:
Родитель
1f9e31c08c
Коммит
6fb9f72c75
|
@ -126,6 +126,7 @@ document.documentElement.addEventListener("transitionend",
|
|||
}
|
||||
is(event.propertyName, "color");
|
||||
is(event.isTrusted, true);
|
||||
finished_test();
|
||||
} else {
|
||||
if (!did_stops &&
|
||||
(event.target == $("five") || event.target == $("six"))) {
|
||||
|
@ -206,9 +207,12 @@ $("one").addEventListener("transitionend",
|
|||
started_test(); // color on #one
|
||||
started_test(); // border-top-color on #one
|
||||
started_test(); // border-right-color on #one
|
||||
started_test(); // border-right-color on #one (listener on root)
|
||||
started_test(); // border-bottom-color on #one
|
||||
started_test(); // border-left-color on #one
|
||||
started_test(); // -moz-column-rule-color on #one
|
||||
started_test(); // text-decoration-color on #one
|
||||
started_test(); // outline-color on #one
|
||||
$("one").style.color = "lime";
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче