Index: LayoutTests/fast/dom/custom/default-prototype.html |
diff --git a/LayoutTests/fast/dom/custom/default-prototype.html b/LayoutTests/fast/dom/custom/default-prototype.html |
index 7a89fb5617bae9cd664464f1b9d293992c0dd090..12a4d8d4897ae81e11f4be4e31042adfc59d7c5f 100644 |
--- a/LayoutTests/fast/dom/custom/default-prototype.html |
+++ b/LayoutTests/fast/dom/custom/default-prototype.html |
@@ -4,7 +4,7 @@ |
<body> |
<script> |
test(function () { |
- var A = document.register('x-a'); |
+ var A = document.registerElement('x-a'); |
assert_equals(A.prototype.constructor, A, |
'the default prototype\'s constructor should be the ' + |
'generated constructor'); |