mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
24 lines
453 B
HTML
24 lines
453 B
HTML
<!--
|
|
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>
|
|
<!--
|
|
*/
|
|
//-->
|
|
|