summaryrefslogtreecommitdiffstats
path: root/dom/html/test/bug1292522_iframe.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/test/bug1292522_iframe.html')
-rw-r--r--dom/html/test/bug1292522_iframe.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/dom/html/test/bug1292522_iframe.html b/dom/html/test/bug1292522_iframe.html
new file mode 100644
index 0000000000..99a3369d00
--- /dev/null
+++ b/dom/html/test/bug1292522_iframe.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html><head><title>iframe</title></head>
+ <body>
+ <p>var testvar = "testiframe"</p>
+ <script>
+ document.domain='example.org';
+ var testvar = "testiframe";
+ </script>
+ </body>
+</html>