Bug 270364
| Summary: | Webinspect fails with visionOS 1.1 Simulator | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Rossi <electroteque> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, rcaliman, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Vision Pro | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=271134 | ||
Daniel Rossi
I have XCode Beta 15.3 beta 3, visionOS 1.1 Simulator, Safari 17.4 / Safari Technology Preview, macOS Sonoma. Web inspection of the Safari in visionOS fails. Only visionOS 1.0 is web inspection possible.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/124287623>
Razvan Caliman
Thank you for filing this! This is indeed a bug. A fix was made and is coming soon.
Daniel Rossi
I just updated Sonoma that gave me an update of Xcode and the Vision OS 1.1 simulator. There is still no web inspect sadly.
Daniel Rossi
I had to build a logging proxy for the meantime until webinspect starts working again. all console logs go to a websocket for logging in a console.
https://downloads-electroteque-org.s3.amazonaws.com/avision-logger.zip
Razvan Caliman
A fix was released earlier in a patch release to visionOS for physical devices.
The fix carried over to visionOS Simulator with visionOS 1.2 which is available in Xcode 15.4 (in public beta at the time of this writing).
That fix addressed the underlying problem of not being able to remotely inspect Safari on visionOS (on device and on Simulator).
Even after this fix, you may still encounter another issue with remote inspection: https://bugs.webkit.org/show_bug.cgi?id=271134
The workaround described in https://bugs.webkit.org/show_bug.cgi?id=271134#c4 should also work for visionOS Simulator: open the page a second time in another tab in Safari on visionOS.
A fix was made for that bug as well and will ship with an OS update.
I will update that bug when a public build is available.
Thank you for your patience! I know it's not been a good experience to have remote inspection broken. It's so cool that you were able to build yourself a tool as a solution. Thank you for sharing!
Daniel Rossi
It's ok. I've completed my R&D and upgrades 2 weeks ago. to integrate transient-pointer into my vr controls and some other video fixes as apple vision pauses video when going into immersion mode. I had to build the websocket proxy to get me by and worked.