summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/377522.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/generic/crashtests/377522.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/generic/crashtests/377522.html b/layout/generic/crashtests/377522.html
new file mode 100644
index 0000000000..418fb85521
--- /dev/null
+++ b/layout/generic/crashtests/377522.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<script>
+
+function boom() {
+ var div = document.getElementById('div');
+ div.appendChild(document.createTextNode(String.fromCharCode(8238)));
+ div.appendChild(document.createTextNode(String.fromCharCode(50377)));
+ div.appendChild(document.createTextNode(String.fromCharCode(50)));
+ div.textContent = div.textContent.slice(1);
+}
+
+</script>
+</head>
+<body onload="boom()">
+<div id="div" style="word-spacing:2px; text-align:right">x</div>
+</body>
+</html>