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

Unified Diff: LayoutTests/fast/dom/custom/element-type.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
« no previous file with comments | « LayoutTests/fast/dom/custom/element-names.html ('k') | LayoutTests/fast/dom/custom/element-upgrade.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/custom/element-type.html
diff --git a/LayoutTests/fast/dom/custom/element-type.html b/LayoutTests/fast/dom/custom/element-type.html
index 0b9bd1f67b611ee06a75fbd1c92e100f4721c3f8..688e66649faf0ffc6685526ec52c8a2240678095 100644
--- a/LayoutTests/fast/dom/custom/element-type.html
+++ b/LayoutTests/fast/dom/custom/element-type.html
@@ -25,11 +25,11 @@ function onCreate(msg) {
var protoX = Object.create(HTMLSpanElement.prototype);
protoX.createdCallback = onCreate('X');
-var X = document.register('x-x', {extends: 'span', prototype: protoX});
+var X = document.registerElement('x-x', {extends: 'span', prototype: protoX});
var protoY = Object.create(HTMLSpanElement.prototype);
protoY.createdCallback = onCreate('Y');
-var Y = document.register('x-y', {extends: 'span', prototype: protoY});
+var Y = document.registerElement('x-y', {extends: 'span', prototype: protoY});
var a = document.querySelector('#a');
shouldBe('a.getAttribute("is")', '"x-y"');
« no previous file with comments | « LayoutTests/fast/dom/custom/element-names.html ('k') | LayoutTests/fast/dom/custom/element-upgrade.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698