PerFrame Translation fix subframe issues with completing translation
This includes 3 fixes determined from turning on amp carousel page translation: 1. Only try to translate subframes that are visible. 2. Adds retry count to CheckTranslateStatus (to break rare loop). 3. Fixes overall translate error code to the one for the main frame. Note that these changes are in classes only used with Feature flag so no risk to mainline regressions. Bug: 1084262 Change-Id: I03541b9ab78813b2ace55e9b5e0379a8e952f8d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2211042 Commit-Queue: Doug Arnett <dougarnett@chromium.org> Reviewed-by:Megan Jablonski <megjablon@chromium.org> Reviewed-by:
anthonyvd <anthonyvd@chromium.org> Cr-Commit-Position: refs/heads/master@{#771216}
Showing
Please register or sign in to comment