<?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>233854</bug_id>
          
          <creation_ts>2021-12-04 02:36:29 -0800</creation_ts>
          <short_desc>&lt;link rel=preload&gt; reuses response regardless of CORS attributes</short_desc>
          <delta_ts>2021-12-11 02:37:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Noam Rosenthal">noam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>beidson</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1820445</commentid>
    <comment_count>0</comment_count>
    <who name="Noam Rosenthal">noam</who>
    <bug_when>2021-12-04 02:36:29 -0800</bug_when>
    <thetext>See new failing WPT: https://wpt.fyi/results/preload/preload-resource-match.https.html
and relevant spec: https://html.spec.whatwg.org/#consume-a-preloaded-resource

Preloaded responses should be reused/discarded based on their &quot;as&quot; and CORS-related attributes.
From the test, it seems like in WebKit, some resources are reused regardless of mismatching CORS attributes, and some are ignored even though all their attributes match.

This bug report is submitted as part of an effort to make the preload future more interoperable across browsers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823182</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-11 02:37:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/86357143&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>