Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@stuartmorgan-g
Copy link
Contributor

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

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.
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
@google-cla google-cla bot added the cla: yes label Nov 23, 2021
@github-actions github-actions bot added p: webview_flutter Edits files for a webview_flutter plugin platform-ios labels Nov 23, 2021
@stuartmorgan-g
Copy link
Contributor Author

I'll retry the tests a few times before landing.

@stuartmorgan-g
Copy link
Contributor Author

Passed once; trying again...

@stuartmorgan-g
Copy link
Contributor Author

Twice...

@stuartmorgan-g
Copy link
Contributor Author

Three times (and that's each of the four runs—{master,stable}x{app-facing,impl}—each time). We may have a winner here.

Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

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

LGTM. Could also revert the other speculative fix if it didn't work. Up to you though.

@ditman
Copy link
Member

ditman commented Nov 23, 2021

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)

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

This'll land on red to fix the tree. After tests finish, the flaky test would have passed 4x in a row.

@ditman
Copy link
Member

ditman commented Nov 23, 2021

Merged on red to heal the tree.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 23, 2021
amantoux pushed a commit to amantoux/plugins that referenced this pull request Dec 11, 2021
* [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.
KyleFin pushed a commit to KyleFin/plugins that referenced this pull request Dec 21, 2021
* [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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes p: webview_flutter Edits files for a webview_flutter plugin platform-ios

3 participants