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

Issue 1520883002: Allow devtools clients to handle slow cross-process navigations. (Closed)

Created:
5 years ago by Alexander Semashko
Modified:
4 years, 6 months ago
Reviewers:
CC:
chromium-reviews, darin-cc_chromium.org, jam, pfeldman, devtools-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow devtools clients to handle slow cross-process navigations. This issue mostly affects chromedriver, I think. If a navigation is performed in the same renderer, page load timeout is taken into account; slow navigation gets cancelled no matter whether it is committed. On the other hand, during a cross-process navigation chromedriver does not respond until the navigation is committed or discarded, the page load timeout is not applied. If e.g. selenium receives socket timeout and then sends some more commands, the driver still does not respond, i.e. it becomes unusable. BUG=chromedriver:1292

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M content/browser/devtools/render_frame_devtools_agent_host.cc View 6 chunks +34 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Alexander Semashko
Of course this CL is not ready to be committed, it just shows what changes ...
5 years ago (2015-12-11 13:14:14 UTC) #2
dgozman
On 2015/12/11 13:14:14, ahest wrote: > Of course this CL is not ready to be ...
5 years ago (2015-12-11 18:39:04 UTC) #3
Alexander Semashko
On 2015/12/11 18:39:04, dgozman wrote: > On 2015/12/11 13:14:14, ahest wrote: > > Of course ...
5 years ago (2015-12-11 23:14:20 UTC) #4
dgozman
Thanks for clarifications. As I understand this now, the problem is that navigation hangs (for ...
5 years ago (2015-12-14 22:04:39 UTC) #5
Alexander Semashko
On 2015/12/14 22:04:39, dgozman wrote: > Thanks for clarifications. > As I understand this now, ...
5 years ago (2015-12-14 23:09:44 UTC) #6
dgozman
On 2015/12/14 23:09:44, ahest wrote: > On 2015/12/14 22:04:39, dgozman wrote: > > Thanks for ...
5 years ago (2015-12-14 23:30:45 UTC) #7
Alexander Semashko
4 years, 10 months ago (2016-02-03 16:12:29 UTC) #8
Sorry for a long delay. I finally made a patch that handles timeouts on the
chromedriver side, and it's working fine. Sent it for review, you can see it in
https://codereview.chromium.org/1669453002/ if interested.

Powered by Google App Engine
This is Rietveld 408576698