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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/content-expected.txt

Issue 1166693007: W3C Test: import web-platform-tests/html/webappapis (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 FAIL the registerContentHandler method should exist on the navigator object asse rt_idl_attribute: property "registerContentHandler" not found in prototype chain
3 FAIL a handler with valid arguments should work navigator.registerContentHandler is not a function
4 FAIL a relative URL should work navigator.registerContentHandler is not a functi on
5 FAIL a URL with a fragment identifier should work navigator.registerContentHandl er is not a function
6 FAIL a URL with a query string should work navigator.registerContentHandler is n ot a function
7 FAIL a URL with a multi-argument query string should work navigator.registerCont entHandler is not a function
8 FAIL a URL with the passed string as a directory name should work navigator.regi sterContentHandler is not a function
9 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 f unction
10 FAIL a URL with the passed string included twice should work navigator.registerC ontentHandler is not a function
11 FAIL an empty url argument should throw SYNTAX_ERR assert_throws: function "func tion () { navigator.registerContentHandler('text/x-un..." threw object "TypeErro r: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
12 FAIL %s instead of domain name should throw SYNTAX_ERR assert_throws: function " function () { navigator.registerContentHandler('text/x-un..." threw object "Type Error: navigator.registerContentHandler is not a func..." that is not a DOMExcep tion SYNTAX_ERR: property "code" is equal to undefined, expected 12
13 FAIL %s instead of subdomain name should throw syntax_err assert_throws: functio n "function () { navigator.registerContentHandler('text/x-un..." threw object "T ypeError: navigator.registerContentHandler is not a func..." that is not a DOMEx ception SYNTAX_ERR: property "code" is equal to undefined, expected 12
14 FAIL a url argument without %s should throw SYNTAX_ERR assert_throws: function " function () { navigator.registerContentHandler('text/x-un..." threw object "Type Error: navigator.registerContentHandler is not a func..." that is not a DOMExcep tion SYNTAX_ERR: property "code" is equal to undefined, expected 12
15 FAIL a url argument pointing to a different domain name, without %s should throw SYNTAX_ERR assert_throws: function "function () { navigator.registerContentHand ler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal t o undefined, expected 12
16 FAIL a url argument without %s (but with %) should throw SYNTAX_ERR assert_throw s: function "function () { navigator.registerContentHandler('text/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is n ot a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
17 FAIL a url argument without %s (but with %a) should throw SYNTAX_ERR assert_thro ws: function "function () { navigator.registerContentHandler('text/x-un..." thre w object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 1 2
18 FAIL a url argument pointing to a different domain name should throw SECURITY_ER R 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 undefi ned, expected 18
19 FAIL a url argument pointing to a different domain name should throw SECURITY_ER R (2) assert_throws: function "function () { navigator.registerContentHandler('t ext/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to un defined, expected 18
20 FAIL a url argument pointing to a different domain name should throw SECURITY_ER R (3) assert_throws: function "function () { navigator.registerContentHandler('t ext/x-un..." threw object "TypeError: navigator.registerContentHandler is not a func..." that is not a DOMException SECURITY_ERR: property "code" is equal to un defined, expected 18
21 FAIL attempting to override the image/jpeg MIME type should throw SECURITY_ERR a ssert_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
22 FAIL attempting to override the text/html MIME type should throw SECURITY_ERR as sert_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
23 FAIL attempting to override the text/javascript MIME type should throw SECURITY_ ERR assert_throws: function "function () { navigator.registerContentHandler(blac klist[..." threw object "TypeError: navigator.registerContentHandler is not a fu nc..." that is not a DOMException SECURITY_ERR: property "code" is equal to unde fined, expected 18
24 FAIL attempting to override the text/plain MIME type should throw SECURITY_ERR a ssert_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
25 FAIL overriding the application/atom+xml MIME type should work navigator.registe rContentHandler is not a function
26 FAIL overriding the application/rss+xml MIME type should work navigator.register ContentHandler is not a function
27 FAIL overriding the application/x-unrecognized MIME type should work navigator.r egisterContentHandler is not a function
28 FAIL overriding the text/unrecognized MIME type should work navigator.registerCo ntentHandler is not a function
29 FAIL overriding the foo/bar MIME type should work navigator.registerContentHandl er is not a function
30 Harness: the test ran to completion.
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698