Hi Dale. We were seeing flaky track cue tests in Edge and after investigating, I believe this is the root cause. I linked this CL against an upstream bug I found with the same test failure but that was resolved as not reproducible. Also, let me know if the html test should go somewhere else. From the ReadMe, I got the impression I could add it here and it would get merged upstream with the WPT tests.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
SetReadyState(static_cast<ReadyState>(web_media_player_->GetReadyState()));`SetReadyState(ready_state_)` would make it more clear this is a no-op unless `TextTracksAreReady()`. Do we need to query the WMP for this?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tommy, can you PTAL as owner of media_controls_impl_test.cc? Thanks!
SetReadyState(static_cast<ReadyState>(web_media_player_->GetReadyState()));`SetReadyState(ready_state_)` would make it more clear this is a no-op unless `TextTracksAreReady()`. Do we need to query the WMP for this?
We cannot do SetReadyState(ready_state_) here. In SetReadyState, the ready_state_ is only updated if tracks_are_ready. When the tracks are not ready, ready_state_ is limited to kHaveCurrentData (not the actual ready state of the WMP).
This line matches the call to SetReadyState in TextTrackReadyStateChanged when the pending text tracks have finished loading.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
third_party/blink/renderer/modules/media_controls/media_controls_impl_test.cc lgtm
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/60324.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |