-
-
Notifications
You must be signed in to change notification settings - Fork 519
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
'Cannot read properties of undefined (reading 'url')' when multiple browser tabs are open #2146
Comments
Same behavior here with version |
I got the same behavior here with version 2.3.0 |
I got the same result |
@kettanaito Hi! I find this PR #2031. I think it is a reason of this bug. Can you fix it? |
Any update regarding this issue? |
We are having this problem in our project. It breaks our screenshot/acceptance tests :( |
I can confirm that this issue is still happening in [email protected], using the same reproduction created by @vik-buchinski. It looks like msw/src/browser/setupWorker/start/createResponseListener.ts Lines 56 to 61 in 9dc2d71
I have no deep knowledge of this function, but maybe msw needs to check if |
Present in 2.6.2 as well |
2.6.4 as well |
Prerequisites
Environment check
msw
versionBrowsers
Chromium (Chrome, Brave, etc.)
Reproduction repository
https://github.com/hal-shin/msw-bug
Reproduction steps
Current behavior
when the second tab opened, I see 'Cannot read properties of undefined (reading 'url')' error.
Affected versions: >2.1.7
Versions that work correctly: <= 2.1.7
Expected behavior
application should continue working when it is opened in 2 tabs.
The text was updated successfully, but these errors were encountered: