зеркало из https://github.com/mozilla/pjs.git
Bug 451664, improve the test for bug 435425
This commit is contained in:
Родитель
3125bdc1ef
Коммит
680109aea6
|
@ -35,7 +35,8 @@ function logEvent(evt) {
|
|||
}
|
||||
ok(i != currentEvents.length, "Extra or wrong event?");
|
||||
is(evt.type, currentEvents[i].type, "Wrong event!")
|
||||
ok(evt.target instanceof currentEvents[i].target, "Wrong event target [" + evt.type + "]!");
|
||||
ok(evt.target instanceof currentEvents[i].target,
|
||||
"Wrong event target [" + evt.target + "," + evt.type + "]!");
|
||||
// If we handled non-optional event, remove all optional events before the
|
||||
// handled event and then the non-optional event from the list.
|
||||
if (!currentEvents[i].optional) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче