Fixes #68181. Rejects malformed macOS screen.snapshot params before capture, sanitizes capture failures, and bounds inline base64 snapshot responses against the projected node.invoke.result frame size. Supersedes #68186.
Co-authored-by: Val Alexander <68980965+BunsDev@users.noreply.github.com>