Sign in
webkit
/
WebKit
/
ccf8f7cdbfbfa46d99c5a9dcfbbf6cb2e9ec8c2c
/
.
/
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.