summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/open-url-redirected-sharedworker-origin.htm
blob: 02699919585645c898fdcc8beddc1ba59571c875 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<meta charset="utf-8">
<title>XMLHttpRequest: redirected classic shared 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 SharedWorker(url));
</script>