summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/829817.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/829817.html')
-rw-r--r--layout/style/crashtests/829817.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/style/crashtests/829817.html b/layout/style/crashtests/829817.html
new file mode 100644
index 000000000..a81fb6b79
--- /dev/null
+++ b/layout/style/crashtests/829817.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+
+@page {}
+
+</style>
+<script>
+
+function boom()
+{
+ // This shouldn't cause a shutdown leak.
+ document.styleSheets[0].cssRules[0].style.someExpando = "set an expando to preserve the wrapper";
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>