summaryrefslogtreecommitdiffstats
path: root/docshell/test/bug123696-subframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/bug123696-subframe.html')
-rw-r--r--docshell/test/bug123696-subframe.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/docshell/test/bug123696-subframe.html b/docshell/test/bug123696-subframe.html
new file mode 100644
index 000000000..136d0a184
--- /dev/null
+++ b/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>