| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2 <head> |   2 <head> | 
|   3 <script> |   3 <script> | 
|   4 if (window.testRunner) { |   4 if (window.testRunner) { | 
|   5     testRunner.dumpAsText(); |   5     testRunner.dumpAsText(); | 
|   6     testRunner.waitUntilDone(); |   6     testRunner.waitUntilDone(); | 
|   7 } |   7 } | 
|   8  |   8  | 
|   9 function loaded() { |   9 function loaded() { | 
|  10     if (window.testRunner) |  10     if (window.testRunner) | 
|  11         testRunner.notifyDone(); |  11         testRunner.notifyDone(); | 
|  12 } |  12 } | 
|  13 </script> |  13 </script> | 
|  14 </head> |  14 </head> | 
|  15 <body> |  15 <body> | 
|  16   <p>This test verifies that a sandboxed IFrame cannot access the history object
     of the top-level frame. |  16   <p>This test verifies that a sandboxed IFrame cannot access the history object
     of the top-level frame. | 
|  17   It passes if a console error is present, noting that the inner frame cannot ac
    cess the outer.</p> |  17   It passes if an uncaught exception is present, noting that the inner frame can
    not access the outer.</p> | 
|  18 <iframe sandbox="allow-scripts" src="data:text/html,<script>top.history</script>
    " onload="loaded()"> |  18 <iframe sandbox="allow-scripts" src="data:text/html,<script>top.history</script>
    " onload="loaded()"> | 
|  19 </body> |  19 </body> | 
|  20 </html> |  20 </html> | 
| OLD | NEW |