summaryrefslogtreecommitdiffstats
path: root/docshell/test/navigation/iframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/navigation/iframe.html')
-rw-r--r--docshell/test/navigation/iframe.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/docshell/test/navigation/iframe.html b/docshell/test/navigation/iframe.html
new file mode 100644
index 0000000000..f8fce53c55
--- /dev/null
+++ b/docshell/test/navigation/iframe.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<script>
+var src = window.location.hash.substring(1);
+// eslint-disable-next-line no-unsanitized/method
+document.write('<iframe src="' + src + '"></iframe>');
+</script>
+</body>
+</html>