• Peter Conn's avatar
    Revert "Fix Android WebView crash when an app loads a JavaScript URL during navigation." · 1620462e
    Peter Conn authored
    This reverts commit 532b7d7a.
    
    Reason for revert: 794139
    
    Original change's description:
    > Fix Android WebView crash when an app loads a JavaScript URL during navigation.
    > 
    > When there's an ongoing navigation, if the app loada a JavaScript URL we create
    > a temporary NavigationRequest in NavigatorImpl::RequestNavigation. However the
    > call to RenderFrameHostManager::GetFrameHostForNavigation was resetting the
    > speculative RFH of the original NavigationRequest since the site instance of a
    > JavaScript load is always the same as the existing frame.
    > 
    > Bug: 793432
    > Change-Id: I5a25eea9a8733cd5cebe71f700b30ebb4c0b1710
    > Reviewed-on: https://chromium-review.googlesource.com/820453
    > Commit-Queue: John Abd-El-Malek <jam@chromium.org>
    > Reviewed-by: Nasko Oskov <nasko@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#523264}
    
    TBR=nasko@chromium.org,jam@chromium.org
    
    Change-Id: I1e08c1de84199879576782a8719e4a771d66248b
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 793432
    Reviewed-on: https://chromium-review.googlesource.com/822610Reviewed-by: default avatarPeter Conn <peconn@chromium.org>
    Commit-Queue: Peter Conn <peconn@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#523418}
    1620462e
web_contents_view_android.cc 18.7 KB