summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/semantics/navigation/001-1.html
blob: 9d7ecee1767b45e078ac05d22ca5605529c785ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!--
setInterval(function() { postMessage(new Date()) }, 10)
/*
-->
<!doctype html>
<title>001-1</title>
<script>
onload = function() {
  var worker = new Worker('#');
  worker.onmessage = function(e) {
    var started = !!parent.date;
    parent.date = e.data;
    if (!started) {
      parent.start_test()
    }
  }
}
</script>
<a href='data:text/html,<title>foo</title><script>onload=function(){parent.after_load()}</script>'>link</a>
<!--
*/
//-->