<?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>190313</bug_id>
          
          <creation_ts>2018-10-05 08:23:05 -0700</creation_ts>
          <short_desc>Implement FetchEvent.resultingClientId</short_desc>
          <delta_ts>2022-06-06 14:50:16 -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>Service Workers</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>235070</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="Matt Falkenhagen">falken</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ashley</cc>
    
    <cc>ben</cc>
    
    <cc>gsnedders</cc>
    
    <cc>steffen.weber</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1466692</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2018-10-05 08:23:05 -0700</bug_when>
    <thetext>This allows getting the client id before the client is created, for associating the fetch event for the main resource with fetch events for subsequent subresources.

Spec: https://w3c.github.io/ServiceWorker/#fetch-event-resultingclientid
WPT: https://github.com/web-platform-tests/wpt/blob/master/service-workers/service-worker/navigation-redirect.https.html
Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=778497
Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1264177</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1488425</commentid>
    <comment_count>1</comment_count>
    <who name="Ben Kelly">ben</who>
    <bug_when>2018-12-17 06:26:58 -0800</bug_when>
    <thetext>FWIW, this has been implemented in edge, firefox, and chrome now:

  edge 18 already shipped in Oct
  firefox 65 shipping end of January
  chrome 72 shipping end of January

Just FYI since it might become more of an interop/compat issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1846080</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-25 10:35:57 -0800</bug_when>
    <thetext>&lt;rdar://problem/89481601&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874286</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-06-06 06:38:32 -0700</bug_when>
    <thetext>This was done in bug 235070.

*** This bug has been marked as a duplicate of bug 235070 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874305</commentid>
    <comment_count>4</comment_count>
    <who name="Ashley Gullen">ashley</who>
    <bug_when>2022-06-06 07:55:19 -0700</bug_when>
    <thetext>Please note the MDN docs still mark this as unsupported in Safari: https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/resultingClientId</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874376</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-06-06 14:50:16 -0700</bug_when>
    <thetext>(In reply to Ashley Gullen from comment #4)
&gt; Please note the MDN docs still mark this as unsupported in Safari:
&gt; https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent/resultingClientId

I&apos;m aware; I came across this while preparing browser-compat-data updates for Safari 16 Beta!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>