| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS the registerProtocolHandler method should exist on the navigator object |
| 3 PASS a handler with valid arguments should work |
| 4 PASS a relative URL should work |
| 5 PASS a URL with a fragment identifier should work |
| 6 PASS a URL with a query string should work |
| 7 PASS a URL with a multi-argument query string should work |
| 8 PASS a URL with the passed string as a directory name should work |
| 9 PASS a URL with the passed string as a directory name followed by a query string
and fragment identifier should work |
| 10 PASS a URL with the passed string included twice should work |
| 11 PASS an empty url argument should throw SYNTAX_ERR |
| 12 PASS %s instead of domain name should throw SYNTAX_ERR |
| 13 PASS %s instead of subdomain name should throw SYNTAX_ERR |
| 14 PASS a url argument without %s should throw SYNTAX_ERR |
| 15 PASS a url argument pointing to a different domain name, without %s should throw
SYNTAX_ERR |
| 16 PASS a url argument without %s (but with %) should throw SYNTAX_ERR |
| 17 PASS a url argument without %s (but with %a) should throw SYNTAX_ERR |
| 18 FAIL a url argument pointing to a different domain name should throw SECURITY_ER
R assert_throws: function "function () { navigator.registerProtocolHandler('mail
to',..." did not throw |
| 19 FAIL a url argument pointing to a different domain name should throw SECURITY_ER
R (2) assert_throws: function "function () { navigator.registerProtocolHandler('
mailto',..." did not throw |
| 20 FAIL a url argument pointing to a different domain name should throw SECURITY_ER
R (3) assert_throws: function "function () { navigator.registerProtocolHandler('
mailto',..." did not throw |
| 21 FAIL looping handlers should throw SECURITY_ERR assert_throws: function "functio
n () { navigator.registerProtocolHandler('mailto',..." did not throw |
| 22 FAIL a url argument pointing to a non-http[s] scheme should throw SECURITY_ERR d
ue to not being of the same origin assert_throws: function "function () { naviga
tor.registerProtocolHandler('sms', 't..." did not throw |
| 23 PASS a protocol argument containing an unrecognized scheme should throw SECURITY
_ERR |
| 24 PASS a protocol argument containing : should throw SYNTAX_ERR |
| 25 PASS a protocol argument containing :// should throw SYNTAX_ERR |
| 26 PASS a protocol argument containing http:// should throw SYNTAX_ERR |
| 27 PASS a protocol argument containing a null character should throw SYNTAX_ERR |
| 28 PASS a protocol argument containing a backspace character should throw SYNTAX_ER
R |
| 29 PASS a protocol argument containing a LF character should throw SYNTAX_ERR |
| 30 PASS a protocol argument containing non-alphanumeric characters (like a cyrillic
“а”) should throw SYNTAX_ERR |
| 31 PASS a protocol argument of “TEL” should be equivalent to “tel” |
| 32 PASS a protocol argument of “teL” should be equivalent to “tel” |
| 33 PASS attempting to override the about protocol should throw SECURITY_ERR |
| 34 PASS attempting to override the attachment protocol should throw SECURITY_ERR |
| 35 PASS attempting to override the blob protocol should throw SECURITY_ERR |
| 36 PASS attempting to override the chrome protocol should throw SECURITY_ERR |
| 37 PASS attempting to override the cid protocol should throw SECURITY_ERR |
| 38 PASS attempting to override the data protocol should throw SECURITY_ERR |
| 39 PASS attempting to override the file protocol should throw SECURITY_ERR |
| 40 PASS attempting to override the ftp protocol should throw SECURITY_ERR |
| 41 PASS attempting to override the http protocol should throw SECURITY_ERR |
| 42 PASS attempting to override the https protocol should throw SECURITY_ERR |
| 43 PASS attempting to override the javascript protocol should throw SECURITY_ERR |
| 44 PASS attempting to override the livescript protocol should throw SECURITY_ERR |
| 45 PASS attempting to override the mid protocol should throw SECURITY_ERR |
| 46 PASS attempting to override the mocha protocol should throw SECURITY_ERR |
| 47 PASS attempting to override the opera protocol should throw SECURITY_ERR |
| 48 PASS attempting to override the operamail protocol should throw SECURITY_ERR |
| 49 PASS attempting to override the res protocol should throw SECURITY_ERR |
| 50 PASS attempting to override the resource protocol should throw SECURITY_ERR |
| 51 PASS attempting to override the shttp protocol should throw SECURITY_ERR |
| 52 PASS attempting to override the tcl protocol should throw SECURITY_ERR |
| 53 PASS attempting to override the vbscript protocol should throw SECURITY_ERR |
| 54 PASS attempting to override the view-source protocol should throw SECURITY_ERR |
| 55 PASS attempting to override the ws protocol should throw SECURITY_ERR |
| 56 PASS attempting to override the wss protocol should throw SECURITY_ERR |
| 57 PASS attempting to override the wyciwyg protocol should throw SECURITY_ERR |
| 58 PASS overriding the geo protocol should work |
| 59 PASS overriding the im protocol should work |
| 60 PASS overriding the irc protocol should work |
| 61 PASS overriding the ircs protocol should work |
| 62 PASS overriding the mailto protocol should work |
| 63 PASS overriding the mms protocol should work |
| 64 PASS overriding the news protocol should work |
| 65 PASS overriding the nntp protocol should work |
| 66 PASS overriding the sms protocol should work |
| 67 PASS overriding the smsto protocol should work |
| 68 PASS overriding the tel protocol should work |
| 69 PASS overriding the urn protocol should work |
| 70 PASS overriding the webcal protocol should work |
| 71 PASS overriding the wtai protocol should work |
| 72 PASS overriding the xmpp protocol should work |
| 73 Harness: the test ran to completion. |
| 74 |
| OLD | NEW |