OLD | NEW |
| (Empty) |
1 This test makes sure that navigator.registerProtocolHandler throws the proper ex
ceptions and has no-op default implementation. | |
2 | |
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 th
e 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
the protocol whitelist. Please prefix non-whitelisted schemes with the string 'w
eb+'.". | |
6 Pass: Invalid protocol "file" threw SecurityError exception: "Failed to execute
'registerProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to th
e 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 ch
aracters long.". | |
8 Pass: Valid protocol "bitcoin" allowed. | |
9 Pass: Valid protocol "geo" allowed. | |
10 Pass: Valid protocol "im" allowed. | |
11 Pass: Valid protocol "irc" allowed. | |
12 Pass: Valid protocol "ircs" allowed. | |
13 Pass: Valid protocol "magnet" allowed. | |
14 Pass: Valid protocol "mailto" allowed. | |
15 Pass: Valid protocol "mms" allowed. | |
16 Pass: Valid protocol "news" allowed. | |
17 Pass: Valid protocol "nntp" allowed. | |
18 Pass: Valid protocol "sip" allowed. | |
19 Pass: Valid protocol "sms" allowed. | |
20 Pass: Valid protocol "smsto" allowed. | |
21 Pass: Valid protocol "ssh" allowed. | |
22 Pass: Valid protocol "tel" allowed. | |
23 Pass: Valid protocol "urn" allowed. | |
24 Pass: Valid protocol "webcal" allowed. | |
25 Pass: Valid protocol "wtai" allowed. | |
26 Pass: Valid protocol "xmpp" allowed. | |
27 Pass: Invalid url "" threw SyntaxError exception: "Failed to execute 'registerPr
otocolHandler' on 'Navigator': The url provided ('') does not contain '%s'.". | |
28 Pass: Invalid url "%S" threw SyntaxError exception: "Failed to execute 'register
ProtocolHandler' on 'Navigator': The url provided ('%S') does not contain '%s'."
. | |
29 Pass: Valid call succeeded. | |
30 | |
OLD | NEW |