Skip to content

[webview_flutter_wkwebview] Updates generated pigeon code to ensure the internal wrapper immediately sends constructor calls #8657

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 1 commit into from
Feb 20, 2025

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Feb 18, 2025

Potential solution to flutter/flutter#162437

As stated in #8656 (comment), I can only reproduce the crash when adding a delay in the async anonymous function. This should ideally prevent that crash by ensuring the send call is made before entering an async method.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@bparrishMines bparrishMines changed the title update code gen [webview_flutter_wkwebview] Updates generated pigeon code to ensure the internal wrapper immediately sends constructor calls Feb 19, 2025
@bparrishMines bparrishMines marked this pull request as ready for review February 19, 2025 20:18
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM

@stuartmorgan-g
Copy link
Contributor

test-exempt: updating dependency

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 20, 2025
@auto-submit auto-submit bot merged commit 77b6d73 into flutter:main Feb 20, 2025
82 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 20, 2025
…o ensure the internal wrapper immediately sends constructor calls (flutter/packages#8657)
@bparrishMines bparrishMines deleted the update_wkweb_pigeon branch February 20, 2025 19:25
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 21, 2025
…o ensure the internal wrapper immediately sends constructor calls (flutter/packages#8657)
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 21, 2025
flutter/packages@a9b9172...5a721da

2025-02-20 engine-flutter-autoroll@skia.org Roll Flutter from
e8f34a9 to 39b4951 (95 revisions) (flutter/packages#8663)
2025-02-20 10687576+bparrishMines@users.noreply.github.com
[webview_flutter_wkwebview] Updates generated pigeon code to ensure the
internal wrapper immediately sends constructor calls
(flutter/packages#8657)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
…he internal wrapper immediately sends constructor calls (flutter#8657)

Potential solution to flutter/flutter#162437

As stated in flutter#8656 (comment), I can only reproduce the crash when adding a delay in the async anonymous function. This should ideally prevent that crash by ensuring the send call is made before entering an async method.
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
…he internal wrapper immediately sends constructor calls (flutter#8657)

Potential solution to flutter/flutter#162437

As stated in flutter#8656 (comment), I can only reproduce the crash when adding a delay in the async anonymous function. This should ideally prevent that crash by ensuring the send call is made before entering an async method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: webview_flutter platform-ios platform-macos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants