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
[webview_flutter] Speculative getTitle fix #4539
[webview_flutter] Speculative getTitle fix #4539
Conversation
Attempts to fix the getTitle flake by running JS before accessing the title, to force the page to be fully processed by the native code. No CHANGELOG change: Description would be the same as something that is already in the NEXT section. Speculative fix for flutter/flutter#94117
|
I'll retry the tests a few times before landing. |
|
Passed once; trying again... |
|
Twice... |
|
Three times (and that's each of the four runs—{master,stable}x{app-facing,impl}—each time). We may have a winner here. |
LGTM. Could also revert the other speculative fix if it didn't work. Up to you though.
I'm going to give a shot at reverting the other fix in this branch (that'll give us yet another run of the test) |
This reverts commit e13a469.
This'll land on red to fix the tree. After tests finish, the flaky test would have passed 4x in a row.
|
Merged on red to heal the tree. |
* [webview_flutter] getTitle flake test fix Attempts to fix the getTitle flake by running JS before accessing the title, to force the page to be fully processed by the native code. No CHANGELOG change: Description would be the same as something that is already in the NEXT section.
* [webview_flutter] getTitle flake test fix Attempts to fix the getTitle flake by running JS before accessing the title, to force the page to be fully processed by the native code. No CHANGELOG change: Description would be the same as something that is already in the NEXT section.


Attempts to fix the getTitle flake by running JS before accessing the
title, to force the page to be fully processed by the native code.
No CHANGELOG change: Description would be the same as something that is
already in the NEXT section.
Speculative fix for flutter/flutter#94117
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).