chromium/third_party/blink/web_tests/fast/css/large-list-of-rules-crash.html

<!DOCTYPE HTML PUBLIC
  "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">

<script type="text/javascript">
var array = Array(200000);
for (var i = 0; i < 200000; ++i)
    array[i] = "a {}\n";
var s = array.join("");

var style = document.createElement("style");
style.appendChild(document.createTextNode(s));
document.getElementsByTagName("head")[0].appendChild(style);

if (window.testRunner)
    testRunner.dumpAsText();
</script>

<!-- loading a linked style sheet causes the list of CSS Rules to be rebuilt,
     which caused a crash (stack overflow) -->
<link rel="stylesheet" href="resources/large-list-of-rules-crash.css">
<link rel="stylesheet" href="resources/large-list-of-rules-crash.css">

<p>Test case for
<a href="https://bugs.webkit.org/show_bug.cgi?id=27748"
   >https://bugs.webkit.org/show_bug.cgi?id=27748</a>. If the browser did
   not crash, the test passed.</p>