OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the LICENSE file. |
| 5 |
| 6 Test that two instances of a script does not interfere when loading the same |
| 7 deferred library. |
| 8 |
| 9 START_HTML_DART_TEST |
| 10 { |
| 11 "scripts": ["deferred_multi_app.dart"], |
| 12 "expectedMessages": ["one", "two"] |
| 13 } |
| 14 END_HTML_DART_TEST |
| 15 --> |
| 16 <html> |
| 17 <body> |
| 18 <div id="state">1</div> |
| 19 <script>window.parent.dispatchEvent(new Event('detect_errors'));</script> |
| 20 <script src="deferred_multi_app.dart" type="application/dart"></script> |
| 21 <script src="deferred_multi_app.dart" type="application/dart"></script> |
| 22 </body> |
| 23 </html> |
OLD | NEW |