Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: LayoutTests/webexposed/event-target-in-prototype.html

Issue 23243002: Introduce XMLHttpRequestEventTarget IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update event-target-in-prototype.html test case Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698