Sign in
webkit
/
WebKit
/
23a6794cb84b9b002664f74df90c353b5e5e681b
/
.
/
LayoutTests
/
fast
/
css
/
delete-rule-crash.html
blob: 923a79833d67be2fa58c8fb10d09c93e061e03ea [
file
] [
log
] [
blame
]
<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.