docs: fix contentTracing code sample (#26737)
This commit is contained in:
parent
94381cda49
commit
430189fa84
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const { app, contentTracing } = require('electron')
|
||||||
app.whenReady().then(() => {
|
app.whenReady().then(() => {
|
||||||
(async () => {
|
(async () => {
|
||||||
await contentTracing.startRecording({
|
await contentTracing.startRecording({
|
||||||
include_categories: ['*']
|
included_categories: ['*']
|
||||||
})
|
})
|
||||||
console.log('Tracing started')
|
console.log('Tracing started')
|
||||||
await new Promise(resolve => setTimeout(resolve, 5000))
|
await new Promise(resolve => setTimeout(resolve, 5000))
|
||||||
|
|
Loading…
Reference in a new issue