<?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>205370</bug_id>
          
          <creation_ts>2019-12-17 18:05:40 -0800</creation_ts>
          <short_desc>ER: There is no way for nested iframes to get storage access</short_desc>
          <delta_ts>2021-02-10 11:03:01 -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>WebCore JavaScript</component>
          <version>Safari 13</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>216019</dup_id>
          
          <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="Brad">brad.girardeau</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mattcoz</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1599647</commentid>
    <comment_count>0</comment_count>
    <who name="Brad">brad.girardeau</who>
    <bug_when>2019-12-17 18:05:40 -0800</bug_when>
    <thetext>Storage Access API denies all access to nested iframes (since https://bugs.webkit.org/show_bug.cgi?id=176939), but this results in a problem for legitimate integrations that use iframes to isolate third parties from each other for privacy and security, rather than including third party scripts in the first party context. There is no way I&apos;m aware of to allow users to grant consent to a nested iframe for first party cookies.

There should be some way for these integrations to work after user consent -- currently this is breaking the Dropbox Google Docs integration (go to www.dropbox.com, then create a Google Doc inside Dropbox), even when users disable third party tracking protection.

The use case and comment is also described here: https://github.com/whatwg/html/issues/3338#issuecomment-516231497</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1599668</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-12-17 19:10:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/58030067&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1600492</commentid>
    <comment_count>2</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2019-12-19 14:09:06 -0800</bug_when>
    <thetext>This is an enhancement request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1637952</commentid>
    <comment_count>3</comment_count>
    <who name="">mattcoz</who>
    <bug_when>2020-04-05 14:28:23 -0700</bug_when>
    <thetext>This is a breaking issue for my application. My content is being loaded in a third party context, and I can successfully request storage access, but my content loads additional content in a nested iframe that can&apos;t get storage access, even though it is at the same domain as the parent that requested storage access. If you want to continue blocking the storage access request from the nested iframe, storage access should propagate to nested iframes when they are at the same domain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1684936</commentid>
    <comment_count>4</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2020-09-02 13:00:08 -0700</bug_when>
    <thetext>This has now been resolved in https://bugs.webkit.org/show_bug.cgi?id=216019. Sorry for the forward dupe.

*** This bug has been marked as a duplicate of bug 216019 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727641</commentid>
    <comment_count>5</comment_count>
    <who name="John Wilander">wilander</who>
    <bug_when>2021-02-10 11:03:01 -0800</bug_when>
    <thetext>https://webkit.org/blog/11545/updates-to-the-storage-access-api/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>