blob: 3a7add29e311df56905b924b3f9818ee8acf380f [file] [log] [blame]
<!DOCTYPE html>
Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
"scripts": [ "dispatch_parent_event.js" ],
"expectedMessages": ["hest", "fisk"]
<script src="dispatch_parent_event.js"></script>
<title>No Linked Scripts HTML test</title>
<h1>No Linked Scripts HTML test</h1>
window.postMessage('fisk', '*');
window.postMessage('ged', '*');
window.postMessage('fisk', '*');
function delayed() {
parent.postMessage('ko', '*');
window.postMessage('hest', '*');
setTimeout(delayed, 500);