Index: LayoutTests/dart/dart-main-export.html |
diff --git a/LayoutTests/dart/dart-main-export.html b/LayoutTests/dart/dart-main-export.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b39d26bb561947284510c85235fb4f9ed4b01e3f |
--- /dev/null |
+++ b/LayoutTests/dart/dart-main-export.html |
@@ -0,0 +1,27 @@ |
+<html> |
+<!-- |
+Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
+for details. All rights reserved. Use of this source code is governed by a |
+BSD-style license that can be found in the LICENSE file. |
+--> |
+<body> |
+<script type="application/dart"> |
+export 'dart-main.dart' show main; |
+</script> |
+ |
+<script> |
+ if (window.testRunner) { |
+ window.testRunner.dumpAsText(); |
+ window.testRunner.waitUntilDone(); |
+ } |
+ |
+ window.addEventListener('load', function () { |
+ window.setTimeout(function () { |
+ console.log('Main not invoked'); |
+ window.testRunner.notifyDone(); |
+ }, 0); |
+ }); |
+</script> |
+ |
+</body> |
+</html> |