OLD | NEW |
1 This test makes sure that navigator.isProtocolHandlerRegistered throws the prope
r exceptions and returns the default state of handler. | 1 This test makes sure that navigator.isProtocolHandlerRegistered throws the prope
r exceptions and returns the default state of handler. |
2 | 2 |
3 PASS window.navigator.isProtocolHandlerRegistered is defined. | 3 PASS window.navigator.isProtocolHandlerRegistered is defined. |
4 PASS Invalid url "%S" threw SyntaxError exception. | 4 PASS Invalid url "%S" threw SyntaxError exception. |
5 PASS Invalid scheme "mailto:" falied. | 5 PASS Invalid scheme "mailto:" falied. |
6 PASS Invalid scheme "ssh:/" falied. | 6 PASS Invalid scheme "ssh:/" falied. |
7 PASS Invalid scheme "magnet:+" falied. | 7 PASS Invalid scheme "magnet:+" falied. |
8 PASS Invalid scheme "tel:sip" falied. | 8 PASS Invalid scheme "tel:sip" falied. |
| 9 PASS URL with origin different than document origin threw SecurityError exceptio
n: "Failed to execute 'isProtocolHandlerRegistered' on 'Navigator': Can only reg
ister custom handler in the document's origin.". |
9 | 10 |
10 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegi
stered() returns 'new' state, it works well. | 11 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegi
stered() returns 'new' state, it works well. |
11 'bitcoin' scheme will be registered, and then checks if the 'bitcoin' scheme is
registered by isProtocolHandlerRegistered(). | 12 'bitcoin' scheme will be registered, and then checks if the 'bitcoin' scheme is
registered by isProtocolHandlerRegistered(). |
12 | 13 |
13 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. is
ProtocolHandlerRegistered() works correctly. | 14 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. is
ProtocolHandlerRegistered() works correctly. |
14 | 15 |
15 | 16 |
16 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
17 | 18 |
18 TEST COMPLETE | 19 TEST COMPLETE |
19 | 20 |
OLD | NEW |