Skip to content
Snippets Groups Projects
Commit 3272de5d authored by Olli Pettay's avatar Olli Pettay
Browse files

Bug 451664, improve the test for bug 435425

parent 88784c4e
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment