Convert BlinkTestHostMsg_ResetDone to Mojo in blink test IPC message
This CL migrate the legacy ResetDone IPC message to the new Mojo in BlinkTestClient interface. This CL adds a |is_secondary_window_| flag to WebTestRenderFrameObserver to avoid calling ResetDone twice when a secondary window exists. Then, it's passed to BlinkTestRunner::DidCommitNavigationInMainFrame to avoid calling ResetDone twice. Because twice calls of ResetDone can cause a crash during the web test. Bug: 1039247 Change-Id: Ia992616449ec54d1e28d2a6804f907cfac404cf7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2009595Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#738004}
Showing
Please register or sign in to comment