Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #175 from arv/disable-default-prevented-test-in-ie
Browse files Browse the repository at this point in the history
Disable defaultPrevented test in IE
  • Loading branch information
dfreedm committed Jun 19, 2013
2 parents 9e869f2 + 148bbe4 commit befe80b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,11 @@ test('retarget order (multiple shadow roots)', function() {

div.click();
assert.equal(calls, 2);
assert.isTrue(event.defaultPrevented);

// defaultPrevented is broken in IE.
// https://connect.microsoft.com/IE/feedback/details/790389/event-defaultprevented-returns-false-after-preventdefault-was-called
if (!/IE/.test(navigator.userAgent))
assert.isTrue(event.defaultPrevented);
});

test('event.path (bubbles)', function() {
Expand Down

0 comments on commit befe80b

Please sign in to comment.