Index: LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html |
diff --git a/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html b/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html |
index 5fc5b41f757fb34a08cbb7ccbc2ce93635a083a6..69a643da8fe17ea42e07d48694ca40d6b517cc20 100644 |
--- a/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html |
+++ b/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html |
@@ -9,7 +9,7 @@ var ncallbacks = 0; |
proto.createdCallback = function () { |
ncallbacks++; |
}; |
-var A = document.register('x-a', {prototype: proto}); |
+var A = document.registerElement('x-a', {prototype: proto}); |
var x = new A(); |
shouldBe('ncallbacks', '1'); |