<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>162384</bug_id>
          
          <creation_ts>2016-09-22 06:06:20 -0700</creation_ts>
          <short_desc>Web Inspector: network tab is not showing deep enough information</short_desc>
          <delta_ts>2020-09-17 00:14:06 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=160286</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="youenn fablet">youennf</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>sidneybeekhoven</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1232415</commentid>
    <comment_count>0</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-09-22 06:06:20 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1232416</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-09-22 06:06:31 -0700</bug_when>
    <thetext>&lt;rdar://problem/28425748&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1232419</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-09-22 06:10:47 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1232420</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2016-09-22 06:11:55 -0700</bug_when>
    <thetext>See also related bug 160286: headers filtered out in a response do not get exposed by web inspector. This makes it harder to debug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>