4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
10 if (window
.testRunner
)
11 testRunner
.notifyDone();
16 <p>This test verifies that a sandboxed IFrame cannot access the history object of the top-level frame.
17 It passes if an uncaught exception is present, noting that the inner frame cannot access the outer.
</p>
18 <iframe sandbox=
"allow-scripts" src=
"data:text/html,<script>top.history</script>" onload
="loaded()">