diff options
Diffstat (limited to 'src/cdp/console-buffer.ts')
| -rw-r--r-- | src/cdp/console-buffer.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cdp/console-buffer.ts b/src/cdp/console-buffer.ts index 002ccd6..5ba7c87 100644 --- a/src/cdp/console-buffer.ts +++ b/src/cdp/console-buffer.ts @@ -256,10 +256,8 @@ export const createConsoleBuffer = (capacity = 500): ConsoleBuffer => { clear() { records.clear(); + nextSeq = 1; overflowed = false; - // nextSeq is intentionally NOT reset: the cursor remains monotonic across - // tab switches so a stale sinceSeq from a previous tab can't accidentally - // match new records. }, }; }; |
