summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/473914-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/473914-1.html')
-rw-r--r--layout/style/crashtests/473914-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/style/crashtests/473914-1.html b/layout/style/crashtests/473914-1.html
new file mode 100644
index 000000000..47a7a9898
--- /dev/null
+++ b/layout/style/crashtests/473914-1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style id="s"></style>
+<script type="text/javascript">
+
+// Duplicates the string 2^n times
+function exp(s, n)
+{
+ for (var i = 0; i < n; ++i)
+ s += s;
+ return s;
+}
+
+var stylesheet = exp("/**/", 20);
+document.getElementById("s").textContent = stylesheet;
+
+</script>
+</head>
+<body>
+<div></div>
+</body>
+</html>