<?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>243409</bug_id>
          
          <creation_ts>2022-08-01 09:55:32 -0700</creation_ts>
          <short_desc>REGRESSION(249632@main): wpt /service-workers/service-worker/claim-worker-fetch.https.html</short_desc>
          <delta_ts>2022-08-11 12:13: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>Service Workers</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=239066</see_also>
          <bug_file_loc>https://www.w3.org/TR/service-workers/#control-and-use-worker-client</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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1888094</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-08-01 09:55:32 -0700</bug_when>
    <thetext>See https://wpt.fyi/results/service-workers/service-worker/claim-worker-fetch.https.html?label=master&amp;product=safari-15.6%20%2817613.3.9.1.5%29%5Bstable%5D&amp;product=safari%5Bexperimental%5D&amp;aligned&amp;view=subtest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888095</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-01 09:55:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/97919820&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888096</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-08-01 09:56:22 -0700</bug_when>
    <thetext>Specifically, given I forgot what I was gonna write in the description, the `fetch() in blob URL Worker should be intercepted after the client is claimed.` subtest has regressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890037</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-09 11:47:30 -0700</bug_when>
    <thetext>I think the issue is that in SWServer::claim(), doRegistrationMatching() returns false for the blob URL worker client since we call doRegistrationMatching() with clientData.url which is a Blob URL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890040</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-09 11:50:45 -0700</bug_when>
    <thetext>Relevant spec text:
https://www.w3.org/TR/service-workers/#control-and-use-worker-client</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890060</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-09 12:27:12 -0700</bug_when>
    <thetext>Spec doesn&apos;t actually deal properly with a service worker claiming a client worker that is a Blob URL but there is a spec bug about it:
- https://github.com/w3c/ServiceWorker/issues/1554</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890075</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-08-09 13:15:45 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3164</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890652</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-11 12:13:27 -0700</bug_when>
    <thetext>Committed 253345@main (497df5ae79f3): &lt;https://commits.webkit.org/253345@main&gt;

Reviewed commits have been landed. Closing PR #3164 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>