Bug 618250 - Broken instanceof check in test_bug435425.html. r=sicking

This commit is contained in:
Dão Gottwald 2010-12-14 02:42:12 +01:00
parent 99bca499a0
commit 033b7bf086

View File

@ -30,7 +30,7 @@ function logEvent(evt) {
while ((currentEvents.length != i) &&
currentEvents[i].optional &&
((currentEvents[i].type != evt.type) ||
(!evt.target instanceof currentEvents[i].target))) {
!(evt.target instanceof currentEvents[i].target))) {
++i;
}
ok(i != currentEvents.length, "Extra or wrong event?");