summaryrefslogtreecommitdiff
path: root/system/docshell/test/bug123696-subframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'system/docshell/test/bug123696-subframe.html')
-rw-r--r--system/docshell/test/bug123696-subframe.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/docshell/test/bug123696-subframe.html b/system/docshell/test/bug123696-subframe.html
new file mode 100644
index 000000000..136d0a184
--- /dev/null
+++ b/system/docshell/test/bug123696-subframe.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ function change() {
+ return "<html><body>change</body></html>";
+ }
+ function change2() {
+ return "<html><body>change2</body></html>";
+ }
+ </script>
+ </head>
+ <body>
+ <iframe src="javascript:parent.change()"></iframe>
+ </body>
+</html>