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

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

Issue 250553006: Unship MediaController by making it an experimental runtime-enabled feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tweak event-target-in-prototype test Created 6 years, 7 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="../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', 'SVGElementInstance', 'SharedWorker', 'WebS ocket', 'Window', 'Worker', 'AudioContext'];
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 if (eventTargets[i] in window)
13 shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototyp e");
13 } 14 }
14 15
15 </script> 16 </script>
16 </body> 17 </body>
17 </html> 18 </html>
OLDNEW
« no previous file with comments | « LayoutTests/virtual/stable/webexposed/global-constructors-listing-expected.txt ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698