Index: LayoutTests/fast/css/reload-non-styled-element-crash.html |
diff --git a/LayoutTests/fast/css/reload-non-styled-element-crash.html b/LayoutTests/fast/css/reload-non-styled-element-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..246dbb5f3b1995849167fe137ba5532893c2d129 |
--- /dev/null |
+++ b/LayoutTests/fast/css/reload-non-styled-element-crash.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script> |
+ function start() { |
+ document.body.innerHTML='<p>laserator<p>#f' |
+ document.body.innerHTML = '' |
+ var m = document.createElementNS('http://www.w3.org/1998/Math/MathML','free'); |
+ document.body.appendChild(m); |
+ location.reload(); |
+ document.body.offsetTop; |
+ document.body.innerHTML='PASS if no crash or assert in debug'; |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ } |
+</script> |
+</head> |
+<body onload='start()'></body> |
+</html> |