Bug 226951

Summary: Web Inspector connected to iOS: network does not show XHR/Fetch calls
Product: WebKit Reporter: federicotortora
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, jasemabeed114, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 11   

Description federicotortora 2021-06-12 04:53:00 PDT
I'm debugging a web app from iOS simulator with Safari Technology Preview Release 125 (Safari 14.2, WebKit 16612.1.15.1.12).
What happens is that after page first load, the network tab does not shows Ajax requests which can either go on success or error (I can see the request is correctly sent to the server)
Comment 1 Radar WebKit Bug Importer 2021-06-12 14:59:06 PDT
<rdar://problem/79246254>
Comment 2 Sam Sneddon [:gsnedders] 2021-06-16 13:54:05 PDT
(In reply to federicotortora from comment #0)
> I'm debugging a web app from iOS simulator with Safari Technology Preview
> Release 125 (Safari 14.2, WebKit 16612.1.15.1.12).
> What happens is that after page first load, the network tab does not shows
> Ajax requests which can either go on success or error (I can see the request
> is correctly sent to the server)

To confirm: do you only see this bug when you're debugging within the Simulator, and not within STP 125 itself?
Comment 3 federicotortora 2021-06-18 10:47:18 PDT
(In reply to Sam Sneddon [:gsnedders] from comment #2)
> (In reply to federicotortora from comment #0)
> > I'm debugging a web app from iOS simulator with Safari Technology Preview
> > Release 125 (Safari 14.2, WebKit 16612.1.15.1.12).
> > What happens is that after page first load, the network tab does not shows
> > Ajax requests which can either go on success or error (I can see the request
> > is correctly sent to the server)
> 
> To confirm: do you only see this bug when you're debugging within the
> Simulator, and not within STP 125 itself?

yes, you're correct. with normal web pages works like a charm.
Comment 4 Patrick Angle 2021-07-06 10:25:57 PDT
Can you provide a screen recording of the issue occurring, details on the version of iOS you are using in the simulator, and if possible a link to a sample page this reproduces on for you (for this last one I can try and stand up a test page, but always better if we are looking at the same thing) so I can attempt to reproduce this issue?

Thanks!
Comment 5 federicotortora 2021-07-11 03:04:52 PDT
sorry for the late response: https://www.youtube.com/watch?v=j1hKVRa8lwI
when I click on the two squares on top of screen an xhr request happens.
The requests are made with common HttpClient from angular framework.