Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: tests/html/two_scripts_htmltest.html

Issue 732533002: Add HTML test with two dart scripts on one page. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698