Commit 8b256a3
inspector: expose inspector.close on workers
Workers can open their own inspector agent with `inspector.open`.
They should be able to close their own inspector agent too with
`inspector.close`.
PR-URL: #44489
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 353cd84 commit 8b256a3Copy full SHA for 8b256a3
File tree
Expand file treeCollapse file tree
4 files changed
+38
-6
lines changedOpen diff view settings
Filter options
- doc/api
- lib
- src
- test/parallel
Expand file treeCollapse file tree
4 files changed
+38
-6
lines changedOpen diff view settings
Collapse file
-3Lines changed: 0 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
23 | | - |
24 | 22 | |
25 | 23 | |
26 | 24 | |
| ||
262 | 260 | |
263 | 261 | |
264 | 262 | |
265 | | - |
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
35 | 36 | |
36 | 37 | |
37 | 38 | |
| ||
195 | 196 | |
196 | 197 | |
197 | 198 | |
198 | | - |
| 199 | + |
199 | 200 | |
200 | 201 | |
201 | 202 | |
|
Collapse file
src/node_process_methods.cc
Copy file name to clipboardExpand all lines: src/node_process_methods.cc+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
562 | 562 | |
563 | 563 | |
564 | 564 | |
565 | | - |
566 | 565 | |
567 | 566 | |
568 | 567 | |
569 | 568 | |
570 | 569 | |
571 | 570 | |
572 | | - |
573 | 571 | |
574 | 572 | |
575 | 573 | |
576 | 574 | |
577 | 575 | |
| 576 | + |
578 | 577 | |
579 | 578 | |
580 | 579 | |
581 | 580 | |
582 | 581 | |
| 582 | + |
583 | 583 | |
584 | 584 | |
585 | 585 | |
|
Collapse file
test/parallel/test-inspector-close-worker.js
Copy file name to clipboard+34Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
0 commit comments