| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <p>This test makes sure that navigator.registerProtocolHandler throws the proper
exceptions and has no-op default implementation.</p> | 3 <p>This test makes sure that navigator.registerProtocolHandler throws the proper
exceptions and has no-op default implementation.</p> |
| 4 <pre id="console"></pre> | 4 <pre id="console"></pre> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 | 8 |
| 9 function debug(str) | 9 function debug(str) |
| 10 { | 10 { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 succeeded = false; | 74 succeeded = false; |
| 75 } | 75 } |
| 76 | 76 |
| 77 if (succeeded) | 77 if (succeeded) |
| 78 debug('Pass: Valid call succeeded.'); | 78 debug('Pass: Valid call succeeded.'); |
| 79 else | 79 else |
| 80 debug('Fail: Invalid call did not succeed.'); | 80 debug('Fail: Invalid call did not succeed.'); |
| 81 </script> | 81 </script> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |