blob: 3f56e9626e9c9ab8ac081f6156596f2945b1cf1c [file] [log] [blame]
<html>
<head>
<script src="../fast/js/resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Check that interfaces inherit from EventTarget");
eventTargets = ['EventSource', 'FileReader', 'MediaController', 'MediaSource', 'MessagePort', 'Node', 'Performance', 'SVGElementInstance', 'SharedWorker', 'WebSocket', 'Window', 'Worker', 'webkitAudioContext'];
for (var i = 0; i < eventTargets.length; i++) {
shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype");
}
</script>
<script src="../fast/js/resources/js-test-post.js"></script>
</body>
</html>