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

Side by Side Diff: LayoutTests/media/media-controls-clone-crash.html

Issue 7057049: Merge 87743 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | LayoutTests/media/media-controls-clone-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <body onload="runTest();"> 2 <body onload="runTest();">
3 Test passes if it does not crash. 3 Test passes if it does not crash.
4 <script> 4 <script>
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 { 6 {
7 layoutTestController.dumpAsText(); 7 layoutTestController.dumpAsText();
8 layoutTestController.waitUntilDone(); 8 layoutTestController.waitUntilDone();
9 } 9 }
10 10
11 function runTest() { 11 function runTest() {
12 node = document.createElement('audio'); 12 node = document.createElement('audio');
13 node.setAttribute('src', 'foo'); 13 node.setAttribute('src', 'foo');
14 node.setAttribute('controls', 'foo'); 14 node.setAttribute('controls', 'foo');
15 node.style.fontWeight = '100'; 15 node.style.fontWeight = '100';
16 var clone = node.cloneNode(false); 16 var clone = node.cloneNode(false);
17 clone.load(); 17 clone.load();
18 18
19 if (window.layoutTestController) 19 if (window.layoutTestController)
20 setTimeout("layoutTestController.notifyDone()", 0); 20 setTimeout("layoutTestController.notifyDone()", 0);
21 } 21 }
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
25 25
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/media-controls-clone-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698