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
[Bug]: App Crashes when a new foreground tab is opened from a webview with nativeWindowOpen and allowPopups #28348
Comments
I can confirm that this issue is also present on 12.0.2 |
@praneetrohida i ran this and could not reproduce - do you have a stack trace or more information? |
@codebytere here is the Stack trace from fiddle and the screencast of the bug Stack Trace
CleanShot.2021-03-30.at.11.02.11.mp4 |
I can reproduce this with the steps in the video. Symbolicated crash stack:
e4cc0acb-f675-4e74-8aba-ed7680ffe882.dmp.zip Bisected to v12.0.0-nightly.20200914...v12.0.0-nightly.20201013 |
This problem does not occur in 12.0.0, but in 12.0.1, 12.0.2, and 13.0.0-beta.9. |
Any updates on this? I can confirm this issue still exists on 12.0.6 |
I also have this issue on Windows 10 on electron 12.x versions (electron 11.x works fine) const { app, BrowserWindow } = require('electron')
const path = require('path')
function createWindow () {
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
webviewTag: true,
}
})
win.loadFile('index.html')
}
app.whenReady().then(() => {
createWindow()
})``` |
We are experiencing crashes with nativeWindowOpen on 13.x as well. |
Preflight Checklist
Electron Version
12.0.1
What operating system are you using?
macOS
Operating System Version
11.2
What arch are you using?
x64
Last Known Working Electron version
11.x
Expected Behavior
The app should not crash, and the new-window event should be fired
Actual Behavior
The app crashes
Testcase Gist URL
https://gist.github.com/ae7fdfd99a5d755a5ae4323c46a4e833
The text was updated successfully, but these errors were encountered: