Skip to content

Conversation

@harshit078
Copy link

@harshit078 harshit078 commented Jan 14, 2026

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).
  • Link an issue if there is one related to your pull request. If no issue is linked, one will be auto-generated and linked.

Closes #18779

@chargome chargome requested a review from andreiborza January 14, 2026 11:07
@andreiborza
Copy link
Member

Thanks for the contribution @harshit078. Are you done working on this or are you done (asking since it's a draft).

@harshit078 harshit078 marked this pull request as ready for review January 14, 2026 19:46
@harshit078
Copy link
Author

Hey @andreiborza , yes I have finished working on this PR and converted it to review.

@harshit078
Copy link
Author

working on comments addressed by cursor !

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

}

// Handle messages from the main thread
self.addEventListener('message', async event => {

Check warning

Code scanning / CodeQL

Missing origin verification in `postMessage` handler Medium

Postmessage handler has no origin check.
}

try {
const { instance } = await WebAssembly.instantiateStreaming(fetch(wasmUrl), {

Check warning

Code scanning / CodeQL

Client-side request forgery Medium

The
URL
of this request depends on a
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support WASM modules instantiated in web workers

2 participants