Index: LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html |
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html b/LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html |
index 63ad07ad69eff287da8fe3ac5f98c6abd393821f..ec4e7029f7c4761851f0e56e5ae26e6c76ed7130 100644 |
--- a/LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html |
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-parser-only.html |
@@ -3,7 +3,7 @@ |
<head> |
<script> |
proto = Object.create(HTMLElement.prototype, { createdCallback: { value: function() { this.innerHTML = "Hello"; } } }); |
-document.register("x-foo", { prototype: proto }); |
+document.registerElement("x-foo", { prototype: proto }); |
</script> |
</head> |
<body> |