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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.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-createElement-reentrancy.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html
index bd68d906b671a84f7bd285b51db75b5a9f419978..c9620fa716464c6c93a46af834e1a0c51400c381 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-createElement-reentrancy.html
@@ -19,8 +19,8 @@ function barCreatedFunction() {
window.callbacksCalled.push(this.tagName);
}
-document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: fooCreatedFunction } }) });
-document.register("x-bar", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: barCreatedFunction } }) });
+document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: fooCreatedFunction } }) });
+document.registerElement("x-bar", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: barCreatedFunction } }) });
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698