diff options
Diffstat (limited to 'dom/base/test/file_bug1091883_frame.html')
-rw-r--r-- | dom/base/test/file_bug1091883_frame.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/base/test/file_bug1091883_frame.html b/dom/base/test/file_bug1091883_frame.html new file mode 100644 index 000000000..a245175ae --- /dev/null +++ b/dom/base/test/file_bug1091883_frame.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<body> +<h2>Frame I am.</h2> +<script> +var subframeOrigin = location.hash.substr(1); // e.g., "http://example.com" +var subframe = document.createElement("iframe"); +subframe.src = subframeOrigin + + "/tests/dom/base/test/file_bug1091883_subframe.html"; +document.body.appendChild(subframe); +</script> +</body> +</html> |