Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / media-controls-clone-crash.html
blobf1b3f203857e11aafa145f667c25097e4f8dc352
1 <html>
2 <body onload="runTest();">
3 Test passes if it does not crash.
4 <script>
5 if (window.testRunner)
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
11 function runTest() {
12 node = document.createElement('audio');
13 node.setAttribute('src', 'foo');
14 node.setAttribute('controls', 'foo');
15 node.style.fontWeight = '100';
16 var clone = node.cloneNode(false);
17 clone.load();
19 if (window.testRunner)
20 setTimeout("testRunner.notifyDone()", 0);
22 </script>
23 </body>
24 </html>