Index: LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html |
diff --git a/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html b/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html |
index 9b11bd2c36515e216f385721ab115cde80926940..95f44110cee472fb3239558259b51053d1ea9164 100644 |
--- a/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html |
+++ b/LayoutTests/fast/dom/custom/upgrade-candidate-remove-crash.html |
@@ -16,7 +16,7 @@ var proto = Object.create(HTMLSpanElement.prototype); |
proto.createdCallback = function () { |
testFailed('unreachable'); |
}; |
-document.register('x-a', {prototype: proto}); |
+document.registerElement('x-a', {prototype: proto}); |
testPassed('Did not crash.'); |