| Index: LayoutTests/dart/dart-main-import.html
|
| diff --git a/LayoutTests/dart/dart-main-import.html b/LayoutTests/dart/dart-main-import.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..49f8f474896a84555be0a2fa34cf4ec4be0a611e
|
| --- /dev/null
|
| +++ b/LayoutTests/dart/dart-main-import.html
|
| @@ -0,0 +1,28 @@
|
| +<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">
|
| +import '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>
|
|
|