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
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Electron Version
12.0.5
What operating system are you using?
macOS
Operating System Version
MacOS Catalina 10.15.7
What arch are you using?
x64
Last Known Working Electron version
did not try on preview version
Expected Behavior
New window should open on clicking a link with target="_blank" in webview irrespective of value of nativeWindowOpen when allowpopups is added in <webview> tag
Actual Behavior
Application get crashed when I click a link with target="_blank" in <webview> when I add allowpopups in <webview> and add nativeWindowOpen: true in webPreferences in mainWindow.
<!DOCTYPE html><html><head><metacharset="UTF-8"><!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --><metahttp-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"><metahttp-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"><title>Hello World!</title></head><body><h1>Hello World!</h1><webviewid="foo" src="https://www.w3schools.com/tags/att_a_target.asp" style="display:inline-flex; width:640px; height:480px" allowpopups></webview><h1>click on Try it yuorself button in webview</h1><!-- You can also require other files to run in this process --><!-- <script src="./renderer.js"></script> --></body></html>
Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Electron Version
12.0.5
What operating system are you using?
macOS
Operating System Version
MacOS Catalina 10.15.7
What arch are you using?
x64
Last Known Working Electron version
did not try on preview version
Expected Behavior
New window should open on clicking a link with target="_blank" in webview irrespective of value of
nativeWindowOpen
whenallowpopups
is added in<webview>
tagActual Behavior
Application get crashed when I click a link with
target="_blank"
in<webview>
when I addallowpopups
in<webview>
and addnativeWindowOpen: true
inwebPreferences
inmainWindow
.Crashing error is
exited with signal SIGSEGV
main.js
index.html
isTestcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: