Chromium Code Reviews| 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=" |
|
eseidel
2013/11/15 07:29:52
why is this xonload?
yosin_UTC9
2013/11/15 09:35:17
Oops, I forgot to restore the test.
Fix in https:/
|
| + 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> |