| Index: LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
|
| diff --git a/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt b/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..118a43be974533ef1afd5d1a1ad289abb99bd3c9
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
|
| @@ -0,0 +1,31 @@
|
| +This is a testharness.js-based test.
|
| +FAIL the registerContentHandler method should exist on the navigator object assert_idl_attribute: property "registerContentHandler" not found in prototype chain
|
| +FAIL a handler with valid arguments should work navigator.registerContentHandler is not a function
|
| +FAIL a relative URL should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with a fragment identifier should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with a query string should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with a multi-argument query string should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with the passed string as a directory name should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with the passed string as a directory name followed by a query string and fragment identifier should work navigator.registerContentHandler is not a function
|
| +FAIL a URL with the passed string included twice should work navigator.registerContentHandler is not a function
|
| +FAIL an empty url argument should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL %s instead of domain name should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL %s instead of subdomain name should throw syntax_err assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL a url argument without %s should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL a url argument pointing to a different domain name, without %s should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL a url argument without %s (but with %) should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL a url argument without %s (but with %a) should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
|
| +FAIL a url argument pointing to a different domain name should throw SECURITY_ERR assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (2) assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL a url argument pointing to a different domain name should throw SECURITY_ERR (3) assert_throws: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL attempting to override the image/jpeg MIME type should throw SECURITY_ERR assert_throws: function "function () { navigator.registerContentHandler(blacklist[..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL attempting to override the text/html MIME type should throw SECURITY_ERR assert_throws: function "function () { navigator.registerContentHandler(blacklist[..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL attempting to override the text/javascript MIME type should throw SECURITY_ERR assert_throws: function "function () { navigator.registerContentHandler(blacklist[..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL attempting to override the text/plain MIME type should throw SECURITY_ERR assert_throws: function "function () { navigator.registerContentHandler(blacklist[..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to undefined, expected 18
|
| +FAIL overriding the application/atom+xml MIME type should work navigator.registerContentHandler is not a function
|
| +FAIL overriding the application/rss+xml MIME type should work navigator.registerContentHandler is not a function
|
| +FAIL overriding the application/x-unrecognized MIME type should work navigator.registerContentHandler is not a function
|
| +FAIL overriding the text/unrecognized MIME type should work navigator.registerContentHandler is not a function
|
| +FAIL overriding the foo/bar MIME type should work navigator.registerContentHandler is not a function
|
| +Harness: the test ran to completion.
|
| +
|
|
|