Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/embedded-content/media-elements/interfaces/TrackEvent/createEvent.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>TrackEvent created with createEvent</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
test(function(){
assert_throws_dom('NOT_SUPPORTED_ERR', function() {
var ev = document.createEvent('TrackEvent');
});
var ev = new TrackEvent('foo');
assert_false('initTrackEvent' in ev, 'initTrackEvent');
});
</script>