<?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>315225</bug_id>
          
          <creation_ts>2026-05-20 13:17:05 -0700</creation_ts>
          <short_desc>[Site Isolation] Layout test cross-origin-iframe-request-id-uniqueness.html times out under mac-wk2-stress; skipped pending speedup or harness fix</short_desc>
          <delta_ts>2026-05-20 13:20:09 -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>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>
          <dependson>310164</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Blaze Burg">bburg</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2212646</commentid>
    <comment_count>0</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2026-05-20 13:17:05 -0700</bug_when>
    <thetext>The new layout test
http/tests/site-isolation/inspector/network/cross-origin-iframe-request-id-uniqueness.html,
added by webkit.org/b/310164 to verify deterministic Network IDs across cross-origin iframes
under Site Isolation, is reliably slow and frequently times out under
mac-wk2-stress on EWS.

Cause: the test spawns several processes (one main page + two cross-origin
iframe WebContent processes under Site Isolation, plus an Inspector process)
and waits for inspector-side Frame.ResourceWasAdded events for two separate
fetches. Under stress mode&apos;s parallel workers, inter-worker contention on
the shared HTTP server and process launches pushes the test past the
timeout, even with [ Slow ]. Sequential bisect (1 worker) passes 30/30;
the test logic itself is not racy.

Recent EWS run showing the Pass/Timeout pattern:
https://ews-build.webkit.org/#/builders/8/builds/146566

Marking the test as [ Skip ] in platform/mac-wk2/TestExpectations to
unblock the proxy-page-agent stack (PRs #60842, #61172, #61177).
Re-enable when one of:
  - the test is restructured to launch fewer processes, or
  - the test runner / EWS stress configuration handles process-heavy
    Inspector tests without parallel-worker contention.

Observed locally: 29-48% timeout rate with parallel workers; 0% sequential.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2212647</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-05-20 13:17:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/177554308&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2212648</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2026-05-20 13:20:09 -0700</bug_when>
    <thetext>Quick archaeology of related-but-not-identical prior art (none addresses process-heavy SI Inspector tests directly):

- webkit.org/b/313791 -- 5 http/tests/inspector constant TIMEOUTs were caused by a build-system symlink issue copying WebInspectorUI resources, not test logic. Different root cause.
- webkit.org/b/313860 -- TestWebKitAPI.WKInspectorExtension flaky timeout fixed by addressing the underlying regression rather than annotating the test. Different surface.
- webkit.org/b/303862 -- Site Isolation mixed-content test failures fixed by replacing determinism-breaking frame load callbacks with setTimeout fallbacks.

The right long-term fix for this test is most likely structural -- consolidate the two iframe scenarios into a single iframe (one cross-origin fetch + one same-origin fetch from the same iframe) so we only spawn one extra WebContent process instead of two, or rewrite the assertion at a layer that does not require launching processes at all (e.g., a unit test of the request-ID assignment logic in the dispatcher).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>