OLD | NEW |
1 This test makes sure that navigator.registerProtocolHandler throws the proper ex
ceptions and has no-op default implementation. | 1 This test makes sure that navigator.registerProtocolHandler throws the proper ex
ceptions and has no-op default implementation. |
2 | 2 |
3 PASS window.navigator.registerProtocolHandler is defined. | 3 PASS window.navigator.registerProtocolHandler is defined. |
4 PASS Invalid protocol "http" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the
protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+
'.". | 4 PASS Invalid protocol "http" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the
protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+
'.". |
5 PASS Invalid protocol "https" threw SecurityError exception: "Failed to execute
'registerProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong to t
he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we
b+'.". | 5 PASS Invalid protocol "https" threw SecurityError exception: "Failed to execute
'registerProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong to t
he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we
b+'.". |
6 PASS Invalid protocol "file" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the
protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+
'.". | 6 PASS Invalid protocol "file" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the
protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+
'.". |
7 PASS Invalid protocol "web+" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'web+' is less than five cha
racters long.". | 7 PASS Invalid protocol "web+" threw SecurityError exception: "Failed to execute '
registerProtocolHandler' on 'Navigator': The scheme 'web+' is less than five cha
racters long.". |
8 PASS Valid protocol "bitcoin" allowed. | 8 PASS Valid protocol "bitcoin" allowed. |
9 PASS Valid protocol "BitcoIn" allowed. | 9 PASS Valid protocol "BitcoIn" allowed. |
10 PASS Valid protocol "geo" allowed. | 10 PASS Valid protocol "geo" allowed. |
(...skipping 30 matching lines...) Expand all Loading... |
41 Check if registerProtocolHandler can register protocol correctly. If isProtocolH
andlerRegistered() returns 'registered' state, registerProtoclHandler() works we
ll. | 41 Check if registerProtocolHandler can register protocol correctly. If isProtocolH
andlerRegistered() returns 'registered' state, registerProtoclHandler() works we
ll. |
42 'bitcoin' protocol will be registered for testing. | 42 'bitcoin' protocol will be registered for testing. |
43 | 43 |
44 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. 'b
itcoin' is registered successfully. | 44 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. 'b
itcoin' is registered successfully. |
45 | 45 |
46 | 46 |
47 PASS successfullyParsed is true | 47 PASS successfullyParsed is true |
48 | 48 |
49 TEST COMPLETE | 49 TEST COMPLETE |
50 | 50 |
OLD | NEW |