DescriptionRevert of Simplify RenderFrameImpl::decidePolicyForNavigation and avoid DCHECK (patchset #2 id:20001 of https://codereview.chromium.org/2153573002/ )
Reason for revert:
Broke a layout test fast/events/popup-allowed-from-gesture-initiated-form-submit.html .
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&showLargeExpectations=true&tests=popup-allowed-from-gesture-initiated-form-submit.html
Original issue's description:
> Simplify RenderFrameImpl::decidePolicyForNavigation and avoid DCHECK.
>
> DCHECK can be tripped when there is a chain of openers or when the
> opener has been cleared. The subsequent comparison against file:
> fails, and we may make a browser navigation where one could have
> been avoided, but it is still correct.
>
> Since it is still correct, we can simplify the check, perhaps
> forking in more cases that we used to, but that doesn't matter.
>
> BUG=622509
> R=creis@chromium.org
>
> Committed: https://crrev.com/6573f1eaf729320beeaf776674b124bfe5c330bb
> Cr-Commit-Position: refs/heads/master@{#405609}
TBR=creis@chromium.org,tsepez@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=622509, 628478
Committed: https://crrev.com/11f3ed430923329885682d50057217041ce661e1
Cr-Commit-Position: refs/heads/master@{#405694}
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|