<?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>210487</bug_id>
          
          <creation_ts>2020-04-14 04:49:12 -0700</creation_ts>
          <short_desc>[SOUP] ResourceLoadStatistics: add support for isolated sessions</short_desc>
          <delta_ts>2020-06-16 07:41:33 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=210184</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>wilander</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1641320</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-04-14 04:49:12 -0700</bug_when>
    <thetext>Looking at the cocoa code I&apos;m not entirely sure what the expected behavior is, and I think the layout tests just check that an isolated session is used, but not the behavior when it&apos;s used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1660821</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-06-09 13:10:49 -0700</bug_when>
    <thetext>Discussion on this here: https://bugs.webkit.org/show_bug.cgi?id=210184#c11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1661918</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-06-12 06:47:50 -0700</bug_when>
    <thetext>In particular, from bug #210184:

&gt; GLib doesn&apos;t have any way to prevent session resumption, so it would be impossible to do in libsoup alone without changes in GLib. I could add GLib API for you if desired. Would be easy to do, and would allow removing a hack we use to disable session resumption when running tests. (Currently calling g_test_init() will disable session resumption, because there&apos;s no API tests can use to do that, so this behavior has to be tested manually.)

I&apos;d be good to hear more from John about the intent behind isolated network sessions, though. Is there more that&apos;s not supposed to be shared besides the TLS session? (Disk cache? Could websites fingerprint users based on what resources they have in disk cache?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663058</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-06-16 07:02:38 -0700</bug_when>
    <thetext>Yes, please, I still don&apos;t know what the expected behavior is to see how to implement it in libsoup if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663061</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-06-16 07:16:03 -0700</bug_when>
    <thetext>I have another question for John or Youenn. I&apos;ve noticed that resource load stats are removed automatically for origins when the cookies or hsts cache is removed for them, but it doesn&apos;t seem to be possible to remove the stats specifically for a set of registrable domains, since it&apos;s not possible to fetch the list of registrable domains with stats. Is that on purpose? I started to add support for fetch/remove but then I realized that maybe it was not implemented on purpose.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663072</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-06-16 07:41:33 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #4)
&gt; I have another question for John or Youenn. I&apos;ve noticed that resource load
&gt; stats are removed automatically for origins when the cookies or hsts cache
&gt; is removed for them, but it doesn&apos;t seem to be possible to remove the stats
&gt; specifically for a set of registrable domains, since it&apos;s not possible to
&gt; fetch the list of registrable domains with stats. Is that on purpose? I
&gt; started to add support for fetch/remove but then I realized that maybe it
&gt; was not implemented on purpose.

I misread the code, deleting stats for a specific host is supported, it&apos;s weird that the display name is used, though. But fetch is not implemented.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>