Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Issue 2150243002: Revert of Simplify RenderFrameImpl::decidePolicyForNavigation and avoid DCHECK (Closed)

Created:
4 years, 5 months ago by tkent
Modified:
4 years, 5 months ago
Reviewers:
Tom Sepez, Charlie Reis
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M content/renderer/render_frame_impl.cc View 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
tkent
Created Revert of Simplify RenderFrameImpl::decidePolicyForNavigation and avoid DCHECK
4 years, 5 months ago (2016-07-15 04:15:17 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2150243002/1
4 years, 5 months ago (2016-07-15 04:16:17 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-15 04:16:56 UTC) #5
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 04:18:14 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/11f3ed430923329885682d50057217041ce661e1
Cr-Commit-Position: refs/heads/master@{#405694}

Powered by Google App Engine
This is Rietveld 408576698