Bug 162384 - Web Inspector: network tab is not showing deep enough information
Summary: Web Inspector: network tab is not showing deep enough information
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2016-09-22 06:06 PDT by youenn fablet
Modified: 2016-12-13 15:39 PST (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2016-09-22 06:06:20 PDT
Web Inspector is typically presenting network requests and responses as exposed by XHR/fetch.
It would be more appropriate to expose the requests and responses as done at the network level.
Comment 1 Radar WebKit Bug Importer 2016-09-22 06:06:31 PDT
Comment 2 youenn fablet 2016-09-22 06:10:47 PDT
I just tried running the following test: https://github.com/w3c/web-platform-tests/pull/3592/files

Looking at firefox/chrome inspectors, we see that the second response is a 304 response at the network, that translates to a 200 response at JS level.
The corresponding request also has specific cache headers, since it is a conditional request.

Doing the same test on WebKit shows that the two responses are 200 and the second request is the same as the first one.
Doing a quick wireshark test, the second request sent on the wire is a conditional request and the response is a 304 response.

The low-level network information is much more interesting for debugging than the current exposed one.

IIANM, the same principle applies for redirections: they are not exposed by web inspector while it is very useful debugging information.
Comment 3 youenn fablet 2016-09-22 06:11:55 PDT
See also related bug 160286: headers filtered out in a response do not get exposed by web inspector. This makes it harder to debug.