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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/video-cancel-load.html

Issue 2015503002: Move TODO(philipj) to TODO(foolip) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 <title>Cancel loading a video file and access its properties afterwards.</titl e> 3 <title>Cancel loading a video file and access its properties afterwards.</titl e>
4 </head> 4 </head>
5 <body> 5 <body>
6 Access a video element with resource loading canceled. 6 Access a video element with resource loading canceled.
7 If this test is successful it will terminate with a blank page. 7 If this test is successful it will terminate with a blank page.
8 This test should finish without crashing. 8 This test should finish without crashing.
9 9
10 <script src=../../media-resources/media-file.js></script> 10 <script src=../../media-resources/media-file.js></script>
11 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 11 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956
12 (Please avoid writing new tests using video-test.js) --> 12 (Please avoid writing new tests using video-test.js) -->
13 <script src=../../media-resources/video-test.js></script> 13 <script src=../../media-resources/video-test.js></script>
14 <video controls id="video"></video> 14 <video controls id="video"></video>
15 15
16 <textarea id="child_content" style="display: none;"> 16 <textarea id="child_content" style="display: none;">
17 <!-- Begin child content --> 17 <!-- Begin child content -->
18 <!-- The following section contains the content in the document of child windo w. --> 18 <!-- The following section contains the content in the document of child windo w. -->
19 <script> 19 <script>
20 var video = window.opener.video; 20 var video = window.opener.video;
21 window.setTimeout(function () { 21 window.setTimeout(function () {
(...skipping 26 matching lines...) Expand all
48 video.src = "http://127.0.0.1:8000/media/video-throttled-load.cgi?throttle=40& name=" + file; 48 video.src = "http://127.0.0.1:8000/media/video-throttled-load.cgi?throttle=40& name=" + file;
49 49
50 // Change URL of the current page to a blank page. 50 // Change URL of the current page to a blank page.
51 function blank() 51 function blank()
52 { 52 {
53 location.href = "about:blank"; 53 location.href = "about:blank";
54 } 54 }
55 </script> 55 </script>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698