-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
feat: Implement new window requested event, closes #527 #526
feat: Implement new window requested event, closes #527 #526
Conversation
Also fixes incorrect drop impl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows, and Linux implementation is LGTM. There is some small nit-picks and I will leave reviewing the macOS to @wusyong
Remove set automation Co-authored-by: Amr Bashir <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working great on macos.
it looks good to me.
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Checklist
fix: remove a typo, closes #___, #___
)Other information
The WKWebview implementation is outstanding but I'm giving it a shot.
Also couldn't test this properly as whilst testing using WSL I couldn't get popup windows to work.
Regardless of the above, these "naïve" implementations may allow for new popup windows to bypass/ignore existing webview settings. For example, they do not inherit parent window navigation handlers for example. This isn't a new thing - it's just more noticeable when implementing a feature like this where we have functions that can cancel events.