| Index: LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
|
| diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
|
| index 31fd9e0a9adf63e83f781210a19a3d1f0d2df6c2..aed2c197474021a0660aee63aa084853debca9e7 100644
|
| --- a/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
|
| +++ b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err-expected.txt
|
| @@ -13,17 +13,17 @@ PASS document.implementation.createDocumentType(null, null) threw exception Type
|
| PASS document.implementation.createDocumentType(null, '') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
|
| PASS document.implementation.createDocumentType('', null) threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
|
| PASS document.implementation.createDocumentType('', '') threw exception TypeError: Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only 2 present..
|
| -PASS document.implementation.createDocumentType('a:', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
|
| -PASS document.implementation.createDocumentType(':foo', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
|
| -PASS document.implementation.createDocumentType(':', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
|
| +PASS document.implementation.createDocumentType('a:', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': The specified name is empty..
|
| +PASS document.implementation.createDocumentType(':foo', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': A colon (':') may not be used to begin a name..
|
| +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..
|
| PASS document.implementation.createDocumentType('foo', null, null) did not throw exception.
|
| PASS document.implementation.createDocumentType('foo:bar', null, null) did not throw exception.
|
| -PASS document.implementation.createDocumentType('foo::bar', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
|
| -PASS document.implementation.createDocumentType(' :bar', null, null) threw exception InvalidCharacterError: The string contains invalid characters..
|
| -PASS document.implementation.createDocumentType('foo: ', null, null) threw exception InvalidCharacterError: The string contains invalid characters..
|
| -PASS document.implementation.createDocumentType('foo :bar', null, null) threw exception InvalidCharacterError: The string contains invalid characters..
|
| -PASS document.implementation.createDocumentType('foo: bar', null, null) threw exception InvalidCharacterError: The string contains invalid characters..
|
| -PASS document.implementation.createDocumentType('a:b:c', null, null) threw exception NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces..
|
| +PASS document.implementation.createDocumentType('foo::bar', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': Multiple colons (':') are not allowed..
|
| +PASS document.implementation.createDocumentType(' :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The character ' ' may not be used to start a name..
|
| +PASS document.implementation.createDocumentType('foo: ', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The character ' ' may not be used to start a name..
|
| +PASS document.implementation.createDocumentType('foo :bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The character ' ' may not be used in a name..
|
| +PASS document.implementation.createDocumentType('foo: bar', null, null) threw exception InvalidCharacterError: Failed to execute 'createDocumentType' on 'DOMImplementation': The character ' ' may not be used to start a name..
|
| +PASS document.implementation.createDocumentType('a:b:c', null, null) threw exception NamespaceError: Failed to execute 'createDocumentType' on 'DOMImplementation': Multiple colons (':') are not allowed..
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|