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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
1 createDocument tests modeled after mozilla's testing 1 createDocument tests modeled after mozilla's testing
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.implementation.createDocumentType('foo') threw exception TypeError : Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments req uired, but only 1 present.. 6 PASS document.implementation.createDocumentType('foo') threw exception TypeError : Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments req uired, but only 1 present..
7 PASS document.implementation.createDocumentType('foo', null) threw exception Typ eError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 argumen ts required, but only 2 present.. 7 PASS document.implementation.createDocumentType('foo', null) threw exception Typ eError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 argumen ts required, but only 2 present..
8 PASS document.implementation.createDocumentType(undefined, undefined) threw exce ption TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present.. 8 PASS document.implementation.createDocumentType(undefined, undefined) threw exce ption TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
9 PASS document.implementation.createDocumentType(null, undefined) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arg uments required, but only 2 present.. 9 PASS document.implementation.createDocumentType(null, undefined) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arg uments required, but only 2 present..
10 PASS document.implementation.createDocumentType(undefined, null) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arg uments required, but only 2 present.. 10 PASS document.implementation.createDocumentType(undefined, null) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arg uments required, but only 2 present..
11 PASS document.implementation.createDocumentType(undefined, undefined, null) did not throw exception. 11 PASS document.implementation.createDocumentType(undefined, undefined, null) did not throw exception.
12 PASS document.implementation.createDocumentType(null, null) threw exception Type Error: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 argument s required, but only 2 present.. 12 PASS document.implementation.createDocumentType(null, null) threw exception Type Error: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 argument s required, but only 2 present..
13 PASS document.implementation.createDocumentType(null, '') threw exception TypeEr ror: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present.. 13 PASS document.implementation.createDocumentType(null, '') threw exception TypeEr ror: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
14 PASS document.implementation.createDocumentType('', null) threw exception TypeEr ror: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present.. 14 PASS document.implementation.createDocumentType('', null) threw exception TypeEr ror: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
15 PASS document.implementation.createDocumentType('', '') threw exception TypeErro r: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments re quired, but only 2 present.. 15 PASS document.implementation.createDocumentType('', '') threw exception TypeErro r: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments re quired, but only 2 present..
16 PASS document.implementation.createDocumentType('a:', null, null) threw exceptio n NamespaceError: An attempt was made to create or change an object in a way whi ch is incorrect with regard to namespaces.. 16 PASS document.implementation.createDocumentType('a:', null, null) threw exceptio n NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The specified name is empty..
17 PASS document.implementation.createDocumentType(':foo', null, null) threw except ion NamespaceError: An attempt was made to create or change an object in a way w hich is incorrect with regard to namespaces.. 17 PASS document.implementation.createDocumentType(':foo', null, null) threw except ion NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation ': A colon (':') may not be used to begin a name..
18 PASS document.implementation.createDocumentType(':', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way whic h is incorrect with regard to namespaces.. 18 PASS document.implementation.createDocumentType(':', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': A colon (':') may not be used to begin a name..
19 PASS document.implementation.createDocumentType('foo', null, null) did not throw exception. 19 PASS document.implementation.createDocumentType('foo', null, null) did not throw exception.
20 PASS document.implementation.createDocumentType('foo:bar', null, null) did not t hrow exception. 20 PASS document.implementation.createDocumentType('foo:bar', null, null) did not t hrow exception.
21 PASS document.implementation.createDocumentType('foo::bar', null, null) threw ex ception NamespaceError: An attempt was made to create or change an object in a w ay which is incorrect with regard to namespaces.. 21 PASS document.implementation.createDocumentType('foo::bar', null, null) threw ex ception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementa tion': Multiple colons (':') are not allowed..
22 PASS document.implementation.createDocumentType('» :bar', null, null) threw exception InvalidCharacterError: The string contains invalid characters.. 22 PASS document.implementation.createDocumentType('» :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOM Implementation': The character '» ' may not be used to start a name..
23 PASS document.implementation.createDocumentType('foo:» ', null, null) threw exc eption InvalidCharacterError: The string contains invalid characters.. 23 PASS document.implementation.createDocumentType('foo:» ', null, null) threw exc eption InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImpl ementation': The character '» ' may not be used to start a name..
24 PASS document.implementation.createDocumentType('foo :bar', null, null) threw ex ception InvalidCharacterError: The string contains invalid characters.. 24 PASS document.implementation.createDocumentType('foo :bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The character ' ' may not be used in a name..
25 PASS document.implementation.createDocumentType('foo: bar', null, null) threw ex ception InvalidCharacterError: The string contains invalid characters.. 25 PASS document.implementation.createDocumentType('foo: bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The character ' ' may not be used to start a name..
26 PASS document.implementation.createDocumentType('a:b:c', null, null) threw excep tion NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.. 26 PASS document.implementation.createDocumentType('a:b:c', null, null) threw excep tion NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementatio n': Multiple colons (':') are not allowed..
27 PASS successfullyParsed is true 27 PASS successfullyParsed is true
28 28
29 TEST COMPLETE 29 TEST COMPLETE
30 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698