docs: remove stale example and standardize DevTools capitalization (#49321)

* docs: remove stale example and standardize `DevTools` capitalization

* Update docs/api/web-contents.md

Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com>

---------

Co-authored-by: Kilian Valkhof <kilian@kilianvalkhof.com>
This commit is contained in:
Erick Zhao
2026-01-14 01:35:53 -08:00
committed by GitHub
parent a368c5da0c
commit dae76c2885
8 changed files with 25 additions and 71 deletions

View File

@@ -44,7 +44,7 @@ Returns:
* `reason` string - Reason for detaching debugger.
Emitted when the debugging session is terminated. This happens either when
`webContents` is closed or devtools is invoked for the attached `webContents`.
`webContents` is closed or DevTools is invoked for the attached `webContents`.
#### Event: 'message'