Index: LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html |
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html |
index 4d762b4f6f659d2cc85e82be0fa99b14244d70c9..5f9d983bb50f92bdc0507bc42f5f0dbd07ed85e9 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-recursion.html |
@@ -5,7 +5,7 @@ |
</head> |
<body> |
<script> |
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) }); |
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) }); |
if (window.testRunner) |
testRunner.dumpAsText(); |
document.createElement("x-foo"); |