Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: LayoutTests/fast/innerHTML/innerHTML-template-crash.xhtml

Issue 44333002: Move innerHTML and outerHTML to Element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to latest master Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698