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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>media file redirects to another site</title>
5 <script src=../../media-resources/video-test.js></script>
6 <script>
7 function loadedmetadata(evt)
8 {
9 failTest("ERROR: allowed cross-site video load!");
10 consoleWrite("");
11 endTest();
12 }
13
14 function error(evt)
15 {
16 logResult(true, "SUCCESS: denied cross-site video load.");
17 consoleWrite("");
18 endTest();
19 }
20
21 function start()
22 {
23 findMediaElement();
24
25 waitForEvent('loadedmetadata', loadedmetadata);
26 waitForEvent("error", error);
27 waitForEvent("loadstart");
28 testExpected("video.error", null);
29
30 video.src = "http://127.0.0.1:8000/media/resources/cross-site-re ference.mov";
31 }
32 </script>
33 </head>
34 <body>
35 <video controls></video>
36 <p>Video with cross-site reference should not load.</p>
37 <script>start()</script>
38 </body>
39 </html>
40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698