-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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: Expose ability to enable browser extensions in WebView2 #11056
Conversation
Package Changes Through 831da58There are 4 changes which include tauri with prerelease, tauri-runtime-wry with prerelease, tauri-runtime with prerelease, tauri-utils with prerelease Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
crates/tauri/src/webview/plugin.rs
Outdated
#[serde(default)] | ||
browser_extensions_enabled: bool, |
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.
Since JS is not a secure context, this value shouldn't be set from JS. cc @tweidinger
Thank you |
Addresses #10909.
wry
to0.44.0
, which introducesbrowser_extensions_enabled
for Windows (from feat: Expose ability to enable browser extensions in WebView2 wry#1356)WebviewWindowBuilder
andWindowConfig
structs to include that same configurationbrowser_extensions_enabled(bool)
toWebviewWindowBuilder