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 f9337e34be898cfb293a76b3d65cb5214f4df44c..fb4e71553a9e060a5b9e655364bc49a0650ffa50 100644 |
--- a/LayoutTests/fast/dom/custom/document-register-basic-expected.txt |
+++ b/LayoutTests/fast/dom/custom/document-register-basic-expected.txt |
@@ -9,8 +9,6 @@ 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-d", { prototype: {} }) threw exception InvalidStateError: Failed to call 'register' on 'Document' for type 'x-bad-d': the prototype does not extend an HTML or SVG element.. |
-PASS document.register("x-bad-e", { prototype: Object.create(Document.prototype) }) threw exception InvalidStateError: Failed to call 'register' on 'Document' for type 'x-bad-e': the prototype does not extend an HTML or SVG element.. |
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 |