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

fix: lost window.opener after cross-origin navigation #18614

Conversation

alexstrat
Copy link
Contributor

@alexstrat alexstrat commented Jun 4, 2019

Description of Change

Backport of #18173

Checklist

Release Notes

Notes: Fixed window.opener null after cross-origin navigation

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 4, 2019
@@ -1,364 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This patch is not used anymore.

see 5395810#diff-22584f5154569499c1541a1c2f69eefc

@alexstrat alexstrat changed the title [WIP ]fix: lost window.opener after cross-origin navigation fix: lost window.opener after cross-origin navigation Jun 4, 2019
@@ -306,7 +307,6 @@ describe('BrowserWindow module', () => {
})

it('should return a promise that resolves even if pushState occurs during navigation', async () => {
const data = Buffer.alloc(2 * 1024 * 1024).toString('base64')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unused constant

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 5, 2019
@codebytere codebytere added 6-0-x backport This is a backport PR 5-0-x and removed 6-0-x labels Jun 7, 2019
@deepak1556 deepak1556 requested a review from a team June 11, 2019 18:26
@codebytere codebytere merged commit 99c3ff6 into electron:5-0-x Jun 12, 2019
@release-clerk
Copy link

release-clerk bot commented Jun 12, 2019

Release Notes Persisted

Fixed window.opener null after cross-origin navigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants