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

Migrate to V3 #124

Closed
scaljeri opened this issue Dec 26, 2021 · 0 comments
Closed

Migrate to V3 #124

scaljeri opened this issue Dec 26, 2021 · 0 comments
Milestone

Comments

@scaljeri
Copy link
Owner

This is a complex one, because it will not be possible to inject the code the same way we do in V2. It is only possible to inject a file. The problem with this is that injecting a file is way slower than injecting javascript directly. And because of this, early XHR/FETCH calls will be missed. The solution is to patch window.Response and other properties of XMLHttpRequest.

More investigation for this is needed!

@scaljeri scaljeri added this to the OhMyMockBase milestone Dec 26, 2021
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

No branches or pull requests

1 participant