Index: LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html |
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html |
index 5b0e510a0c99e9bea1923b9ddbbbaffda9393c11..8c2c514d7f1ba5be87e1b28a586489a5e117c237 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-creation-api.html |
@@ -10,8 +10,8 @@ function markingReadyCallback() { |
this.callbacksCalled = true; |
} |
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: markingReadyCallback } }) }); |
-document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: markingReadyCallback } }) }); |
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: markingReadyCallback } }) }); |
+document.registerElement("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: markingReadyCallback } }) }); |
</script> |
</head> |
<body> |