andersca@apple.com | 4c8ba96 | 2011-05-13 22:37:36 +0000 | [diff] [blame] | 1 | <script> |
| 2 | function testSucceeded() { |
| 3 | document.getElementById('console').innerText = 'SUCCESS'; |
rniwa@webkit.org | 5cf7fa8 | 2012-06-15 07:38:37 +0000 | [diff] [blame] | 4 | if (window.testRunner) |
| 5 | testRunner.notifyDone(); |
andersca@apple.com | 4c8ba96 | 2011-05-13 22:37:36 +0000 | [diff] [blame] | 6 | } |
| 7 | |
rniwa@webkit.org | 5cf7fa8 | 2012-06-15 07:38:37 +0000 | [diff] [blame] | 8 | if (window.testRunner) { |
| 9 | testRunner.dumpAsText(); |
| 10 | testRunner.waitUntilDone(); |
andersca@apple.com | 4c8ba96 | 2011-05-13 22:37:36 +0000 | [diff] [blame] | 11 | } |
| 12 | </script> |
| 13 | <body> |
| 14 | <embed id="plugin" type="application/x-webkit-test-netscape" test="get-url-with-javascript-url" width=100 height=100></embed> |
| 15 | <p id="description">Test that evaluating a javascript: URL will send a stream with the result of the evaluation.</p> |
| 16 | <div id="console">FAILURE</div> |