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
consterror=Cypress.isBrowser('firefox') ? 'Permission denied to access property "document" on cross-origin object' : 'Blocked a frame with origin "http://localhost:3500" from accessing a cross-origin frame.'
2188
+
2187
2189
// When the experimentalSessionAndOrigin feature is disabled, we will immediately and display this message.
2188
2190
expect(err.message).to.equal(stripIndent`\
2189
2191
Cypress detected a cross origin error happened on page load:\n
2190
-
> Blocked a frame with origin "http://localhost:3500" from accessing a cross-origin frame.\n
2192
+
> ${error}\n
2191
2193
Before the page load, you were bound to the origin policy:\n
2192
2194
> http://localhost:3500\n
2193
2195
A cross origin error happens when your application navigates to a new URL which does not match the origin policy above.\n
0 commit comments