| 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.dumpPermissionClientCallbacks(); | 6 testRunner.dumpPermissionClientCallbacks(); |
| 7 } | 7 } |
| 8 | 8 |
| 9 function log(a) | 9 function log(a) |
| 10 { | 10 { |
| 11 document.getElementById("results").innerHTML += a + "<br>"; | 11 document.getElementById("results").innerHTML += a + "<br>"; |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 </head> | 14 </head> |
| 15 <body> | 15 <body> |
| 16 <p> | 16 <p> |
| 17 This test checks that all URLs in a redirect chain are passed to the | 17 This test checks that all URLs in a redirect chain are passed to the |
| 18 PermissionClient. | 18 PermissionClient. |
| 19 </p> | 19 </p> |
| 20 <img src="http://127.0.0.1:8000/permissionclient/resources/redir.php?url=http://
127.0.0.1:8000/permissionclient/resources/boston.gif" onerror="log('FAIL: error
event for first image')"> | 20 <img src="http://127.0.0.1:8000/permissionclient/resources/redir.php?url=http://
127.0.0.1:8000/permissionclient/resources/boston.gif" onerror="log('FAIL: error
event for first image')"> |
| 21 <div id="results"></div> | 21 <div id="results"></div> |
| 22 </body> | 22 </body> |
| 23 </html> | 23 </html> |
| OLD | NEW |