Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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>