Skip to content

feat(core): expose additional_browser_args to window config (fix: #5757)#5799

Merged
lucasfernog merged 4 commits intotauri-apps:devfrom
noamzaks:additional-browser-args
Dec 14, 2022
Merged

feat(core): expose additional_browser_args to window config (fix: #5757)#5799
lucasfernog merged 4 commits intotauri-apps:devfrom
noamzaks:additional-browser-args

Conversation

@noamzaks
Copy link
Contributor

@noamzaks noamzaks commented Dec 9, 2022

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
  • I have added a convincing reason for adding this feature, if necessary

Other information

Could probably help various use cases, including mine in #5757.

Discord thread.

@noamzaks noamzaks requested a review from a team as a code owner December 9, 2022 16:13
Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, just a few nit-picks and should be good to go

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
@noamzaks noamzaks requested a review from amrbashir December 9, 2022 18:36
amrbashir
amrbashir previously approved these changes Dec 9, 2022
@FabianLars
Copy link
Member

I think we should document the default value like we do in wry: https://docs.rs/wry/latest/x86_64-pc-windows-msvc/wry/webview/trait.WebViewBuilderExtWindows.html#tymethod.with_additional_browser_args

@lucasfernog lucasfernog merged commit 3dc38b1 into tauri-apps:dev Dec 14, 2022
lucasfernog added a commit that referenced this pull request Feb 8, 2023
This was introduced in #5799, but it's dangerous to let the frontend set this option.
lucasfernog added a commit that referenced this pull request Mar 31, 2023
…6216)

This was introduced in #5799, but it's dangerous to let the frontend set this option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants