Index: LayoutTests/fast/innerHTML/innerHTML-template-crash.xhtml |
diff --git a/LayoutTests/fast/innerHTML/innerHTML-template-crash.xhtml b/LayoutTests/fast/innerHTML/innerHTML-template-crash.xhtml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2f0d5a6a28ab11d259da5072d645d823034e20b0 |
--- /dev/null |
+++ b/LayoutTests/fast/innerHTML/innerHTML-template-crash.xhtml |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE HTML> |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+ <body> |
+ <template xmlns="http://test/foo"></template> |
+ <script> |
+ document.querySelector('template').innerHTML = "<p>Lorem Ipsum</p>"; |
+ </script> |
+ <p>This test passes if it does not CRASH.</p> |
+ </body> |
+</html> |