Index: LayoutTests/fast/dom/custom/registration-context-delete-during-attribute-changed.html |
diff --git a/LayoutTests/fast/dom/custom/registration-context-delete-during-attribute-changed.html b/LayoutTests/fast/dom/custom/registration-context-delete-during-attribute-changed.html |
index 1490e668a7998e357e9d3b926998f9b0c5421b8f..0783b98dd8f06a9ed0949349d1a6763b118d49b4 100644 |
--- a/LayoutTests/fast/dom/custom/registration-context-delete-during-attribute-changed.html |
+++ b/LayoutTests/fast/dom/custom/registration-context-delete-during-attribute-changed.html |
@@ -17,7 +17,7 @@ if (fork()) { |
destroyContext(); |
}; |
- var A = document.register('x-a', {prototype: proto}); |
+ var A = document.registerElement('x-a', {prototype: proto}); |
var a = new A(); |
a.id = 'boom'; |
done(); |