<body> | |
<p>Test that loading the worker's script does not allow a cross origin redirect (<a href="https://bugs.webkit.org/show_bug.cgi?id=26146">bug 26146</a>)</p> | |
<div id=result></div> | |
<script> | |
function createWorker(url) | |
{ | |
return new Worker(url); | |
} | |
</script> | |
<script src="resources/worker-redirect.js"></script> | |
</body> |