Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Skip shadydom composed getter test for IE and Edge #277

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/event-path.html
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,11 @@
});

test('focusin and focusout events patched to be always composed', function() {
// this test only makes sense for browsers having native "composed" getter,
// with the others (IE and Edge) the case is not reproducible, so skip.
if (Object.getOwnPropertyDescriptor(Event.prototype, 'composed') === undefined) {
this.skip();
}
const theDiv = document.createElement('div');
theDiv.attachShadow({mode: 'open'});

Expand Down