Index: LayoutTests/fast/dom/custom/upgrade-candidate-adopt-crash.html |
diff --git a/LayoutTests/fast/dom/custom/upgrade-candidate-adopt-crash.html b/LayoutTests/fast/dom/custom/upgrade-candidate-adopt-crash.html |
index f7e588f44fc1192ca9d53addf5c9a598fc39aebf..b8090de75128aae148743180660ca0e6df1e164c 100644 |
--- a/LayoutTests/fast/dom/custom/upgrade-candidate-adopt-crash.html |
+++ b/LayoutTests/fast/dom/custom/upgrade-candidate-adopt-crash.html |
@@ -24,7 +24,7 @@ withFrame(function (frame) { |
proto.createdCallback = function () { |
testFailed('unreachable'); |
}; |
- document.register('x-a', {prototype: proto}); |
+ document.registerElement('x-a', {prototype: proto}); |
testPassed('Did not crash.'); |