summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/open-url-redirected-worker-origin.htm
blob: a0e064840f4ca21ce6490828a8fb91e4d8d777eb (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<meta charset="utf-8">
<title>XMLHttpRequest: redirected classic dedicated worker scripts, origin and referrer</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var finalWorkerURL = "workerxhr-origin-referrer.js";
var url = "resources/redirect.py?location=" + encodeURIComponent(finalWorkerURL);
fetch_tests_from_worker(new Worker(url));
</script>