| Index: tools/testing/dart/browser_test.dart
|
| diff --git a/tools/testing/dart/browser_test.dart b/tools/testing/dart/browser_test.dart
|
| index fa3c48b8ce809bb5afea2f743096302da81156b1..42aa8216eb88ccc6853bb1ccda3d86df2f6d0d51 100644
|
| --- a/tools/testing/dart/browser_test.dart
|
| +++ b/tools/testing/dart/browser_test.dart
|
| @@ -6,12 +6,7 @@ part of test_suite;
|
|
|
| String getHtmlContents(String title,
|
| String scriptType,
|
| - Path sourceScript,
|
| - {bool use_unittest_controller: false}) {
|
| - var testControllerJs = '/root_dart/tools/testing/dart/test_controller.js';
|
| - if (use_unittest_controller) {
|
| - testControllerJs = '/root_dart/pkg/unittest/lib/test_controller.js';
|
| - }
|
| + Path sourceScript) {
|
| return """
|
| <!DOCTYPE html>
|
| <html>
|
| @@ -29,7 +24,7 @@ String getHtmlContents(String title,
|
| <body>
|
| <h1> Running $title </h1>
|
| <script type="text/javascript"
|
| - src="$testControllerJs">
|
| + src="/root_dart/tools/testing/dart/test_controller.js">
|
| </script>
|
| <script type="$scriptType" src="$sourceScript"
|
| onerror="scriptTagOnErrorCallback(null)"
|
|
|