DescriptionForce layout to make a track rendering test non-flaky
While !textTracksAreReady(), readyState is constrained to
HAVE_CURRENT_DATA or lower. Once text tracks are ready, if the media
load has already progressed far, the canplaythrough event dispatch and
the text track rendering will be racy.
Since the rendering is not observable to Web content, it does not seem
worthwhile trying to make this deterministic.
The same fix was applied to WebKit:
http://trac.webkit.org/changeset/148050/trunk/LayoutTests/media/track/track-cue-container-rendering-position.html
BUG=330049
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181310
Patch Set 1 #
Total comments: 2
Messages
Total messages: 7 (2 generated)
|