| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2 <head> |   2 <head> | 
|   3     <script src="../resources/cross-frame-access.js"></script> |   3     <script src="../resources/cross-frame-access.js"></script> | 
|   4     <script> |   4     <script> | 
|   5         window.onload = function() |   5         window.onload = function() | 
|   6         { |   6         { | 
|   7             if (window.testRunner) { |   7             if (window.testRunner) { | 
|   8                 testRunner.dumpAsText(); |   8                 testRunner.dumpAsText(); | 
|   9                 testRunner.dumpChildFramesAsText(); |   9                 testRunner.dumpChildFramesAsText(); | 
|  10                 testRunner.waitUntilDone(); |  10                 testRunner.waitUntilDone(); | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  63                 window[0][0].document.getElementById('accessMe').innerHTML = 'PA
    SS: Cross frame access to a javascript: URL 2 levels deep was allowed!'; |  63                 window[0][0].document.getElementById('accessMe').innerHTML = 'PA
    SS: Cross frame access to a javascript: URL 2 levels deep was allowed!'; | 
|  64                 log('PASS: Cross frame access to a javascript: URL 2 levels deep
     was allowed!'); |  64                 log('PASS: Cross frame access to a javascript: URL 2 levels deep
     was allowed!'); | 
|  65             } catch (e) { |  65             } catch (e) { | 
|  66                 log('FAIL: Cross frame access to a javascript: URL 2 levels deep
     was denied.'); |  66                 log('FAIL: Cross frame access to a javascript: URL 2 levels deep
     was denied.'); | 
|  67             } |  67             } | 
|  68         } |  68         } | 
|  69     </script> |  69     </script> | 
|  70 </head> |  70 </head> | 
|  71 <body> |  71 <body> | 
|  72     <p>This tests that the main frame has access to a javascript: URL loaded in 
    an iframe inside another javascript: URL loaded iframe.</p> |  72     <p>This tests that the main frame has access to a javascript: URL loaded in 
    an iframe inside another javascript: URL loaded iframe.</p> | 
|  73     <iframe id="aFrame" name="aFrame" style="width: 500px; height: 300px;"></ifr
    ame> |  73     <iframe id="aFrame" style="width: 500px; height: 300px;"></iframe> | 
|  74     <pre id='console'></pre> |  74     <pre id='console'></pre> | 
|  75 </body> |  75 </body> | 
|  76 </html> |  76 </html> | 
| OLD | NEW |