blob: a245175ae30e66ab6923699dd91ac58518ff1910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>
|