OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../fast/js/resources/js-test-pre.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <script> | 6 <script> |
7 description("Check that interfaces inherit from EventTarget"); | 7 description("Check that interfaces inherit from EventTarget"); |
8 | 8 |
9 eventTargets = ['EventSource', 'MessagePort', 'Node', 'WebSocket', 'Window', 'XM
LHttpRequest', 'XMLHttpRequestUpload', 'webkitAudioContext']; | 9 eventTargets = ['EventSource', 'FileReader', 'MediaController', 'MediaSource', '
MessagePort', 'Node', 'Performance', 'SVGElementInstance', 'SharedWorker', 'WebS
ocket', 'Window', 'Worker', 'webkitAudioContext']; |
10 | 10 |
11 for (var i = 0; i < eventTargets.length; i++) { | 11 for (var i = 0; i < eventTargets.length; i++) { |
12 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype"); | 12 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype"); |
13 } | 13 } |
14 | 14 |
15 </script> | 15 </script> |
16 <script src="../fast/js/resources/js-test-post.js"></script> | 16 <script src="../fast/js/resources/js-test-post.js"></script> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |