• Dale Curtis's avatar
    Attempt to deflake media browsertests and enable more logs. · 2b239559
    Dale Curtis authored
    In the event a ended event occurs before a timeupdate event, the
    next timeupdate event would retrigger the seek step. So cleanup
    all test advancement listeners during calls to SeekTestStep().
    
    Also, enable console logs on Android by toggling the necessary
    base::Feature to help debugging these flakes in the field.
    
    Also, fix "undefined undefined" from showing up in console logs
    when the video size information shows up. As a result of this
    the way size tests are completed has been reimplemented to avoid
    an extraneous title step.
    
    R=jrummell
    
    Change-Id: Ia3799eb4b16583ad3a8751f67e6e33cf0c5d5d20
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2036365
    Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
    Reviewed-by: default avatarJohn Rummell <jrummell@chromium.org>
    Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#738030}
    2b239559
media_browsertest.cc 3.66 KB