OLD | NEW |
1 <script> | 1 <script> |
2 if (window.layoutTestController) { | 2 if (window.layoutTestController) { |
3 layoutTestController.dumpAsText(); | 3 layoutTestController.dumpAsText(); |
4 layoutTestController.waitUntilDone(); | 4 layoutTestController.waitUntilDone(); |
5 } | 5 } |
6 | 6 |
7 window.onload = function() | 7 window.onload = function() |
8 { | 8 { |
9 frame = document.body.appendChild(document.createElement("iframe")); | 9 frame = document.body.appendChild(document.createElement("iframe")); |
10 wnd = frame.contentWindow; | 10 wnd = frame.contentWindow; |
(...skipping 12 matching lines...) Expand all Loading... |
23 } catch(ex) { | 23 } catch(ex) { |
24 } | 24 } |
25 | 25 |
26 if (window.layoutTestController) | 26 if (window.layoutTestController) |
27 layoutTestController.notifyDone(); | 27 layoutTestController.notifyDone(); |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
31 </script> | 31 </script> |
32 This tests passes if it doesn't alert the contents of innocent-victim.html. | 32 This tests passes if it doesn't alert the contents of innocent-victim.html. |
OLD | NEW |