<?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>204375</bug_id>
          
          <creation_ts>2019-11-19 14:09:53 -0800</creation_ts>
          <short_desc>Fix Timing-Allow-Origin check in ResourceTiming</short_desc>
          <delta_ts>2019-11-22 16:05:12 -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>New Bugs</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="Nicolas">npm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1591693</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas">npm</who>
    <bug_when>2019-11-19 14:09:53 -0800</bug_when>
    <thetext>In https://github.com/web-platform-tests/wpt/pull/20320 I added a test to check the behavior landing in https://github.com/whatwg/fetch/pull/955. Essentially there are two changes:

Same-origin check is replaced with &apos;response tainting&apos; from Fetch.
When Fetch&apos;s &apos;tainted origin flag&apos; is set, having a TAO header equal to the request origin is not a valid way to pass the TAO check (instead, requires &apos;*&apos; or &apos;null&apos;).
Use https://wpt.fyi/results/resource-timing/crossorigin-sandwich-TAO.sub.html?label=master&amp;label=experimental to know whether this passes on Safari (probably doesn&apos;t but hasn&apos;t loaded the test yet).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1593088</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-11-22 16:05:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/57444359&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>