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

Unified Diff: tools/testing/dart/browser_test.dart

Issue 23121004: Re-try of Tightening up dart2js load timing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/browser_test.dart
diff --git a/tools/testing/dart/browser_test.dart b/tools/testing/dart/browser_test.dart
index 3d9dbd910cb702469220cc439f53b6d72c940a46..646115bf7934710a4e9d30d73625b3e81c10b1ec 100644
--- a/tools/testing/dart/browser_test.dart
+++ b/tools/testing/dart/browser_test.dart
@@ -25,7 +25,8 @@ String getHtmlContents(String title,
<script type="text/javascript"
src="/root_dart/pkg/unittest/lib/test_controller.js">
</script>
- <script type="$scriptType" src="$sourceScript" onerror="externalError(null)">
+ <script type="$scriptType" src="$sourceScript" onerror="externalError(null)"
+ defer>
</script>
<script type="text/javascript"
src="/root_dart/pkg/browser/lib/dart.js"></script>
@@ -46,7 +47,7 @@ String getHtmlLayoutContents(String scriptType, Path sourceScript) =>
<script type="text/javascript">
if (navigator.webkitStartDart) navigator.webkitStartDart();
</script>
- <script type="$scriptType" src="$sourceScript"></script>
+ <script type="$scriptType" src="$sourceScript" defer></script>
</body>
</html>
""";
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698