1
2
3
4
5
6
7
8
9
10
11
content / test / data / navigation_controller / inject_into_blank_iframe.html [blame]
<html>
<head></head>
<body>
<p>This page injects content into its blank iframe.
<p><iframe id="frame1"></iframe>
<script>
var f = document.getElementById("frame1");
f.contentDocument.body.innerHTML = "Injected text";
</script>
</body>
</html>