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

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

Issue 690163002: Update template_binding test that was still using the deprecated mutation_observer polyfill (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/template_binding/test/template_binding_test.dart
diff --git a/pkg/template_binding/test/template_binding_test.dart b/pkg/template_binding/test/template_binding_test.dart
index fde463b55f6e83d9d4a4b1a6e674dc9a9b01e20d..cc68bf3200925196e9cf22d5261cb654d7fb6acf 100644
--- a/pkg/template_binding/test/template_binding_test.dart
+++ b/pkg/template_binding/test/template_binding_test.dart
@@ -26,15 +26,9 @@ import 'utils.dart';
main() => dirtyCheckZone().run(() {
useHtmlConfiguration();
- // Load MutationObserver polyfill in case IE needs it.
- var script = new ScriptElement()
- ..src = '/root_dart/pkg/mutation_observer/lib/mutation_observer.min.js';
- var polyfillLoaded = script.onLoad.first;
- document.head.append(script);
-
- setUp(() => polyfillLoaded.then((_) {
+ setUp(() {
document.body.append(testDiv = new DivElement());
- }));
+ });
tearDown(() {
testDiv.remove();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698