| 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.dumpChildFramesAsText(); |   6             testRunner.dumpChildFramesAsText(); | 
|   7             testRunner.waitUntilDone(); |   7             testRunner.waitUntilDone(); | 
|   8         } |   8         } | 
|   9  |   9  | 
|  10         window.addEventListener('message', function() { |  10         window.addEventListener('message', function() { | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
|  26             return false; // Don't handle the exception to ensure it shows up in
     the console. |  26             return false; // Don't handle the exception to ensure it shows up in
     the console. | 
|  27         }; |  27         }; | 
|  28  |  28  | 
|  29         function runTest() { |  29         function runTest() { | 
|  30             var frame = document.getElementById('aFrame'); |  30             var frame = document.getElementById('aFrame'); | 
|  31             frame.location = 'javascript:"FAIL: this should not have been loaded
    ."'; |  31             frame.location = 'javascript:"FAIL: this should not have been loaded
    ."'; | 
|  32         } |  32         } | 
|  33     </script> |  33     </script> | 
|  34 </head> |  34 </head> | 
|  35 <frameset rows="10%,*"> |  35 <frameset rows="10%,*"> | 
|  36     <frame id='main' name='main' src="data:text/html,<p>This test passes as long
     as the onerror handler logs PASS to the console, and the uncaught exception rep
    orted to the console has unsanitized detail.</p>"> |  36     <frame id='main' src="data:text/html,<p>This test passes as long as the oner
    ror handler logs PASS to the console, and the uncaught exception reported to the
     console has unsanitized detail.</p>"> | 
|  37     <frame id='aFrame' name="aFrame" src='http://localhost:8000/security/resourc
    es/cross-frame-iframe.html'> |  37     <frame id='aFrame' src='http://localhost:8000/security/resources/cross-frame
    -iframe.html'> | 
|  38 </frameset> |  38 </frameset> | 
|  39 </html> |  39 </html> | 
| OLD | NEW |