Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for browsers without service workers #675

Closed
LarsDenBakker opened this issue Apr 1, 2021 · 2 comments
Closed

Support for browsers without service workers #675

LarsDenBakker opened this issue Apr 1, 2021 · 2 comments
Labels

Comments

@LarsDenBakker
Copy link

I am working on adopting MSW in our projects and recommending it to other developers. In our company we are in the unfortunate situation where we still have to support older browsers like IE11, and possibly other environments where service workers might not be available such as embedded browsers inside native mobile applications.

I did some tinkering and I have a working version where this library works on those browser by overriding XMLHttpRequest and fetch on those browsers, based on the work that's already there for use inside node js.

It would be great if we could add this to the MSW project as an option besides the service worker and nodejs implementation. Is this something you would be interested in reviewing a PR for?

@msutkowski
Copy link
Member

Hey @LarsDenBakker, thanks for your feedback! There is an open RFC for that here: #663. Feel free to chime in :)

@LarsDenBakker
Copy link
Author

Ah, I missed that one. Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants