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

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

Issue 2841393003: createElementNS() should now throw only InvalidCharacterError, not NamespaceError (Closed)
Patch Set: rebased Created 3 years, 7 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
OLDNEW
1 createDocument tests modelled after mozilla's testing 1 createDocument tests modelled 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: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided ('a:') has an empty local name.. 16 PASS document.implementation.createDocumentType('a:', null, null) threw exceptio n InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplement ation': The qualified name provided ('a:') has an empty local name..
17 PASS document.implementation.createDocumentType(':foo', null, null) threw except ion NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation ': The qualified name provided (':foo') has an empty namespace prefix.. 17 PASS document.implementation.createDocumentType(':foo', null, null) threw except ion InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImpleme ntation': The qualified name provided (':foo') has an empty namespace prefix..
18 PASS document.implementation.createDocumentType(':', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The qualified name provided (':') has an empty namespace prefix.. 18 PASS document.implementation.createDocumentType(':', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementa tion': The qualified name provided (':') has an empty namespace prefix..
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: Failed to execute 'createDocumentType' on 'DOMImplementa tion': The qualified name provided ('foo::bar') contains multiple colons.. 21 PASS document.implementation.createDocumentType('foo::bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The qualified name provided ('foo::bar') contains multiple colons. .
22 PASS document.implementation.createDocumentType(' :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOM Implementation': The qualified name provided (' :bar') contains the invalid name -start character ' '.. 22 PASS document.implementation.createDocumentType(' :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOM Implementation': The qualified name provided (' :bar') contains the invalid name -start character ' '..
23 PASS document.implementation.createDocumentType('foo: ', null, null) threw exc eption InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImpl ementation': The qualified name provided ('foo: ') contains the invalid name-sta rt character ' '.. 23 PASS document.implementation.createDocumentType('foo: ', null, null) threw exc eption InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImpl ementation': The qualified name provided ('foo: ') contains the invalid name-sta rt character ' '..
24 PASS document.implementation.createDocumentType('foo :bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The qualified name provided ('foo :bar') contains the invalid char acter ' '.. 24 PASS document.implementation.createDocumentType('foo :bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The qualified name provided ('foo :bar') contains the invalid char acter ' '..
25 PASS document.implementation.createDocumentType('foo: bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The qualified name provided ('foo: bar') contains the invalid name -start character ' '.. 25 PASS document.implementation.createDocumentType('foo: bar', null, null) threw ex ception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImp lementation': The qualified name provided ('foo: bar') contains the invalid name -start character ' '..
26 PASS document.implementation.createDocumentType('a:b:c', null, null) threw excep tion NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementatio n': The qualified name provided ('a:b:c') contains multiple colons.. 26 PASS document.implementation.createDocumentType('a:b:c', null, null) threw excep tion InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplem entation': The qualified name provided ('a:b:c') contains multiple colons..
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