Commit 03d6013
worker: do not crash when JSTransferable lists untransferable value
This can currently be triggered when posting a closing FileHandle.
Refs: #34746 (comment)
PR-URL: #34766
Backport-PR-URL: #34814
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 04defba commit 03d6013Copy full SHA for 03d6013
File tree
Expand file treeCollapse file tree
2 files changed
+45
-5
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
2 files changed
+45
-5
lines changedOpen diff view settings
Collapse file
+7-5Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
342 | 342 | |
343 | 343 | |
344 | 344 | |
| 345 | + |
| 346 | + |
| 347 | + |
| 348 | + |
| 349 | + |
| 350 | + |
345 | 351 | |
346 | 352 | |
347 | 353 | |
348 | 354 | |
349 | 355 | |
350 | 356 | |
351 | 357 | |
352 | | - |
353 | | - |
354 | | - |
355 | | - |
356 | | - |
| 358 | + |
357 | 359 | |
358 | 360 | |
359 | 361 | |
|
Collapse file
test/parallel/test-worker-message-port-jstransferable-nested-untransferable.js
Copy file name to clipboard+38Lines changed: 38 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 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
0 commit comments