| Index: LayoutTests/fast/dom/custom/document-register-type-extensions.html
|
| diff --git a/LayoutTests/fast/dom/custom/document-register-type-extensions.html b/LayoutTests/fast/dom/custom/document-register-type-extensions.html
|
| index 4beec3989da12f0a8d14fdd9f2ab355f07fce8d6..e22e0d769266338f2f47ec2532e29d6114ec313f 100644
|
| --- a/LayoutTests/fast/dom/custom/document-register-type-extensions.html
|
| +++ b/LayoutTests/fast/dom/custom/document-register-type-extensions.html
|
| @@ -123,7 +123,7 @@ fooCreatedEmpty = document.createElement('x-foo', '');
|
| shouldBeEqualToString('fooCreatedEmpty.outerHTML', fooOuterHTML);
|
| shouldBeTrue('fooCreatedEmpty instanceof fooConstructor');
|
|
|
| -shouldThrow('document.createElement("@invalid", "x-bar")', '"InvalidCharacterError: The string contains invalid characters."');
|
| +shouldThrow('document.createElement("@invalid", "x-bar")', '"InvalidCharacterError: Failed to execute \'createElement\' on \'Document\': \'@invalid\' is not a valid element name."');
|
|
|
| //
|
| // createElementNS() with type extensions
|
| @@ -138,7 +138,7 @@ shouldBeEqualToString('barCreatedNS.outerHTML', barOuterHTML);
|
| shouldBeTrue('barCreatedNS instanceof barConstructor');
|
| shouldBeTrue('isFormControl(barCreatedNS)');
|
|
|
| -shouldThrow('document.createElementNS("http://example.com/2013/no-such-namespace", "xml:lang", "x-bar")', '"NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces."');
|
| +shouldThrow('document.createElementNS("http://example.com/2013/no-such-namespace", "xml:lang", "x-bar")', '"NamespaceError: Failed to execute \'createElementNS\' on \'Document\': \'http://example.com/2013/no-such-namespace\' is not a valid namespace for elements."');
|
|
|
| // parser
|
| function createElementFromHTML(html) {
|
|
|