Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / at-host-cssom-crash.html
1 <!doctype html>
2 <head>
3 <style>
4 @host {
5     div {
6       padding: 2px;
7     }
8 }
9
10 div {
11   padding: 2px;
12 }
13 </style>
14 </head>
15 <body>
16 <script>
17 if (window.testRunner)
18     testRunner.dumpAsText();
19
20 var styleSheets = document.styleSheets;
21 for (var i = 0; i < styleSheets.length; ++i)
22     for (var j = 0; j < styleSheets[i].cssRules.length; ++j)
23         styleSheets[i].cssRules.item(j);
24 </script>
25 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=102116">102116</a>: ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost<br>
26 This test has PASSED (no crash).
27 </body>
28 </html>
29