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.addEventListener('message', function(evt) { | 7 window.addEventListener('message', function(evt) { |
8 if (window.layoutTestController) | 8 if (window.layoutTestController) |
9 layoutTestController.notifyDone(); | 9 layoutTestController.notifyDone(); |
10 }, false); | 10 }, false); |
11 </script> | 11 </script> |
12 This test produces output in the console. Only the initial URL should be logged
. | 12 This test produces output in the console. Only the initial URL should be logged
. |
13 <iframe | 13 <iframe |
14 src="http://127.0.0.1:8000/security/resources/redir.php?url=http://localhost:8
000/security/resources/post-done.html" | 14 src="http://127.0.0.1:8000/security/resources/redir.php?url=http://localhost:8
000/security/resources/post-done.html" |
15 onbeforeload="console.log(event.url)"> | 15 onbeforeload="console.log(event.url)"> |
16 </iframe> | 16 </iframe> |
OLD | NEW |