<!DOCTYPE html>
<title>SharedWorker: WorkerOptions 'credentials'</title>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<script>
host_info = get_host_info();

// Determines the expected cookie value to be reported by a shared worker
// based on the given option. The worker reports an empty string as the actual
// cookie value if the cookie wasn't sent to the se