Index: LayoutTests/inspector/debugger/custom-element-lifecycle-events.html |
diff --git a/LayoutTests/inspector/debugger/custom-element-lifecycle-events.html b/LayoutTests/inspector/debugger/custom-element-lifecycle-events.html |
index 7324ed9824b400b47c1cd40e02907b3b480fc40a..71dddc393b1233146fd36a6475d219e00d74fc37 100644 |
--- a/LayoutTests/inspector/debugger/custom-element-lifecycle-events.html |
+++ b/LayoutTests/inspector/debugger/custom-element-lifecycle-events.html |
@@ -8,10 +8,10 @@ function test() { |
var setup = [ |
"var proto = Object.create(HTMLElement.prototype);", |
"proto.createdCallback = function() { output('Invoked createdCallback.'); };", |
- "proto.enteredViewCallback = function() { output('Invoked enteredViewCallback.'); };", |
- "proto.leftViewCallback = function() { output('Invoked leftViewCallback.'); };", |
+ "proto.attachedCallback = function() { output('Invoked attachedCallback.'); };", |
+ "proto.detachedCallback = function() { output('Invoked detachedCallback.'); };", |
"proto.attributeChangedCallback = function() { output('Invoked attributeChangedCallback.'); };", |
- "CustomElement = document.register('x-foo', {prototype: proto});", |
+ "CustomElement = document.registerElement('x-foo', {prototype: proto});", |
].join('\n'); |
var lifecycleCallbacks = [ |