<?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>252800</bug_id>
          
          <creation_ts>2023-02-22 23:47:24 -0800</creation_ts>
          <short_desc>Worker constructor doesn&apos;t use preloaded script</short_desc>
          <delta_ts>2023-03-01 23:48:14 -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 Misc.</component>
          <version>WebKit Local 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=180574</see_also>
          <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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <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>1936084</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-02-22 23:47:24 -0800</bug_when>
    <thetext>new Worker doesn&apos;t use preloaded script due to the mismatch of cached resource types (preloaded script vs. raw)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936088</commentid>
    <comment_count>1</comment_count>
      <attachid>465128</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2023-02-23 00:01:09 -0800</bug_when>
    <thetext>Created attachment 465128
test (place it under LayoutTests/http/tests/preload)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1938068</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-03-01 23:48:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/106129456&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>465128</attachid>
            <date>2023-02-23 00:01:09 -0800</date>
            <delta_ts>2023-02-23 00:02:03 -0800</delta_ts>
            <desc>test (place it under LayoutTests/http/tests/preload)</desc>
            <filename>preload-worker-script.html</filename>
            <type>text/html</type>
            <size>657</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxoZWFkPgo8c2NyaXB0PgoKY29uc3QgdXJsID0gbmV3IFVSTCgnLi4v
d29ya2Vycy93b3JrZXItc2VsZi5qcz90aW1lPScgKyAoK25ldyBEYXRlKSwgbG9jYXRpb24uaHJl
Zik7CmRvY3VtZW50LndyaXRlKGA8bGluayByZWw9InByZWxvYWQiIGhyZWY9IiR7dXJsLmhyZWZ9
IiBhcz0ic2NyaXB0Ij5gKTsKCjwvc2NyaXB0Pgo8L2hlYWQ+Cjxib2R5Pgo8c2NyaXB0IHNyYz0i
Li4vcmVzb3VyY2VzL2pzLXRlc3QtcHJlLmpzIj48L3NjcmlwdD4KPHNjcmlwdD4KCmRlc2NyaXB0
aW9uKCdUaGlzIHRlc3RzIHByZWxvYWRpbmcgYSB3b3JrZXIgc2NyaXB0IHdpdGggbGluayByZWw9
cHJlbG9hZC4nKTsKCmpzVGVzdElzQXN5bmMgPSB0cnVlOwoKY29uc3Qgd29ya2VyID0gbmV3IFdv
cmtlcih1cmwuaHJlZik7Cndvcmtlci5vbm1lc3NhZ2UgPSAoZXZlbnQpID0+IHsKICAgIHNob3Vs
ZEJlKCdwZXJmb3JtYW5jZS5nZXRFbnRyaWVzQnlOYW1lKHVybC5ocmVmKS5maWx0ZXIoKGVudHJ5
KSA9PiAhIWVudHJ5LnRyYW5zZmVyU2l6ZSkubGVuZ3RoJywgJzEnKTsKICAgIGZpbmlzaEpTVGVz
dCgpOwp9Cgo8L3NjcmlwdD4KPHNjcmlwdCBzcmM9Ii4uL3Jlc291cmNlcy9qcy10ZXN0LXBvc3Qu
anMiPjwvc2NyaXB0Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>