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

Unified Diff: pkg/polymer/test/build/polyfill_injector_test.dart

Issue 330683003: Use dart.js in release mode to workaround dartbug.com/19653 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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/polymer/test/build/all_phases_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/polyfill_injector_test.dart
diff --git a/pkg/polymer/test/build/polyfill_injector_test.dart b/pkg/polymer/test/build/polyfill_injector_test.dart
index 4b5dbf6be04c9031754091b4c4be0ef7912ccfc7..6f5336704d4bd1ac5a7e0237ebf140a0355a6953 100644
--- a/pkg/polymer/test/build/polyfill_injector_test.dart
+++ b/pkg/polymer/test/build/polyfill_injector_test.dart
@@ -27,6 +27,7 @@ void runTests({bool js: true, bool csp: false}) {
var ext = js ? (csp ? '.precompiled.js' : '.js') : '';
var type = js ? '' : 'type="application/dart" ';
var dartJsTag = js ? '' : DART_JS_TAG;
+ var async = js ? ' async=""' : '';
testPhases('no changes', phases, {
'a|web/test.html': '<!DOCTYPE html><html></html>',
@@ -53,7 +54,7 @@ void runTests({bool js: true, bool csp: false}) {
'<!DOCTYPE html><html><head>'
'$WEB_COMPONENTS_TAG'
'</head><body>'
- '<script ${type}src="a.dart$ext"></script>'
+ '<script ${type}src="a.dart$ext"$async></script>'
'$dartJsTag'
'</body></html>',
});
@@ -70,7 +71,7 @@ void runTests({bool js: true, bool csp: false}) {
'<!DOCTYPE html><html><head>'
'$WEB_COMPONENTS_TAG'
'</head><body>'
- '<script ${type}src="a.dart$ext"></script>'
+ '<script ${type}src="a.dart$ext"$async></script>'
'$dartJsTag'
'</body></html>',
});
« no previous file with comments | « pkg/polymer/test/build/all_phases_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698