Simplify WebKitTestRunner preference reset to be more like DRT
[WebKit-https.git] / LayoutTests / http / tests / workers / worker-redirect.html
1 <body>
2 <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>
3 <div id=result></div>
4 <script>
5 function createWorker(url)
6 {
7     return new Worker(url);
8 }
9 </script>
10 <script src="resources/worker-redirect.js"></script>
11 </body>