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

Unified Diff: LayoutTests/fast/dom/custom/lifecycle-created-parser-script.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-parser-script.html
diff --git a/LayoutTests/fast/dom/custom/lifecycle-created-parser-script.html b/LayoutTests/fast/dom/custom/lifecycle-created-parser-script.html
index bdb311db610c90540642f4185358430d32c0cc61..f983a7cebf9e9f2137e3ba267bfc63a9520dfd02 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-created-parser-script.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-created-parser-script.html
@@ -5,7 +5,7 @@
<script>
description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
proto = Object.create(HTMLElement.prototype, { createdCallback: { value: function() { window.callbacksCalled = true; } } });
-document.register("x-foo", { prototype: proto });
+document.registerElement("x-foo", { prototype: proto });
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698