| 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 fb4e71553a9e060a5b9e655364bc49a0650ffa50..4eadbee60868ea9d5fbe62aacdf760a49e52844b 100644
|
| --- a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| +++ b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt
|
| @@ -6,9 +6,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
|
| PASS typeof fooConstructor is "function"
|
| PASS fooConstructor.prototype.__proto__ is HTMLElement.prototype
|
| PASS fooConstructor.prototype.thisIsPrototype is true
|
| -PASS document.register("x-bad-a", HTMLElement) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-a': prototype is already in-use as an interface prototype object..
|
| -PASS document.register("x-bad-b", fooConstructor) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-b': prototype is already in-use as an interface prototype object..
|
| -PASS document.register("x-bad-c", { prototype: proto }) threw exception NotSupportedError: Failed to call 'register' on 'Document' for type 'x-bad-c': prototype constructor property is not configurable..
|
| +PASS document.register("x-bad-a", HTMLElement) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-a'. The prototype is already in-use as an interface prototype object..
|
| +PASS document.register("x-bad-b", fooConstructor) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-b'. The prototype is already in-use as an interface prototype object..
|
| +PASS document.register("x-bad-c", { prototype: proto }) threw exception NotSupportedError: Failed to execute 'register' on 'Document': Registration failed for type 'x-bad-c'. Prototype constructor property is not configurable..
|
| 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
|
|
|