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

Side by Side Diff: third_party/WebKit/LayoutTests/media/media-reparent.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 Test that reparenting a removed media tag doesn't crash the process. 1 Test that reparenting a removed media tag doesn't crash the process.
2 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956
3 (Please avoid writing new tests using video-test.js) -->
2 <script src=video-test.js></script> 4 <script src=video-test.js></script>
3 <script> 5 <script>
4 setTimeout(function(){ 6 setTimeout(function(){
5 var f = document.createElement('iframe'); 7 var f = document.createElement('iframe');
6 document.documentElement.appendChild(f); 8 document.documentElement.appendChild(f);
7 var w = f.contentWindow; 9 var w = f.contentWindow;
8 var div = w.document.createElement('div'); 10 var div = w.document.createElement('div');
9 div.innerHTML = '<audio src="1">'; 11 div.innerHTML = '<audio src="1">';
10 var node = div; 12 var node = div;
11 f.parentNode.removeChild(f); 13 f.parentNode.removeChild(f);
12 document.body.appendChild(node); 14 document.body.appendChild(node);
13 endTestLater(); 15 endTestLater();
14 }) 16 })
15 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698