gecko-dev/dom/base/test/file_bug1091883_frame.html
Alex Verstak 2d3d368350 Bug 1091883 - Added test, this is fixed by a fix to bug 1113438. r=sstamm CLOSED TREE
--HG--
extra : amend_source : 6b33b51d7e8f800e1453e72bd66b53f1ebbd232c
2015-01-05 09:09:51 -08:00

14 lines
350 B
HTML

<!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>