Index: LayoutTests/fast/dom/custom/attribute-changed-callback.html |
diff --git a/LayoutTests/fast/dom/custom/attribute-changed-callback.html b/LayoutTests/fast/dom/custom/attribute-changed-callback.html |
index d7546745f469645ea41eedd09080b2096de652be..195b1ae4e597a320827dba4864a67a48ddb4fd26 100644 |
--- a/LayoutTests/fast/dom/custom/attribute-changed-callback.html |
+++ b/LayoutTests/fast/dom/custom/attribute-changed-callback.html |
@@ -24,7 +24,7 @@ test(function () { |
get: getter |
} |
}); |
- var ctor = document.register('x-a', {prototype: proto}); |
+ var ctor = document.registerElement('x-a', {prototype: proto}); |
assert_equals(getterInvocations, 1, 'the attribute changed callback must have been retrieved'); |
proto.attributeChangedCallback = failer; |
@@ -45,7 +45,7 @@ test(function () { |
var proto = Object.create(HTMLElement.prototype); |
proto.createdCallback = created; |
proto.attributeChangedCallback = attributeChanged; |
- var B = document.register('x-b', {prototype: proto}); |
+ var B = document.registerElement('x-b', {prototype: proto}); |
var b = new B(); |
b.id = 'x'; |