Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / delete-rule-crash.html
blob923a79833d67be2fa58c8fb10d09c93e061e03ea
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4 </script>
5 <style>
6 .rule1 {}
7 .rule2 {}
8 </style>
9 <script>
10 document.styleSheets[0].cssRules.item(0);
11 document.styleSheets[0].deleteRule(1);
12 </script>
13 This test passes if it doesn't crash.