summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1332550.html
blob: 4299450a5804ede68c7e545e89cfe3e71ba9f95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
<style>
  @keyframes test {
    0% {
    }
  }
</style>
<script>
  var sheet = document.styleSheets[0];
  var rule = sheet.cssRules[0];
  var keyframe = rule.cssRules[0];
  rule.deleteRule("0%");
  sheet.deleteRule(0);
  rule = null;
  SpecialPowers.forceGC();
  SpecialPowers.forceCC();
  keyframe.parentRule;
</script>