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

Issue 2639073002: Convert OverscrollNavigationOverlayTest.ImmediateLoadOnNavigate to use the new navigation callbacks… (Closed)

Created:
3 years, 11 months ago by jam
Modified:
3 years, 11 months ago
Reviewers:
clamy
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert OverscrollNavigationOverlayTest.ImmediateLoadOnNavigate to use the new navigation callbacks with PlzNavigate. The unit test harness is not very realistic, so it doesn't send the new callbacks when PlzNavigate isn't enabled. So I've added both methods and I'm using each of them depending on the mode. This test also exposed some UAFs that occur if an observer resets the NavigationRequest synchronously during its creation. I've added code to guard against this. BUG=682002 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2639073002 Cr-Commit-Position: refs/heads/master@{#444377} Committed: https://chromium.googlesource.com/chromium/src/+/9a88c6be00c8a4beb0be24791c9f6812cc78a94d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -14 lines) Patch
M content/browser/frame_host/navigation_request.cc View 1 chunk +16 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 2 chunks +11 lines, -6 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc View 1 chunk +14 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
jam
3 years, 11 months ago (2017-01-17 22:13:21 UTC) #5
clamy
Thanks! Lgtm.
3 years, 11 months ago (2017-01-18 14:38:28 UTC) #8
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/2639073002/1
3 years, 11 months ago (2017-01-18 16:01:03 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 16:06:49 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9a88c6be00c8a4beb0be24791c9f...

Powered by Google App Engine
This is Rietveld 408576698