<?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>306075</bug_id>
          
          <creation_ts>2026-01-22 16:12:47 -0800</creation_ts>
          <short_desc>[Site Isolation] create proxying version of PageAgent based in UIProcess</short_desc>
          <delta_ts>2026-05-25 21:36:39 -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>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>308895</blocked>
    
    <blocked>308896</blocked>
    
    <blocked>308897</blocked>
    
    <blocked>308898</blocked>
    
    <blocked>308899</blocked>
    
    <blocked>308900</blocked>
    
    <blocked>309222</blocked>
    
    <blocked>309223</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Blaze Burg">bburg</reporter>
          <assigned_to name="Blaze Burg">bburg</assigned_to>
          <cc>bburg</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2174293</commentid>
    <comment_count>0</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2026-01-22 16:12:47 -0800</bug_when>
    <thetext>Design sketch:

1. Create ProxyingPageAgent in UIProcess, owned by WebPageInspectorController. When site-isolation is enabled, this domain takes over dispatch of the Page domain commands coming from the frontend. ProxyingPageAgent maintains the same PageTarget-based API for forward and backward compatibility with all frontends.

2. Create new PageAgentProxy in WebProcess, which duplicates the &quot;instrumenting&quot; of PageAgent including InspectorInstrumentation hooks and a slot in WebCore::InstrumentingAgents. Events (domContentLoaded, etc) get forwarded to the agent in UIProcess and dispatched out to the frontend. An IPC interface between ProxyingPageAgent and PageAgentProxy will provide a way to collect frame info from each WebProcess as needed. Enablement is bootstrapped via IPC::Messages::WebInspectorBackend:EnablePageInstrumentation.

3. Keep legacy PageAgent implementation around as LegacyPageAgent. We&apos;ll need to maintain it in the short-term as a fallback for ProxyingPageAgent, and in the longer-term for WebKitLegacy support. It will continue to live only in top-document&apos;s WebProcess, attached to PageInspectorController. Commands not yet implemented for ProxyingPageAgent will be forwarded to the LegacyPageAgent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174294</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-01-22 16:13:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/168716398&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2192808</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2026-03-23 10:46:19 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61177</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214005</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-25 21:36:37 -0700</bug_when>
    <thetext>Committed 313867@main (6fd4b1f654c6): &lt;https://commits.webkit.org/313867@main&gt;

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

    </bug>

</bugzilla>