OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
4 for details. All rights reserved. Use of this source code is governed by a | 4 for details. All rights reserved. Use of this source code is governed by a |
5 BSD-style license that can be found in the LICENSE file. | 5 BSD-style license that can be found in the LICENSE file. |
6 --> | 6 --> |
7 <!-- | 7 <!-- |
8 START_HTML_DART_TEST | 8 START_HTML_DART_TEST |
9 { | 9 { |
10 "scripts": ["scripts_test_dart.dart", "scripts_test_js.js"], | 10 "scripts": ["two_scripts_test_first.dart", "two_scripts_test_second.dart"], |
11 "expectedMessages": ["crab", "fish", "squid", "sea urchin"] | 11 "expectedMessages": |
| 12 ["first_local", "first_global", "second_local", "second_global"] |
12 } | 13 } |
13 END_HTML_DART_TEST | 14 END_HTML_DART_TEST |
14 --> | 15 --> |
15 <html> | 16 <html> |
16 <head> | 17 <head> |
17 <script>window.parent.dispatchEvent(new Event('detect_errors'));</script> | 18 <script>window.parent.dispatchEvent(new Event('detect_errors'));</script> |
18 <title>Scripts HTML test</title> | 19 <title>Two Scripts HTML test</title> |
19 </head><body> | 20 </head><body> |
20 <h1>Scripts HTML test</h1> | 21 <h1>Two Scripts HTML test</h1> |
21 <script src="scripts_test_dart.dart" type="application/dart"></script> | 22 <script src="two_scripts_test_first.dart" type="application/dart"></script> |
22 <script src="scripts_test_js.js"></script> | 23 <script src="two_scripts_test_second.dart" type="application/dart"></script> |
23 </body> | 24 </body> |
24 </html> | 25 </html> |
OLD | NEW |