Index: LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html |
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html |
index bd68d906b671a84f7bd285b51db75b5a9f419978..c9620fa716464c6c93a46af834e1a0c51400c381 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html |
@@ -19,8 +19,8 @@ function barCreatedFunction() { |
window.callbacksCalled.push(this.tagName); |
} |
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: fooCreatedFunction } }) }); |
-document.register("x-bar", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: barCreatedFunction } }) }); |
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: fooCreatedFunction } }) }); |
+document.registerElement("x-bar", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: barCreatedFunction } }) }); |
</script> |
</head> |
<body> |