New issue
Advanced search Search tips

Issue 612835 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

requestWillBeSent not always called

Project Member Reported by droger@chromium.org, May 18 2016

Issue description

When connecting to the DevTools server using the Python API, sometimes events are received (in particular requestServedFromCache, dataReceived and loadingFinished) without requestWillBeSent being ever received.

I can see this happening for example when loading http://m.youtube.com using Nexus 4 emulation.

The problem with this is that there is no way to tell what is the URL corresponding to these events, since the URL is sent as part of the requestWillBeSent event.
 
Do you have steps to repro?

Comment 2 by droger@chromium.org, May 19 2016

I don't have a minimal repro case.

One way to repro using our analyze script (repro 100%) using:

tools/android/loading/analyze.py log_requests --local --local_build_dir out-gn/Release-linux/ --emulate_device "Nexus 4" --url http://m.youtube.com --output test.json --headless --clear_cache

Comment 3 by droger@chromium.org, May 20 2016

Today this no longer reproes on youtube.

Here are other URLs that still repro:

http://www.drudgereport.com
http://m.onet.pl
http://m.tmz.com (often)
http://cnn.com (sometimes)

Sign in to add a comment