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

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

Issue 18778002: Inherit EventTarget interface instead of duplicating its code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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
(Empty)
1 <html>
2 <head>
3 <script src="../fast/js/resources/js-test-pre.js"></script>
4 </head>
5 <body>
6 <script>
7 description("Check that interfaces inherit from EventTarget");
8
9 eventTargets = ['EventSource', 'MessagePort', 'Node', 'WebSocket', 'Window', 'XM LHttpRequest', 'XMLHttpRequestUpload', 'webkitAudioContext'];
10
11 for (var i = 0; i < eventTargets.length; i++) {
12 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype");
13 }
14
15 </script>
16 <script src="../fast/js/resources/js-test-post.js"></script>
17 </body>
18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/dom-constructors-expected.txt ('k') | LayoutTests/webexposed/event-target-in-prototype-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698