From 5d90855dc4a525f2323017de0ad4c406168e8948 Mon Sep 17 00:00:00 2001 From: theanarkh Date: Thu, 26 Jan 2023 10:35:02 +0800 Subject: [PATCH] doc: add tip for session.post function --- doc/api/inspector.md | 4 ++++ doc/api/v8.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 27a7c656136196..a699b6c16a68b5 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -325,6 +325,10 @@ by V8. Chrome DevTools Protocol domain provides an interface for interacting with one of the runtime agents used to inspect the application state and listen to the run-time events. +You can not set `reportProgress` to `true` when sending a +`HeapProfiler.takeHeapSnapshot` or `HeapProfiler.stopTrackingHeapObjects` +command to V8. + #### Example usage Apart from the debugger, various V8 Profilers are available through the DevTools diff --git a/doc/api/v8.md b/doc/api/v8.md index 9fe79556b6011a..bd56168b49ad09 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -1081,7 +1081,7 @@ Start collecting GC data. added: REPLACEME --> -Stop collecting GC data and return a object.The content of object +Stop collecting GC data and return an object.The content of object is as follows. ```json