| Index: LayoutTests/fast/frames/javascript-url-style-crash.html
|
| diff --git a/LayoutTests/fast/frames/javascript-url-style-crash.html b/LayoutTests/fast/frames/javascript-url-style-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0ac1453cca6533bf348d080eed3e868a7441165b
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/frames/javascript-url-style-crash.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<script>
|
| +function callback() {
|
| + style0.innerHTML = '';
|
| + iframe0.removeChild(style0);
|
| +}
|
| +
|
| +style0=document.createElement('style');
|
| +style0.innerHTML = 'span { color: blue; }';
|
| +
|
| +iframe0=document.createElement('iframe');
|
| +iframe0.appendChild(style0);
|
| +iframe0.src='javascript:window.top.callback();';
|
| +document.body.appendChild(iframe0);
|
| +
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.dumpAsText();
|
| + setTimeout(function() {
|
| + testRunner.notifyDone();
|
| + }, 0);
|
| +}
|
| +</script>
|
| +<p>PASS unless carsh</p>
|
| +</body>
|
|
|