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

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

Issue 10696092: Initial tests for JS interop (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: tools/testing/dart/browser_test.dart
diff --git a/tools/testing/dart/browser_test.dart b/tools/testing/dart/browser_test.dart
index f563f9aa172248076688f7363cb3b56361cf397a..d5d5949f2a9994d9ba2c91eecb4b64536005111e 100644
--- a/tools/testing/dart/browser_test.dart
+++ b/tools/testing/dart/browser_test.dart
@@ -4,6 +4,7 @@
String getHtmlContents(String title,
String controllerScript,
+ String dartJsScript,
String scriptType,
String sourceScript) =>
"""
@@ -23,6 +24,7 @@ String getHtmlContents(String title,
<h1> Running $title </h1>
<script type="text/javascript" src="$controllerScript"></script>
<script type="$scriptType" src="$sourceScript"></script>
+ <script type="text/javascript" src="$dartJsScript"></script>
</body>
</html>
""";

Powered by Google App Engine
This is Rietveld 408576698