<?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>171202</bug_id>
          
          <creation_ts>2017-04-23 14:06:44 -0700</creation_ts>
          <short_desc>Content blocker `load-type=third-party` is applied to subdomain requests</short_desc>
          <delta_ts>2024-03-11 17:16:52 -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>WebKit Misc.</component>
          <version>Safari 10</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="Andrey Meshkov">am</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>krzysztof.modras</cc>
    
    <cc>mjs</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1300366</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2017-04-23 14:06:44 -0700</bug_when>
    <thetext>Request to `subdomain.example.org` sent from `example.org` is considered third party.

All the ad blockers out there use another definition of `third-party`, requests to subdomains are considered first-party.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620587</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-02-19 02:28:51 -0800</bug_when>
    <thetext>We should probably use a definition of third-party that is in terms of in terms of &quot;site&quot; rather than &quot;origin&quot;, as in the definitions of &quot;first party&quot; and &quot;third party&quot; in the WebKit Tracking Prevention policy:

https://webkit.org/tracking-prevention-policy/

While this does not match the same-origin policy sense, it does match cookies and the way our http cache partitioning works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620589</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-02-19 02:30:37 -0800</bug_when>
    <thetext>&lt;rdar://problem/59584586&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620622</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2020-02-19 03:39:50 -0800</bug_when>
    <thetext>Yeah, the first-party definition you use in ITP makes perfect sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621089</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-02-19 22:07:55 -0800</bug_when>
    <thetext>This might be a compatibility break, so I wonder if we need to add a new version of third-party with a different name. (&apos;third-party-site&apos; maybe? and legacy version aliased to third-party-origin?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621128</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Meshkov">am</who>
    <bug_when>2020-02-20 00:21:24 -0800</bug_when>
    <thetext>In my opinion, this change won&apos;t cause any troubles. On the contrary, it might fix a few things.

The thing is that most of the content blockers for Safari are actually &quot;converted&quot; from existing filter lists like EasyList, AdGuard filters, etc, and all these filter lists expect the requested behavior of &quot;third-party&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>