summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/840898.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/840898.html')
-rw-r--r--layout/style/crashtests/840898.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/style/crashtests/840898.html b/layout/style/crashtests/840898.html
new file mode 100644
index 000000000..352bf3c3d
--- /dev/null
+++ b/layout/style/crashtests/840898.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ var styleDeclaration = window.getComputedStyle(document.createElement('div'), null);
+ var cursorValue = styleDeclaration.getPropertyCSSValue('cursor');
+ cursorValue.item(1000);
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>