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

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

Issue 257033002: Do not implement EventTarget on SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix TestExpectations Created 6 years, 6 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.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', 'FileReader', 'MediaController', 'MediaSource', ' MessagePort', 'Node', 'Performance', 'SVGElementInstance', 'SharedWorker', 'WebS ocket', 'Window', 'Worker', 'AudioContext']; 9 eventTargets = ['EventSource', 'FileReader', 'MediaController', 'MediaSource', ' MessagePort', 'Node', 'Performance', 'SharedWorker', 'WebSocket', 'Window', 'Wor ker', 'AudioContext'];
10 10
11 for (var i = 0; i < eventTargets.length; i++) { 11 for (var i = 0; i < eventTargets.length; i++) {
12 if (eventTargets[i] in window) 12 if (eventTargets[i] in window)
13 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototyp e"); 13 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototyp e");
14 } 14 }
15 15
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698