OLD | NEW |
1 <html> | 1 <html> |
2 <body> | 2 <body> |
3 <p>This test makes sure that navigator.unregisterProtocolHandler throws the prop
er exceptions and has no-op default implementation.</p> | 3 <p>This test makes sure that navigator.unregisterProtocolHandler throws the prop
er 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 succeeded = false; | 73 succeeded = false; |
74 } | 74 } |
75 | 75 |
76 if (succeeded) | 76 if (succeeded) |
77 debug('Pass: Valid call succeeded.'); | 77 debug('Pass: Valid call succeeded.'); |
78 else | 78 else |
79 debug('Fail: Invalid call did not succeed.'); | 79 debug('Fail: Invalid call did not succeed.'); |
80 </script> | 80 </script> |
81 </body> | 81 </body> |
82 </html> | 82 </html> |
OLD | NEW |