Skip to content

fix: optional chaining is not supported on older webviews #9530

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

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

lucasfernog
Copy link
Member

No description provided.

@lucasfernog lucasfernog requested a review from a team as a code owner April 21, 2024 13:52
amrbashir
amrbashir previously approved these changes Apr 21, 2024
@lucasfernog lucasfernog merged commit 35b25f7 into dev Apr 22, 2024
27 checks passed
@lucasfernog lucasfernog deleted the fix/optional-chaining-unsupported branch April 22, 2024 13:27
Legend-Master added a commit to Legend-Master/tauri that referenced this pull request Apr 14, 2025
Seems like we have changed it in tauri-apps#9530 deliberately,
so preserving it in this change
lucasfernog added a commit that referenced this pull request Apr 14, 2025
* Use `Headers` in `sendIpcMessage`

* Add change file

* Change files

* Don't use optional chaining
Seems like we have changed it in #9530 deliberately,
so preserving it in this change

* do not let the tauri headers to be overwritten

Co-authored-by: Sean Wang <[email protected]>

* use HeadersInit on the type definition

---------

Co-authored-by: Lucas Nogueira <[email protected]>
Co-authored-by: Sean Wang <[email protected]>
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.

2 participants