Fix flaky shared worker blink web tests
The condition before invoking |terminate_all_workers_callback_| in TestSharedWorkerServiceImpl::OnRemoteSharedWorkerConnectionLost() should match the one in DestroyHost(). Both of these functions can be invoked when the callback is not set. Bug: 1008257 Change-Id: I9dd5f7812bbe01dfba8bb3a5fca0481e6a4ee7aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1862892 Commit-Queue: Matt Falkenhagen <falken@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#706270}
Showing
Please register or sign in to comment