• Sean Topping's avatar
    [Chromecast] Add browser test for CastWebContents · 7414eedc
    Sean Topping authored
    CastWebContentsImpl now has an associated browser test. This allows us
    to test various content scenarios, such as net errors, content errors,
    and page crashes. It also tests the standard lifecycle of a
    CastWebContents, and verifies various state transitions. This new test
    prompted some modifications to the CastWebContentsImpl class, including
    some more descriptive comments on CWC's intended behavior.
    
    Bug: internal b/67864604
    Bug: internal b/130190264
    Test: cast_shell_browsertests
    
    Change-Id: Ibe24207cf091634cb046898276258579d9234b9e
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1560492
    Commit-Queue: Sean Topping <seantopping@chromium.org>
    Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#649697}
    7414eedc
cast_web_contents.h 10.6 KB