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

Unified Diff: LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.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/constructor-calls-created-synchronously.html
diff --git a/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html b/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html
index 5fc5b41f757fb34a08cbb7ccbc2ce93635a083a6..69a643da8fe17ea42e07d48694ca40d6b517cc20 100644
--- a/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html
+++ b/LayoutTests/fast/dom/custom/constructor-calls-created-synchronously.html
@@ -9,7 +9,7 @@ var ncallbacks = 0;
proto.createdCallback = function () {
ncallbacks++;
};
-var A = document.register('x-a', {prototype: proto});
+var A = document.registerElement('x-a', {prototype: proto});
var x = new A();
shouldBe('ncallbacks', '1');
« no previous file with comments | « LayoutTests/fast/dom/custom/callback-context.html ('k') | LayoutTests/fast/dom/custom/created-callback.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698