<?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>257407</bug_id>
          
          <creation_ts>2023-05-26 18:08:48 -0700</creation_ts>
          <short_desc>Web Inspector: XHR request with same URL as main resource should have type XHR</short_desc>
          <delta_ts>2023-06-01 18:56:31 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Yury Semikhatsky">yurys</reporter>
          <assigned_to name="Yury Semikhatsky">yurys</assigned_to>
          <cc>fujii</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1958332</commentid>
    <comment_count>0</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-05-26 18:08:48 -0700</bug_when>
    <thetext>XHRs requests with the same url as main resource should have type XHR rather than Document.
This was fixed in https://bugs.webkit.org/show_bug.cgi?id=68646 but regressed at some point later.
Original report in Playwright: https://github.com/microsoft/playwright/issues/22812</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958333</commentid>
    <comment_count>1</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-05-26 18:18:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/14417</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958826</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-05-30 11:37:58 -0700</bug_when>
    <thetext>Committed 264686@main (883556d2265f): &lt;https://commits.webkit.org/264686@main&gt;

Reviewed commits have been landed. Closing PR #14417 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958827</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-30 11:38:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/110016863&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959405</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-06-01 13:59:14 -0700</bug_when>
    <thetext>http/tests/inspector/network/xhr-request-type.html is failing. Could you take a look? 
https://results.webkit.org/?suite=layout-tests&amp;test=http%2Ftests%2Finspector%2Fnetwork%2Fxhr-request-type.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959454</commentid>
    <comment_count>5</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-06-01 17:17:37 -0700</bug_when>
    <thetext>Hmm, the .json resource is returned in base64 on some platforms, I&apos;ll take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959461</commentid>
    <comment_count>6</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-06-01 18:09:53 -0700</bug_when>
    <thetext>The test is passing locally on M1 and macOS 13. I wonder if it has to do with the web server config.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1959468</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-06-01 18:56:31 -0700</bug_when>
    <thetext>This test failure is reproducible with WinCairo.
The web server doesn&apos;t know .json filename suffix.
Renaming data.json to data.js can works around the server configuration problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>