Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<script type="text/javascript">
page_id = window.location.hash.substring(1);
try {
worker = new Worker('data:application/javascript;charset=UTF-8,'+escape('onmessage = function(e) { postMessage("worker"); };'));
worker.onerror = function(e) {
e.preventDefault();
}
worker.onmessage = function(ev) {
}
worker.postMessage('foo');
}
catch (e) {
if (e.message.match(/Failed to load script/)) {
} else {
console.log(e);
}
}
</script>
</body>
</html>