summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/reftest/bug696651-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'parser/htmlparser/tests/reftest/bug696651-2.html')
-rw-r--r--parser/htmlparser/tests/reftest/bug696651-2.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/reftest/bug696651-2.html b/parser/htmlparser/tests/reftest/bug696651-2.html
new file mode 100644
index 000000000..2d3515b6a
--- /dev/null
+++ b/parser/htmlparser/tests/reftest/bug696651-2.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<body>
+<iframe></iframe>
+<script>
+var doc = document.getElementsByTagName("iframe")[0].contentDocument;
+doc.open(); doc.write("\u003cscript>document.write(\"\\u003cscript src='bug696651-external.js'>\\u003c/script>B\"); document.write(\"b\");\u003c/script>A"); doc.write("a"); doc.close();</script>