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

Unified Diff: pkg/template_binding/test/custom_element_bindings_test.dart

Issue 25740006: port polymer data binding tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « pkg/template_binding/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/template_binding/test/custom_element_bindings_test.dart
diff --git a/pkg/template_binding/test/custom_element_bindings_test.dart b/pkg/template_binding/test/custom_element_bindings_test.dart
index 7508a31719543c853a578c63e96406b8ea0ec9b6..17793612392932b066f1988bcc9087ab652e2a33 100644
--- a/pkg/template_binding/test/custom_element_bindings_test.dart
+++ b/pkg/template_binding/test/custom_element_bindings_test.dart
@@ -6,6 +6,7 @@ library template_binding.test.custom_element_bindings_test;
import 'dart:async';
import 'dart:html';
+import 'package:custom_element/polyfill.dart';
import 'package:template_binding/template_binding.dart';
import 'package:observe/observe.dart' show toObservable;
import 'package:unittest/html_config.dart';
@@ -25,16 +26,6 @@ main() {
group('Custom Element Bindings', customElementBindingsTest);
}
-Future loadCustomElementPolyfill() {
- if (!document.supportsRegister) {
- var script = new ScriptElement()
- ..src = '/packages/custom_element/custom-elements.debug.js';
- document.head.append(script);
- return document.on['WebComponentsReady'].first;
- }
- return new Future.value();
-}
-
customElementBindingsTest() {
setUp(() {
document.body.append(testDiv = new DivElement());
« no previous file with comments | « pkg/template_binding/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698