| Index: LayoutTests/editing/execCommand/apply-style-iframe-crash.html
|
| diff --git a/LayoutTests/editing/execCommand/apply-style-iframe-crash.html b/LayoutTests/editing/execCommand/apply-style-iframe-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9df4567f795fa6981c2cd8527e6eff39056e5b63
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/execCommand/apply-style-iframe-crash.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<h1><button><iframe></iframe></button>
|
| +</h1><input><iframe xonload="
|
| + if (document.counter)
|
| + document.counter++;
|
| + else
|
| + document.counter = 1;
|
| +
|
| + if (document.counter <= 16) {
|
| + document.designMode='on';
|
| + document.execCommand('selectall');
|
| + document.execCommand('italic');
|
| + }" ></iframe>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +onload = function() {
|
| + document.body.textContent = 'PASS; NOT CRASHED';
|
| +};
|
| +</script>
|
|
|