{
 "caniuse": [
  "sharedworkers"
 ],
 "compat_features": [
  "api.SharedWorker",
  "api.SharedWorker.SharedWorker",
  "api.SharedWorker.SharedWorker.mime_checks",
  "api.SharedWorker.SharedWorker.options_name_parameter",
  "api.SharedWorker.error_event",
  "api.SharedWorker.port",
  "api.SharedWorkerGlobalScope",
  "api.SharedWorkerGlobalScope.close",
  "api.SharedWorkerGlobalScope.connect_event",
  "api.SharedWorkerGlobalScope.name"
 ],
 "description": "The SharedWorker() constructor runs a script in its own thread, which can send and receive messages with other scripts running at the same origin.",
 "description_html": "The <code>SharedWorker()</code> constructor runs a script in its own thread, which can send and receive messages with other scripts running at the same origin.",
 "group": [
  "workers"
 ],
 "kind": "feature",
 "name": "Shared worker",
 "spec": [
  "https://html.spec.whatwg.org/multipage/workers.html#shared-workers-introduction"
 ],
 "status": {
  "baseline": "low",
  "baseline_low_date": "2026-05-05",
  "by_compat_key": {
   "api.SharedWorker": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "5",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "33",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorker.SharedWorker": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "5",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "33",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorker.SharedWorker.mime_checks": {
    "baseline": false,
    "support": {
     "firefox": "81",
     "firefox_android": "81",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorker.SharedWorker.options_name_parameter": {
    "baseline": false,
    "support": {
     "chrome": "70",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "55",
     "firefox_android": "55"
    }
   },
   "api.SharedWorker.error_event": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "5",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "33",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorker.port": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "5",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "33",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorkerGlobalScope": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "4",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "29",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorkerGlobalScope.close": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "4",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "29",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorkerGlobalScope.connect_event": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "4",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "29",
     "safari": "16",
     "safari_ios": "16"
    }
   },
   "api.SharedWorkerGlobalScope.name": {
    "baseline": "low",
    "baseline_low_date": "2026-05-05",
    "support": {
     "chrome": "4",
     "chrome_android": "148",
     "edge": "79",
     "firefox": "29",
     "firefox_android": "29",
     "safari": "16",
     "safari_ios": "16"
    }
   }
  },
  "support": {
   "chrome": "5",
   "chrome_android": "148",
   "edge": "79",
   "firefox": "29",
   "firefox_android": "33",
   "safari": "16",
   "safari_ios": "16"
  }
 },
 "id": "shared-workers",
 "groups": [
  "workers"
 ],
 "specs": [
  {
   "url": "https://html.spec.whatwg.org/multipage/workers.html#shared-workers-introduction",
   "seriesComposition": "full",
   "shortname": "html",
   "series": {
    "shortname": "html",
    "currentSpecification": "html",
    "title": "HTML",
    "shortTitle": "HTML",
    "nightlyUrl": "https://html.spec.whatwg.org/multipage/"
   },
   "nightly": {
    "url": "https://html.spec.whatwg.org/multipage/",
    "status": "Living Standard",
    "sourcePath": "source",
    "alternateUrls": [],
    "repository": "https://github.com/whatwg/html",
    "pages": [
     "https://html.spec.whatwg.org/multipage/introduction.html",
     "https://html.spec.whatwg.org/multipage/infrastructure.html",
     "https://html.spec.whatwg.org/multipage/common-microsyntaxes.html",
     "https://html.spec.whatwg.org/multipage/urls-and-fetching.html",
     "https://html.spec.whatwg.org/multipage/common-dom-interfaces.html",
     "https://html.spec.whatwg.org/multipage/structured-data.html",
     "https://html.spec.whatwg.org/multipage/dom.html",
     "https://html.spec.whatwg.org/multipage/semantics.html",
     "https://html.spec.whatwg.org/multipage/sections.html",
     "https://html.spec.whatwg.org/multipage/grouping-content.html",
     "https://html.spec.whatwg.org/multipage/text-level-semantics.html",
     "https://html.spec.whatwg.org/multipage/links.html",
     "https://html.spec.whatwg.org/multipage/edits.html",
     "https://html.spec.whatwg.org/multipage/embedded-content.html",
     "https://html.spec.whatwg.org/multipage/images.html",
     "https://html.spec.whatwg.org/multipage/iframe-embed-object.html",
     "https://html.spec.whatwg.org/multipage/media.html",
     "https://html.spec.whatwg.org/multipage/image-maps.html",
     "https://html.spec.whatwg.org/multipage/embedded-content-other.html",
     "https://html.spec.whatwg.org/multipage/tables.html",
     "https://html.spec.whatwg.org/multipage/forms.html",
     "https://html.spec.whatwg.org/multipage/input.html",
     "https://html.spec.whatwg.org/multipage/form-elements.html",
     "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html",
     "https://html.spec.whatwg.org/multipage/interactive-elements.html",
     "https://html.spec.whatwg.org/multipage/scripting.html",
     "https://html.spec.whatwg.org/multipage/canvas.html",
     "https://html.spec.whatwg.org/multipage/custom-elements.html",
     "https://html.spec.whatwg.org/multipage/semantics-other.html",
     "https://html.spec.whatwg.org/multipage/microdata.html",
     "https://html.spec.whatwg.org/multipage/interaction.html",
     "https://html.spec.whatwg.org/multipage/dnd.html",
     "https://html.spec.whatwg.org/multipage/popover.html",
     "https://html.spec.whatwg.org/multipage/browsers.html",
     "https://html.spec.whatwg.org/multipage/nav-history-apis.html",
     "https://html.spec.whatwg.org/multipage/document-sequences.html",
     "https://html.spec.whatwg.org/multipage/browsing-the-web.html",
     "https://html.spec.whatwg.org/multipage/document-lifecycle.html",
     "https://html.spec.whatwg.org/multipage/speculative-loading.html",
     "https://html.spec.whatwg.org/multipage/webappapis.html",
     "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html",
     "https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html",
     "https://html.spec.whatwg.org/multipage/system-state.html",
     "https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html",
     "https://html.spec.whatwg.org/multipage/comms.html",
     "https://html.spec.whatwg.org/multipage/server-sent-events.html",
     "https://html.spec.whatwg.org/multipage/web-messaging.html",
     "https://html.spec.whatwg.org/multipage/workers.html",
     "https://html.spec.whatwg.org/multipage/worklets.html",
     "https://html.spec.whatwg.org/multipage/webstorage.html",
     "https://html.spec.whatwg.org/multipage/syntax.html",
     "https://html.spec.whatwg.org/multipage/parsing.html",
     "https://html.spec.whatwg.org/multipage/named-characters.html",
     "https://html.spec.whatwg.org/multipage/xhtml.html",
     "https://html.spec.whatwg.org/multipage/rendering.html",
     "https://html.spec.whatwg.org/multipage/obsolete.html",
     "https://html.spec.whatwg.org/multipage/iana.html",
     "https://html.spec.whatwg.org/multipage/indices.html",
     "https://html.spec.whatwg.org/multipage/references.html",
     "https://html.spec.whatwg.org/multipage/acknowledgements.html"
    ],
    "filename": "index.html"
   },
   "organization": "WHATWG",
   "groups": [
    {
     "name": "HTML Workstream",
     "url": "https://html.spec.whatwg.org/multipage/"
    }
   ],
   "title": "HTML",
   "source": "whatwg",
   "shortTitle": "HTML",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "close-watcher",
     "custom-elements",
     "eventsource",
     "html",
     "imagebitmap-renderingcontext",
     "import-maps",
     "navigation-api",
     "webmessaging",
     "webstorage",
     "workers",
     "worklets",
     "x-frame-options"
    ],
    "excludePaths": [
     "html/cross-origin-embedder-policy/credentialless",
     "html/dom/partial-updates/tentative",
     "html/cross-origin-embedder-policy/credentialless"
    ]
   },
   "fragment": "shared-workers-introduction"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/API/SharedWorker",
   "title": "SharedWorker",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorker"
  },
  {
   "slug": "Web/API/SharedWorker/SharedWorker",
   "title": "SharedWorker: SharedWorker() constructor",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorker/SharedWorker"
  },
  {
   "slug": "Web/API/SharedWorker/error_event",
   "title": "SharedWorker: error event",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorker/error_event"
  },
  {
   "slug": "Web/API/SharedWorker/port",
   "title": "SharedWorker: port property",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorker/port"
  },
  {
   "slug": "Web/API/SharedWorkerGlobalScope",
   "title": "SharedWorkerGlobalScope",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope"
  },
  {
   "slug": "Web/API/SharedWorkerGlobalScope/close",
   "title": "SharedWorkerGlobalScope: close() method",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/close"
  },
  {
   "slug": "Web/API/SharedWorkerGlobalScope/connect_event",
   "title": "SharedWorkerGlobalScope: connect event",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/connect_event"
  },
  {
   "slug": "Web/API/SharedWorkerGlobalScope/name",
   "title": "SharedWorkerGlobalScope: name property",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:shared-workers"
 },
 "developerSignals": null,
 "bugs": {
  "chrome": [
   "https://crbug.com/40290702",
   "https://issues.chromium.org/issues/400473072",
   "https://bugs.chromium.org/p/chromium/issues/detail?id=695996",
   "https://crbug.com/40554522"
  ],
  "chrome_android": [
   "https://crbug.com/40554522"
  ],
  "edge": [
   "https://crbug.com/40554522"
  ],
  "firefox": [
   "https://bugzil.la/643325"
  ]
 },
 "useCases": null,
 "baselineLowDateAsObject": "2026-05-05T00:00:00.000Z",
 "baselineHighDateAsObject": null,
 "expectedBaselineHighDate": "2028-11-05"
}