| Index: LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| diff --git a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| index 1c4922f3007dc6d4915de5beec785d942882bd96..d813d2ab26bde3a526826ee5d8640706539c28fb 100644
|
| --- a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| +++ b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| @@ -3,17 +3,17 @@ Testing document.register() basic behaviors.
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS document.register('foo', createRegisterParamters()) threw exception Error: InvalidCharacterError: DOM Exception 5.
|
| -PASS document.register('xfoo', createRegisterParamters()) threw exception Error: InvalidCharacterError: DOM Exception 5.
|
| -PASS document.register('missing-glyph', createRegisterParamters()) threw exception Error: InvalidCharacterError: DOM Exception 5.
|
| +PASS document.register('foo', createRegisterParamters()) threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
|
| +PASS document.register('xfoo', createRegisterParamters()) threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
|
| +PASS document.register('missing-glyph', createRegisterParamters()) threw exception InvalidCharacterError: An invalid or illegal character was specified, such as in an XML name..
|
| PASS typeof fooConstructor is 'function'
|
| PASS fooConstructor.prototype.__proto__ is HTMLElement.prototype
|
| PASS fooConstructor.prototype.thisIsPrototype is true
|
| -PASS document.register('x-foo', createRegisterParamters()) threw exception Error: InvalidStateError: DOM Exception 11.
|
| -PASS document.register('X-FOO', createRegisterParamters()) threw exception Error: InvalidStateError: DOM Exception 11.
|
| -PASS document.register('x-bad-a', { prototype: HTMLElement.prototype }) threw exception Error: InvalidStateError: DOM Exception 11.
|
| -PASS document.register('x-bad-b', { prototype: {} }) threw exception Error: InvalidStateError: DOM Exception 11.
|
| -PASS document.register('x-bad-c', { prototype: Object.create(Document.prototype) }) threw exception Error: InvalidStateError: DOM Exception 11.
|
| +PASS document.register('x-foo', createRegisterParamters()) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| +PASS document.register('X-FOO', createRegisterParamters()) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| +PASS document.register('x-bad-a', { prototype: HTMLElement.prototype }) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| +PASS document.register('x-bad-b', { prototype: {} }) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| +PASS document.register('x-bad-c', { prototype: Object.create(Document.prototype) }) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
|
| PASS fooConstructor() threw exception TypeError: DOM object constructor cannot be called as a function..
|
| PASS createdFoo.__proto__ is fooConstructor.prototype
|
| PASS createdFoo.constructor is fooConstructor
|
|
|