inferno@chromium.org | c86bc2a | 2011-05-31 18:16:13 +0000 | [diff] [blame] | 1 | <html>
|
| 2 | <body onload="runTest();">
|
| 3 | Test passes if it does not crash.
|
| 4 | <script>
|
rniwa@webkit.org | 0837233 | 2012-06-15 07:33:22 +0000 | [diff] [blame] | 5 | if (window.testRunner)
|
inferno@chromium.org | c86bc2a | 2011-05-31 18:16:13 +0000 | [diff] [blame] | 6 | {
|
rniwa@webkit.org | 0837233 | 2012-06-15 07:33:22 +0000 | [diff] [blame] | 7 | testRunner.dumpAsText();
|
| 8 | testRunner.waitUntilDone();
|
inferno@chromium.org | c86bc2a | 2011-05-31 18:16:13 +0000 | [diff] [blame] | 9 | }
|
| 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.org | 0837233 | 2012-06-15 07:33:22 +0000 | [diff] [blame] | 19 | if (window.testRunner)
|
| 20 | setTimeout("testRunner.notifyDone()", 0);
|
inferno@chromium.org | c86bc2a | 2011-05-31 18:16:13 +0000 | [diff] [blame] | 21 | }
|
| 22 | </script>
|
| 23 | </body>
|
| 24 | </html>
|
| 25 |
|