<?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>290876</bug_id>
          
          <creation_ts>2025-04-01 15:46:30 -0700</creation_ts>
          <short_desc>New Test(292363@main): [ iOS ] imported/w3c/web-platform-tests/trusted-types/DedicatedWorker-constructor-from-SharedWorker.html is a flaky failure.</short_desc>
          <delta_ts>2025-04-29 05:11:59 -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>New Bugs</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>291345</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="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>lwarlow</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2107957</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-04-01 15:46:30 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/trusted-types/DedicatedWorker-constructor-from-SharedWorker.html

This test is a flaky failure on iOS.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Ftrusted-types%2FDedicatedWorker-constructor-from-SharedWorker.html

TEXT DIFF:

@@ -1,7 +1,4 @@
 
-FAIL Creating a Worker from a string should throw (shared worker scope) assert_throws_js: Creating a Worker threw function &quot;() =&gt; { new Worker(&quot;w&quot;); }&quot; threw object &quot;ReferenceError: Can&apos;t find variable: Worker&quot; (&quot;ReferenceError&quot;) expected instance of function &quot;function TypeError() {
-    [native code]
-}&quot; (&quot;TypeError&quot;)
-FAIL Creating a Worker from a TrustedScriptURL should not throw (shared worker scope) Can&apos;t find variable: Worker
-FAIL Creating a Worker from a string with a default policy should not throw (shared worker scope) Can&apos;t find variable: Worker
+Harness Error (TIMEOUT), message = null
 
+

DIFF URL:

https://build.webkit.org/results/Apple-iOS-18-Simulator-Release-WK2-Tests/293017@main%20(1244)/imported/w3c/web-platform-tests/trusted-types/DedicatedWorker-constructor-from-SharedWorker-pretty-diff.html

REPRODUCIBILITY:

I was unable to reproduce on the iOS 18.2 simulator.

REGRESSION:

This test appears to be failing since it was imported at 292363@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107958</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-04-01 15:46:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/148376545&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107961</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-04-01 15:54:58 -0700</bug_when>
    <thetext>Test gardening commit 293049@main (b19a20d52837): &lt;https://commits.webkit.org/293049@main&gt;

Reviewed commits have been landed. Closing PR #43419 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2108792</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2025-04-03 23:03:25 -0700</bug_when>
    <thetext>Luke, could you take a look at this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110160</commentid>
    <comment_count>4</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-04-10 04:54:46 -0700</bug_when>
    <thetext>I&apos;m also unable to reproduce this using the iOS 18.4 simulator and minibrowser. This test isn&apos;t expected to actually pass because only Gecko seems to actually expose Workers inside of SharedWorkers, but I would expect a consistent set of errors as is marked in the expected file.

Given we don&apos;t expect this to actually pass I&apos;d be inclined to Skip it if it&apos;s a flaky timeout. Running it doesn&apos;t really provide much?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2110382</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2025-04-11 01:13:55 -0700</bug_when>
    <thetext>I see, reportedly there is a problem with fetch_tests_from_worker at the harness-level so Skip seems acceptable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113857</commentid>
    <comment_count>6</comment_count>
    <who name="Luke Warlow">lwarlow</who>
    <bug_when>2025-04-29 05:11:59 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 291345 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>