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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/media/video-in-iframe-crash.html

Issue 1715303002: Add TODOs to convert from video-test.js to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add bug ref Created 4 years, 10 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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
4 (Please avoid writing new tests using video-test.js) -->
3 <script src="../../media-resources/video-test.js"></script> 5 <script src="../../media-resources/video-test.js"></script>
4 <script> 6 <script>
5 function getNextURL() 7 function getNextURL()
6 { 8 {
7 var url = location.href; 9 var url = location.href;
8 var queryIndex = url.indexOf("?"); 10 var queryIndex = url.indexOf("?");
9 var loadCount = 1; 11 var loadCount = 1;
10 if (queryIndex >= 0) { 12 if (queryIndex >= 0) {
11 loadCount = parseInt(url.substring(queryIndex + 1)); 13 loadCount = parseInt(url.substring(queryIndex + 1));
12 14
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 document.body.appendChild(iframeContentDocument.firstChild); 55 document.body.appendChild(iframeContentDocument.firstChild);
54 reloadPage(); 56 reloadPage();
55 } 57 }
56 58
57 </script> 59 </script>
58 <body onload="start()"> 60 <body onload="start()">
59 <p>Tests that moving a &lt;video&gt; in and out of an iframe does not tr igger a crash.</p> 61 <p>Tests that moving a &lt;video&gt; in and out of an iframe does not tr igger a crash.</p>
60 <div id="store_div"></div> 62 <div id="store_div"></div>
61 </body> 63 </body>
62 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698