OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <!-- | |
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
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. | |
6 --> | |
7 <!-- | |
8 START_HTML_DART_TEST | |
9 { | |
10 "scripts": [ ], | |
11 "expectedMessages": ["hest", "fisk"] | |
12 } | |
13 END_HTML_DART_TEST | |
14 --> | |
15 <html> | |
16 <head> | |
17 <script>window.parent.dispatchEvent(new Event('detect_errors'));</script> | |
18 <title>No Linked Scripts HTML test</title> | |
19 </head><body> | |
20 <h1>No Linked Scripts HTML test</h1> | |
21 <script> | |
22 window.postMessage('fisk', '*'); | |
23 window.postMessage('ged', '*'); | |
24 window.postMessage('fisk', '*'); | |
25 | |
26 function delayed() { | |
27 parent.postMessage('ko', '*'); | |
28 window.postMessage('hest', '*'); | |
29 } | |
ricow1
2014/11/05 12:22:55
strange indentation
Bill Hesse
2014/11/05 16:00:32
Fixed in followup CL already.
| |
30 setTimeout(delayed, 5000); | |
31 </script> | |
32 </body> | |
33 </html> | |
OLD | NEW |