blob: 11c15213f2c3ab84e4ba4d3d041b36ef0df198e1 [file] [log] [blame]
inferno@chromium.orgc86bc2a2011-05-31 18:16:13 +00001<html>
2 <body onload="runTest();">
3 Test passes if it does not crash.
4 <script>
rniwa@webkit.org08372332012-06-15 07:33:22 +00005 if (window.testRunner)
inferno@chromium.orgc86bc2a2011-05-31 18:16:13 +00006 {
rniwa@webkit.org08372332012-06-15 07:33:22 +00007 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
inferno@chromium.orgc86bc2a2011-05-31 18:16:13 +00009 }
10
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();
18
rniwa@webkit.org08372332012-06-15 07:33:22 +000019 if (window.testRunner)
20 setTimeout("testRunner.notifyDone()", 0);
inferno@chromium.orgc86bc2a2011-05-31 18:16:13 +000021 }
22 </script>
23 </body>
24</html>
25