Index: LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html |
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html b/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html |
index 1fece67059d554e3aa649acbc6617b8f0823718d..336d6cba20c21d5dcc2088611d8b18978818e918 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-innerHTML.html |
@@ -12,9 +12,9 @@ function trackingReadyCallback() |
window.callbacksCalled.push(this.id); |
} |
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
-document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
-document.register("x-baz", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
+document.registerElement("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
+document.registerElement("x-baz", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: trackingReadyCallback } }) }); |
</script> |
</head> |
<body> |