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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/webexposed/event-target-in-prototype.html
diff --git a/LayoutTests/webexposed/event-target-in-prototype.html b/LayoutTests/webexposed/event-target-in-prototype.html
index 6ce570832146c69eb5890f80cef439dac7179660..a404c623b4661cb5e3f7513f8df27d60c29c3ac3 100644
--- a/LayoutTests/webexposed/event-target-in-prototype.html
+++ b/LayoutTests/webexposed/event-target-in-prototype.html
@@ -9,7 +9,8 @@ description("Check that interfaces inherit from EventTarget");
eventTargets = ['EventSource', 'FileReader', 'MediaController', 'MediaSource', 'MessagePort', 'Node', 'Performance', 'SVGElementInstance', 'SharedWorker', 'WebSocket', 'Window', 'Worker', 'AudioContext'];
for (var i = 0; i < eventTargets.length; i++) {
- shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype");
+ if (eventTargets[i] in window)
+ shouldBe(eventTargets[i] + ".prototype.__proto__", "EventTarget.prototype");
}
</script>
« 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