Revert "weblayer: allow calling Navigate() from onNavigationStarted"
This reverts commit c462e4b7. Reason for revert: Causes a heap-use-after-free on win-asan. First failure: https://ci.chromium.org/p/chromium/builders/ci/win-asan/11631 Original change's description: > weblayer: allow calling Navigate() from onNavigationStarted > > At the time OnNavigationStarted() is called it's not safe to call > Navigate(). This patch delays the navigate until it is safe (when > NavigationThrottleImpl::WillStartRequest() is called). > > BUG=1070569 > TEST=NavigationBrowserTest.NavigateFromRendererInitiatedNavigation > > Change-Id: Ia110bb94e64d6551c9db302ae41b735ad5a8a5e5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153758 > Reviewed-by: John Abd-El-Malek <jam@chromium.org> > Commit-Queue: Scott Violet <sky@chromium.org> > Cr-Commit-Position: refs/heads/master@{#759872} TBR=sky@chromium.org,jam@chromium.org Change-Id: I67a8b8d121ea1223650ee35a013068da20de6fb9 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1070569 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154348Reviewed-by:Meredith Lane <meredithl@chromium.org> Commit-Queue: Meredith Lane <meredithl@chromium.org> Cr-Commit-Position: refs/heads/master@{#759943}
Showing
Please register or sign in to comment