Skip to content

fix(jspi): JSPI should not override http calls in worker context#114

Merged
chrisdickinson merged 1 commit intomainfrom
chris/20250514-jspi-do-not-intercept-in-worker
May 14, 2025
Merged

fix(jspi): JSPI should not override http calls in worker context#114
chrisdickinson merged 1 commit intomainfrom
chris/20250514-jspi-do-not-intercept-in-worker

Conversation

@chrisdickinson
Copy link
Contributor

This fixes a bug where we'd use the system fetch inside a plugin run in a worker when JSPI was enabled, bypassing overrides of the fetch function.

This fixes a bug where we'd use the system `fetch` inside a plugin run in a
worker when JSPI was enabled, bypassing overrides of the `fetch` function.
@chrisdickinson chrisdickinson merged commit 8dd092f into main May 14, 2025
5 checks passed
@chrisdickinson chrisdickinson deleted the chris/20250514-jspi-do-not-intercept-in-worker branch May 14, 2025 19:39
Copy link
Member

@nilslice nilslice left a comment

Choose a reason for hiding this comment

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

great catch, and thanks for the quick fix!

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.

3 participants