Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: LayoutTests/inspector/debugger/custom-element-lifecycle-events.html

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 = [

Powered by Google App Engine
This is Rietveld 408576698