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

Unified Diff: LayoutTests/fast/dom/custom/attribute-changed-callback.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/attribute-changed-callback.html
diff --git a/LayoutTests/fast/dom/custom/attribute-changed-callback.html b/LayoutTests/fast/dom/custom/attribute-changed-callback.html
index d7546745f469645ea41eedd09080b2096de652be..195b1ae4e597a320827dba4864a67a48ddb4fd26 100644
--- a/LayoutTests/fast/dom/custom/attribute-changed-callback.html
+++ b/LayoutTests/fast/dom/custom/attribute-changed-callback.html
@@ -24,7 +24,7 @@ test(function () {
get: getter
}
});
- var ctor = document.register('x-a', {prototype: proto});
+ var ctor = document.registerElement('x-a', {prototype: proto});
assert_equals(getterInvocations, 1, 'the attribute changed callback must have been retrieved');
proto.attributeChangedCallback = failer;
@@ -45,7 +45,7 @@ test(function () {
var proto = Object.create(HTMLElement.prototype);
proto.createdCallback = created;
proto.attributeChangedCallback = attributeChanged;
- var B = document.register('x-b', {prototype: proto});
+ var B = document.registerElement('x-b', {prototype: proto});
var b = new B();
b.id = 'x';

Powered by Google App Engine
This is Rietveld 408576698