Skip to content

fix(webkit): stabilize inspector connections and disconnected states#39

Merged
DjDeveloperr merged 2 commits into
mainfrom
fix-inspector-connection-state
May 14, 2026
Merged

fix(webkit): stabilize inspector connections and disconnected states#39
DjDeveloperr merged 2 commits into
mainfrom
fix-inspector-connection-state

Conversation

@DjDeveloperr
Copy link
Copy Markdown
Collaborator

Summary

  • Keep WebKit inspector attachments alive by using a more reliable socket discovery path and the missing page-activation handshake before socket setup.
  • Surface daemon/provider disconnects as a stable Not connected state in the accessibility and devtools panels instead of flickering load/error states.
  • Block Chrome DevTools in Safari with a clear message and stop advertising app inspectors as CDP targets.
  • Patch WebInspectorUI compatibility gaps for the browser-hosted inspector so it renders consistently without spurious frontend errors.

Testing

  • cargo test --manifest-path server/Cargo.toml webkit
  • cargo clippy --manifest-path server/Cargo.toml --all-targets -- -D warnings
  • npm run build:cli
  • npm run build:client
  • Playwright E2E on http://127.0.0.1:4310/: opened WebKit DevTools for Safari, confirmed DOM protocol completion and a stable inspector WebSocket over a 60s hold, and verified the panel did not fall back to reconnecting/loading states.

@DjDeveloperr DjDeveloperr force-pushed the fix-inspector-connection-state branch from 9f8be0b to 4b29c85 Compare May 14, 2026 07:20
@DjDeveloperr DjDeveloperr force-pushed the fix-inspector-connection-state branch from 4b29c85 to 57dc4cd Compare May 14, 2026 07:22
@DjDeveloperr DjDeveloperr merged commit 6ca4f75 into main May 14, 2026
7 checks passed
@DjDeveloperr DjDeveloperr deleted the fix-inspector-connection-state branch May 14, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant