Skip to content

Commit

Permalink
expand tests to test in reverse direction
Browse files Browse the repository at this point in the history
  • Loading branch information
kritisingh1 committed Mar 25, 2018
1 parent d04a8fc commit 225a1cb
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -21,6 +21,13 @@
}, handler);
});

handlers.forEach(function(handler) {
test(function() {
window['on' + handler] = f;
assert_equals(document.body['on' + handler], f);
}, handler);
});

handlers.forEach(function(handler) {
document.body['on' + handler] = null;
});
Expand Down

0 comments on commit 225a1cb

Please sign in to comment.