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

Unified Diff: tests/html/custom/template_wrappers_test.dart

Issue 268313002: [dart:html] rename register to registerElement per spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 6 years, 7 months 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 | « tests/html/custom/regress_194523002_test.dart ('k') | tests/html/custom_elements_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/custom/template_wrappers_test.dart
diff --git a/tests/html/custom/template_wrappers_test.dart b/tests/html/custom/template_wrappers_test.dart
index 5b9ff64fdde0bf233ac0fa05edb48f032d6bfaec..0828c976b0a5e70fea3d560771589486efb4d735 100644
--- a/tests/html/custom/template_wrappers_test.dart
+++ b/tests/html/custom/template_wrappers_test.dart
@@ -30,7 +30,7 @@ main() {
test('element is upgraded once', () {
expect(createdCount, 0);
- document.register('x-custom', CustomElement);
+ document.registerElement('x-custom', CustomElement);
expect(createdCount, 0);
var element = document.createElement('x-custom');
@@ -54,7 +54,7 @@ main() {
d1.attributes['foo'] = 'bar';
d1 = null;
- document.register('x-custom-two', CustomElement);
+ document.registerElement('x-custom-two', CustomElement);
expect(createdCount, 1);
« no previous file with comments | « tests/html/custom/regress_194523002_test.dart ('k') | tests/html/custom_elements_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698