You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'url ': Synchronous XHR in page dismissal.
when using Chrome 73. If I switch to Electron 59 everything passes fine.
Desired behavior:
To not get this error in Chrome 73.
Steps to reproduce: (app code and test code)
Not exactly sure how to reproduce this issue but i believe it's caused by an update to chrome that disallows synchronous ajax during end-of-page events (like beforeunload and unload). It's not mentioned in any release docs, but according to this stackoverflow response it was mentioned in a tweet somewhere. From experience, it happens when an ajax request is made in a test, and then is shown as aborted in the following test. Sorry if this issue wasn't detailed enough.
Versions
Cypress 3.2.0, Chrome Version 73.0.3683.103, Windows 10
The text was updated successfully, but these errors were encountered:
Never mind. I believe Cypress is actually working correctly and failing on a request that as of chrome v73 should not be happening. The request is made by a 3rd party tool which still appears to be using synchronous xhr requests in the beforeunload/unload events.
Is this a Feature or Bug?
Bug
Current behavior:
I am getting the error
when using Chrome 73. If I switch to Electron 59 everything passes fine.
Desired behavior:
To not get this error in Chrome 73.
Steps to reproduce: (app code and test code)
Not exactly sure how to reproduce this issue but i believe it's caused by an update to chrome that disallows synchronous ajax during end-of-page events (like beforeunload and unload). It's not mentioned in any release docs, but according to this stackoverflow response it was mentioned in a tweet somewhere. From experience, it happens when an ajax request is made in a test, and then is shown as aborted in the following test. Sorry if this issue wasn't detailed enough.
Versions
Cypress 3.2.0, Chrome Version 73.0.3683.103, Windows 10
The text was updated successfully, but these errors were encountered: