OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 window.postMessage('fish', '*'); | |
6 | |
7 function delayed() { | |
8 window.postMessage('cow', '*'); // Unexpected message OK. | |
9 parent.postMessage('weasel', '*'); // Message to parent OK. | |
10 window.postMessage('crab', '*'); | |
11 } | |
12 setTimeout(delayed, 500); | |
OLD | NEW |