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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-paste.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/fast/dom/custom/lifecycle-created-paste.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-paste.html b/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
index 7fefed97fe30cb640f1308eac0dbba9f0e4f5eef..d26706f891d2c7b7b16d8cb7d3cb2caa1b176ae3 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-paste.html
@@ -5,8 +5,8 @@
<script>
description("This test ensures that the lifecycle callbacks of editing-originated elements are visible in following script block.")
window.callbacksCalled = [];
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
-document.register("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
+document.registerElement("x-bar", { extends: "div", prototype: Object.create(HTMLDivElement.prototype, { createdCallback: { value: function() { window.callbacksCalled.push(this.tagName); } } }) });
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698