Skip to content

Conversation

@nickchomey
Copy link

Description

Doc incorrectly stated that SharedWorker is accessible from dedicated Workers. This PR clarifies that this is not the case.

Motivation

Updating so people do not get confused, like I and some others had.

Additional details

Related issues and pull requests

Fixes #43098 Status: Open.

Clarified the accessibility of SharedWorker from dedicated workers.
Copilot AI review requested due to automatic review settings February 12, 2026 00:06
@nickchomey nickchomey requested a review from a team as a code owner February 12, 2026 00:06
@nickchomey nickchomey requested review from pepelsbey and removed request for a team February 12, 2026 00:06
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Feb 12, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies the MDN SharedWorker interface description to avoid implying that SharedWorker is available from dedicated workers (per issue #43098).

Changes:

  • Removes the claim that SharedWorker can be accessed from “even workers”.
  • Adds wording stating SharedWorker is not accessible from dedicated workers.
  • Minor rewording/punctuation adjustments in the introductory sentence.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in SharedWorker Doc: SharedWorker is NOT accessible from Workers

1 participant