| Index: LayoutTests/fast/dom/register-protocol-handler-expected.txt
|
| diff --git a/LayoutTests/fast/dom/register-protocol-handler-expected.txt b/LayoutTests/fast/dom/register-protocol-handler-expected.txt
|
| index 88d3d7b4fb3d018fae0f8905ff7cca72b3d3b32b..67bdeff48546eba7dd172a7c0b21edb554962c41 100644
|
| --- a/LayoutTests/fast/dom/register-protocol-handler-expected.txt
|
| +++ b/LayoutTests/fast/dom/register-protocol-handler-expected.txt
|
| @@ -1,30 +1,36 @@
|
| This test makes sure that navigator.registerProtocolHandler throws the proper exceptions and has no-op default implementation.
|
|
|
| -Pass: window.navigator.registerProtocolHandler is defined.
|
| -Pass: Invalid protocol "http" threw SecurityError exception.
|
| -Pass: Invalid protocol "https" threw SecurityError exception.
|
| -Pass: Invalid protocol "file" threw SecurityError exception.
|
| -Pass: Invalid protocol "web+" threw SecurityError exception.
|
| -Pass: Valid protocol "bitcoin" allowed.
|
| -Pass: Valid protocol "geo" allowed.
|
| -Pass: Valid protocol "im" allowed.
|
| -Pass: Valid protocol "irc" allowed.
|
| -Pass: Valid protocol "ircs" allowed.
|
| -Pass: Valid protocol "magnet" allowed.
|
| -Pass: Valid protocol "mailto" allowed.
|
| -Pass: Valid protocol "mms" allowed.
|
| -Pass: Valid protocol "news" allowed.
|
| -Pass: Valid protocol "nntp" allowed.
|
| -Pass: Valid protocol "sip" allowed.
|
| -Pass: Valid protocol "sms" allowed.
|
| -Pass: Valid protocol "smsto" allowed.
|
| -Pass: Valid protocol "ssh" allowed.
|
| -Pass: Valid protocol "tel" allowed.
|
| -Pass: Valid protocol "urn" allowed.
|
| -Pass: Valid protocol "webcal" allowed.
|
| -Pass: Valid protocol "wtai" allowed.
|
| -Pass: Valid protocol "xmpp" allowed.
|
| -Pass: Invalid url "" threw SyntaxError exception.
|
| -Pass: Invalid url "%S" threw SyntaxError exception.
|
| -Pass: Valid call succeeded.
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS window.navigator.registerProtocolHandler is defined.
|
| +PASS window.navigator.registerProtocolHandler('http', 'invalid protocol %s', 'title'); threw exception SecurityError: Failed to execute 'registerProtocolHandler' on 'Navigator': the scheme 'http' may not be registered..
|
| +PASS window.navigator.registerProtocolHandler('https', 'invalid protocol %s', 'title'); threw exception SecurityError: Failed to execute 'registerProtocolHandler' on 'Navigator': the scheme 'https' may not be registered..
|
| +PASS window.navigator.registerProtocolHandler('file', 'invalid protocol %s', 'title'); threw exception SecurityError: Failed to execute 'registerProtocolHandler' on 'Navigator': the scheme 'file' may not be registered..
|
| +PASS window.navigator.registerProtocolHandler('web+', 'invalid protocol %s', 'title'); threw exception SecurityError: Failed to execute 'registerProtocolHandler' on 'Navigator': the scheme length (including 'web+') must be at least 5 characters..
|
| +PASS window.navigator.registerProtocolHandler('bitcoin', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('geo', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('im', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('irc', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('ircs', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('magnet', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('mailto', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('mms', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('news', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('nntp', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('sip', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('sms', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('smsto', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('ssh', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('tel', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('urn', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('webcal', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('wtai', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('xmpp', 'valid protocol %s', 'title'); did not throw exception.
|
| +PASS window.navigator.registerProtocolHandler('web+myprotocol', '', 'title'); threw exception SyntaxError: An invalid or illegal string was specified..
|
| +PASS window.navigator.registerProtocolHandler('web+myprotocol', '%S', 'title'); threw exception SyntaxError: An invalid or illegal string was specified..
|
| +PASS window.navigator.registerProtocolHandler('web+myprotocol', '%s', 'title'); did not throw exception.
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
|
|
|
|