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

Side by Side Diff: LayoutTests/dart/Multiscript.html

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 months 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
« no previous file with comments | « LayoutTests/dart/Multiscript.dart ('k') | LayoutTests/dart/Multiscript-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="application/javascript" src="../../../../dart/client/testing/unitt est/test_controller.js"></script>
4 </head>
5 <body>
6
7 <script type="application/dart">
8 #import('dart:dom');
9 #import('dart:json');
10 #import('../../../../dart/client/testing/unittest/unittest.dart');
11 #import('Multiscript.dart');
12 main() {
13 forLayoutTests();
14 asyncTest('Multiple script tags', 3, () {
15 addHandler('done', (msg) {
16 Expect.equals(msg['actual'], msg['expect']);
17 callbackDone();
18 });
19 postMessage('start', {});
20 });
21 }
22 </script>
23
24 <script type="application/dart">
25 #import('Multiscript.dart');
26 main() {
27 State.s = 1;
28 onStart((m) {
29 State.update();
30 checkEventDelivery(1, 3);
31 });
32 }
33 </script>
34
35 <script type="application/dart">
36 #import('Multiscript.dart');
37 main() {
38 State.s = 10;
39 onStart((m) {
40 State.update();
41 checkEventDelivery(2, 12);
42 });
43 }
44 </script>
45
46 <script type="application/dart">
47 #import('Multiscript.dart');
48 main() {
49 State.s = 100;
50 onStart((m) {
51 State.update();
52 checkEventDelivery(3, 102);
53 });
54 }
55 </script>
56 </body>
57 </html>
OLDNEW
« no previous file with comments | « LayoutTests/dart/Multiscript.dart ('k') | LayoutTests/dart/Multiscript-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698