Skip to content

Commit

Permalink
Update packages/runner-shared/src/event-manager.js
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Bloomquist <git@chary.us>
  • Loading branch information
mjhenkes and flotwig committed Apr 22, 2022
1 parent 3e6d6bf commit d866746
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/runner-shared/src/event-manager.js
Expand Up @@ -321,7 +321,9 @@ export const eventManager = {

// The window.top should not change between test reloads, and we only need to bind the message event once
// Forward all message events to the current instance of the multi-origin communicator
window.top?.addEventListener('message', ({ data, source }) => {
if (!window.top) throw new Error('missing window.top in event-manager')

window.top.addEventListener('message', ({ data, source }) => {
Cypress.primaryOriginCommunicator.onMessage({ data, source })
}, false)
},
Expand Down

3 comments on commit d866746

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on d866746 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.0/linux-x64/feature-multidomain-d86674636b93a49a7e2dbbc24bf56666dc7d10b9/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on d866746 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.0/darwin-x64/feature-multidomain-d86674636b93a49a7e2dbbc24bf56666dc7d10b9/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on d866746 Apr 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/9.6.0/win32-x64/feature-multidomain-d86674636b93a49a7e2dbbc24bf56666dc7d10b9/cypress.tgz

Please sign in to comment.