WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
310250
Web Inspector: Site Isolation: Network domain sync XHR content fallback
https://bugs.webkit.org/show_bug.cgi?id=310250
Summary
Web Inspector: Site Isolation: Network domain sync XHR content fallback
Blaze Burg
Reported
2026-03-18 23:14:13 PDT
FrameNetworkAgentProxy::didReceiveData does not have a fallback for synchronous XHR responses that exceed buffer limits or get evicted. In the legacy path, InspectorNetworkAgent checks m_loadingXHRSynchronously and falls back to base64-encoding the raw data via setResourceContent. The SI path cannot replicate this because willLoadXHRSynchronously/didLoadXHRSynchronously are not in the NetworkAgentInstrumentation interface (marked FIXME in LegacyNetworkAgent.h). Without this, sync XHR content may be missing from getResponseBody under Site Isolation. Fixing this requires adding the sync XHR hooks to NetworkAgentInstrumentation, implementing them in both LegacyNetworkAgent and FrameNetworkAgentProxy, and tracking the sync state in the proxy. Sub-bug of
rdar://143782685
.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-18 23:14:20 PDT
<
rdar://problem/172894150
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug