• Kevin Marshall's avatar
    [fuchsia] Implement browser tests for WebRunner Context service. · 6a60f012
    Kevin Marshall authored
    Tests may interact with the WebRunner FIDL services and the underlying
    browser objects for end to end testing of service and browser
    functionality.
    
    * Add a browser test launcher main() for WebRunner.
    * Add some simple navigation tests.
    * Wire up GoBack()/GoForward() FIDL calls.
    * Add embedded test server resources and initialization logic.
    * Add missing deletion & notification calls to BrowserContext dtor.
    * Use FIDL events for navigation state changes.
    
    * Bug fixes:
      ** Move BrowserContext and Screen deletion to PostMainMessageLoopRun(),
         so that they may use the MessageLoop during teardown.
      ** Fix Frame dtor to allow for null WindowTreeHosts (headless case)
      ** Fix std::move logic in Frame ctor which lead to no WebContents
         observer being registered.
    
    Bug: 871594
    
    Change-Id: I36bcbd2436d534d366c6be4eeb54b9f9feadd1ac
    Reviewed-on: https://chromium-review.googlesource.com/1164539
    Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
    Reviewed-by: default avatarWez <wez@chromium.org>
    Reviewed-by: default avatarFabrice de Gans-Riberi <fdegans@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#584155}
    6a60f012
webrunner_main_delegate.cc 3.07 KB