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

Unified Diff: LayoutTests/http/tests/media/video-cross-site.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/http/tests/media/video-cross-site.html
diff --git a/LayoutTests/http/tests/media/video-cross-site.html b/LayoutTests/http/tests/media/video-cross-site.html
deleted file mode 100644
index a2a10b2db78481db2b253c10db971ec62655480c..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/media/video-cross-site.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>media file redirects to another site</title>
- <script src=../../media-resources/video-test.js></script>
- <script>
- function loadedmetadata(evt)
- {
- failTest("ERROR: allowed cross-site video load!");
- consoleWrite("");
- endTest();
- }
-
- function error(evt)
- {
- logResult(true, "SUCCESS: denied cross-site video load.");
- consoleWrite("");
- endTest();
- }
-
- function start()
- {
- findMediaElement();
-
- waitForEvent('loadedmetadata', loadedmetadata);
- waitForEvent("error", error);
- waitForEvent("loadstart");
- testExpected("video.error", null);
-
- video.src = "http://127.0.0.1:8000/media/resources/cross-site-reference.mov";
- }
- </script>
- </head>
- <body>
- <video controls></video>
- <p>Video with cross-site reference should not load.</p>
- <script>start()</script>
- </body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698