The positional `level`, `message`, `line` and `sourceId` arguments of the
`console-message` event on `WebContents` were deprecated in Electron 35
(#43617). Emit only the event object, which carries the same details.
The `<webview>` `console-message` event keeps its documented shape: its
properties are now built from the event object, mapping `level` back to
an integer and `lineNumber` to `line`.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KX1hkMDSGWsnDTtXQfCHjk