summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1566684.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1566684.html')
-rw-r--r--layout/style/crashtests/1566684.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/style/crashtests/1566684.html b/layout/style/crashtests/1566684.html
new file mode 100644
index 0000000000..328ec46a6b
--- /dev/null
+++ b/layout/style/crashtests/1566684.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<style>
+ x { }
+</style>
+<script>
+ var sheet = document.styleSheets[0];
+ var rule = sheet.cssRules[0];
+ var decl = rule.style;
+ rule.expando = 5;
+ decl.expando = 6;
+ sheet.deleteRule(0);
+ rule = decl = null;
+ SpecialPowers.forceGC();
+ SpecialPowers.forceCC();
+ SpecialPowers.forceGC();
+</script>