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: window.open doesn't work correctly in child window #25816

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 7, 2020

Backport of #25080

See that PR for details.

Notes: Fixed window.open called from child window

If speculative render view host is deleted during naviagation to
page we try to open with call to window.open window is destroyed
right after it is created. It may happen when naviagation triggers
redirect from http to https. To void that we should emit event
current-render-view-deleted only when render view host which was
destroyed is the current webcontent's rvh.
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 7, 2020
@trop trop bot added 11-x-y backport This is a backport PR labels Oct 7, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 7, 2020
@codebytere codebytere merged commit 9852e1f into 11-x-y Oct 8, 2020
@release-clerk
Copy link

release-clerk bot commented Oct 8, 2020

Release Notes Persisted

Fixed window.open called from child window

@codebytere codebytere deleted the trop/11-x-y-bp-fix-window-open-doesn-t-work-correctly-in-child-window-1602112299430 branch October 8, 2020 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants