<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<style>
.rule1 {}
.rule2 {}
</style>
<script>
document.styleSheets[0].cssRules.item(0);
document.styleSheets[0].deleteRule(1);
</script>
This test passes if it doesn't crash.
