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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tests/html/two_scripts_htmltest.html
diff --git a/tests/html/scripts_htmltest.html b/tests/html/two_scripts_htmltest.html
similarity index 50%
copy from tests/html/scripts_htmltest.html
copy to tests/html/two_scripts_htmltest.html
index 181959519c43b66aa33be09e61e21899f7559f20..1a244ca1dafb391799e665ef637e1dd9376b709e 100644
--- a/tests/html/scripts_htmltest.html
+++ b/tests/html/two_scripts_htmltest.html
@@ -7,18 +7,19 @@ BSD-style license that can be found in the LICENSE file.
<!--
START_HTML_DART_TEST
{
- "scripts": ["scripts_test_dart.dart", "scripts_test_js.js"],
- "expectedMessages": ["crab", "fish", "squid", "sea urchin"]
+ "scripts": ["two_scripts_test_first.dart", "two_scripts_test_second.dart"],
+ "expectedMessages":
+ ["first_local", "first_global", "second_local", "second_global"]
}
END_HTML_DART_TEST
-->
<html>
<head>
<script>window.parent.dispatchEvent(new Event('detect_errors'));</script>
- <title>Scripts HTML test</title>
+ <title>Two Scripts HTML test</title>
</head><body>
- <h1>Scripts HTML test</h1>
- <script src="scripts_test_dart.dart" type="application/dart"></script>
- <script src="scripts_test_js.js"></script>
+ <h1>Two Scripts HTML test</h1>
+ <script src="two_scripts_test_first.dart" type="application/dart"></script>
+ <script src="two_scripts_test_second.dart" type="application/dart"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698