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

Issue 746993003: Only cancel navigation on user gesture (Closed)

Created:
6 years ago by wmaslowski
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, dcheng, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Only cancel pending navigation on user gesture. This prevent sites navigating internally to block user from navigating. BUG=75195 Committed: https://crrev.com/5bec87fd56934448fb237d1798690f2d0a3fc67c Cr-Commit-Position: refs/heads/master@{#307668}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Try2 : Only cancel when it is caused by user action #

Total comments: 4

Patch Set 3 : updated unittests & readability fix #

Total comments: 4

Patch Set 4 : documentation and style fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -20 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 11 chunks +36 lines, -12 lines 0 comments Download

Messages

Total messages: 25 (2 generated)
wmaslowski
6 years ago (2014-12-02 09:09:09 UTC) #2
clamy
Thanks. I am not sure though that we want to prevent the canceling of navigation ...
6 years ago (2014-12-02 11:04:20 UTC) #3
Charlie Reis
[+dcheng, japhet for context] On 2014/12/02 11:04:20, clamy wrote: > Thanks. I am not sure ...
6 years ago (2014-12-02 18:03:33 UTC) #4
wmaslowski
I tried the approach with cancelling navigation only if it is caused by user gesture ...
6 years ago (2014-12-03 10:31:10 UTC) #5
clamy
On 2014/12/03 10:31:10, wmaslowski wrote: > I tried the approach with cancelling navigation only if ...
6 years ago (2014-12-03 12:30:10 UTC) #6
wmaslowski
On 2014/12/03 12:30:10, clamy wrote: > On 2014/12/03 10:31:10, wmaslowski wrote: > > I tried ...
6 years ago (2014-12-03 12:55:09 UTC) #7
clamy
Ok. Your CL still needs the regression test though. We are doing quite a lot ...
6 years ago (2014-12-03 13:19:42 UTC) #8
wmaslowski
On 2014/12/03 13:19:42, clamy wrote: > Ok. Your CL still needs the regression test though. ...
6 years ago (2014-12-03 14:08:21 UTC) #9
clamy
No you need to write an additional test inside the CL. For this precise case, ...
6 years ago (2014-12-03 14:17:07 UTC) #10
Charlie Reis
On 2014/12/03 12:55:09, wmaslowski wrote: > On 2014/12/03 12:30:10, clamy wrote: > > On 2014/12/03 ...
6 years ago (2014-12-03 21:32:19 UTC) #11
Charlie Reis
Please update the CL description as well, as it's no longer about "external navigations."
6 years ago (2014-12-04 00:19:56 UTC) #12
wmaslowski
While looking at the tests I found out that RenderFrameHostManagerTest.PageDoesBackAndReload test that Internal navigation cancels ...
6 years ago (2014-12-04 11:28:46 UTC) #13
Charlie Reis
On 2014/12/04 11:28:46, wmaslowski wrote: > While looking at the tests I found out that ...
6 years ago (2014-12-04 20:00:32 UTC) #14
wmaslowski
6 years ago (2014-12-05 16:55:40 UTC) #15
Charlie Reis
Thanks for updating the tests to cover this behavior. Are you able to run try ...
6 years ago (2014-12-05 19:37:43 UTC) #16
wmaslowski
6 years ago (2014-12-08 10:01:41 UTC) #17
Charlie Reis
Thanks, LGTM. I sent some try jobs to see if the bots are happy with ...
6 years ago (2014-12-08 18:02:35 UTC) #18
wmaslowski
On 2014/12/08 18:02:35, Charlie Reis wrote: > Thanks, LGTM. I sent some try jobs to ...
6 years ago (2014-12-09 09:06:09 UTC) #19
clamy
Thanks! Lgtm
6 years ago (2014-12-09 10:38:06 UTC) #20
Charlie Reis
@wmaslowski: Are you waiting for anything else, or is this ready to commit? Let us ...
6 years ago (2014-12-09 17:40:55 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/746993003/60001
6 years ago (2014-12-10 09:00:00 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-12-10 10:07:37 UTC) #24
commit-bot: I haz the power
6 years ago (2014-12-10 10:08:29 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5bec87fd56934448fb237d1798690f2d0a3fc67c
Cr-Commit-Position: refs/heads/master@{#307668}

Powered by Google App Engine
This is Rietveld 408576698