Network.responseReceived should be emitted after requestfinished
Categories
(Remote Protocol :: CDP, defect, P2)
Tracking
(Not tracked)
People
(Reporter: impossibus, Unassigned)
References
Details
(Whiteboard: [puppeteer-beta2-mvp])
The initial implementation handles our NetworkObserver's response event, but waiting until requestfinished (when the response body is received) is probably what is expected instead. We should be able to return data the event that way, as well, such as encodedDataLength.
Comment 1•5 years ago
|
||
Might be unrelated here but we also miss to send out the Network.requestWillBeSent
event. Maybe worth another bug I assume.
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #1)
Might be unrelated here but we also miss to send out the
Network.requestWillBeSent
event. Maybe worth another bug I assume.
Are you thinking of a specific example where it's missing? In general we do send requestWillBeSent appropriately, so I'm not sure what you mean here.
Comment 3•5 years ago
|
||
The situation where I have seen this was actually for data URIs. See attachment 9148032 [details].
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 4•2 years ago
|
||
We are currently not working on CDP.
Description
•