Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <body id=container> | |
| 2 <p>This test checks that adding a new grid item before an already existing ite m wrapped by an anonymous block does not crash under ASAN.</p> | |
|
Manuel Rego
2014/06/25 20:13:11
Actually you don't need an ASAN build, but a regul
svillar
2014/06/26 09:45:52
Yeah but the issue was detected with ASAN, and the
| |
| 3 <div style="display: grid;">X</div> | |
| 4 </body> | |
| 5 <script type="text/javascript"> | |
| 6 if (window.testRunner) | |
| 7 testRunner.dumpAsText(); | |
| 8 | |
| 9 document.addEventListener("DOMContentLoaded", crash, false); | |
| 10 | |
| 11 function crash() { | |
| 12 document.designMode = 'on'; | |
| 13 window.getSelection().selectAllChildren(container); | |
|
Manuel Rego
2014/06/25 20:13:11
Nit: I guess it's enough with select the children
svillar
2014/06/26 09:45:52
Sure, I'll switch to selecting the grid children.
| |
| 14 document.execCommand("Italic", null); | |
| 15 } | |
| 16 </script> | |
| OLD | NEW |