Index: LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt |
diff --git a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt |
index 3045942f1f26375329aedaeaa5099070b7d90f09..677f11ddca95430c60f7f2b37c7d2aaa3fb375b3 100644 |
--- a/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt |
+++ b/LayoutTests/fast/dom/custom/document-register-type-extensions-expected.txt |
@@ -1,9 +1,9 @@ |
-Testing document.register() type extension behaviours through createElement(). |
+Testing document.registerElement() type extension behaviours through createElement(). |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS document.register("x-foo", { prototype: Object.create(HTMLDivElement.prototype) }) threw exception InvalidStateError: Failed to execute 'register' on 'Document': Registration failed for type 'x-foo'. A type with that name is already registered.. |
+PASS document.registerElement("x-foo", { prototype: Object.create(HTMLDivElement.prototype) }) threw exception InvalidStateError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'x-foo'. A type with that name is already registered.. |
PASS fooNewed.outerHTML is "<x-foo></x-foo>" |
PASS fooNewed instanceof fooConstructor && fooNewed instanceof HTMLElement is true |
PASS fooNewed instanceof HTMLUnknownElement is false |