Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1018)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt

Issue 2696083004: Do not commit: Remove testharness.js test results that are all-PASS, ignoring console output (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
deleted file mode 100644
index 09b3983a3a32a728de9384eb8ec843050c9f37e8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/external/wpt/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-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-unknown-type', '', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'http://%s.com', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'http://%s.example.com', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', location.href + '', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'http://example.com', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', location.href + '/%', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', location.href + '/%a', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'http://example.com/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'https://example.com/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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-unknown-type', 'http://foobar.example.com/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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[bi], location.href + '/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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[bi], location.href + '/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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[bi], location.href + '/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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[bi], location.href + '/%s', 'foo') }" threw object "TypeError: navigator.registerContentHandler is not a function" 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.
-

Powered by Google App Engine
This is Rietveld 408576698