Commit dafa380
committed
worker: emit
This is much nicer than just treating exceptions as uncaught, and
enables reporting of exceptions from the internal C++ deserialization
machinery.
PR-URL: #33772
Backport-PR-URL: #33965
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>'messagerror' events for failed deserialization1 parent dd51ba3 commit dafa380Copy full SHA for dafa380
File tree
Expand file treeCollapse file tree
9 files changed
+69
-6
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- src
- test/parallel
Expand file treeCollapse file tree
9 files changed
+69
-6
lines changedOpen diff view settings
Collapse file
+12Lines changed: 12 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1539 | 1539 | |
1540 | 1540 | |
1541 | 1541 | |
| 1542 | + |
| 1543 | + |
| 1544 | + |
| 1545 | + |
| 1546 | + |
| 1547 | + |
| 1548 | + |
| 1549 | + |
| 1550 | + |
| 1551 | + |
| 1552 | + |
1542 | 1553 | |
1543 | 1554 | |
1544 | 1555 | |
| ||
2534 | 2545 | |
2535 | 2546 | |
2536 | 2547 | |
| 2548 | + |
2537 | 2549 | |
2538 | 2550 | |
2539 | 2551 | |
|
Collapse file
+18Lines changed: 18 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
303 | 303 | |
304 | 304 | |
305 | 305 | |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
306 | 315 | |
307 | 316 | |
308 | 317 | |
| ||
683 | 692 | |
684 | 693 | |
685 | 694 | |
| 695 | + |
| 696 | + |
| 697 | + |
| 698 | + |
| 699 | + |
| 700 | + |
| 701 | + |
| 702 | + |
| 703 | + |
686 | 704 | |
687 | 705 | |
688 | 706 | |
|
Collapse file
+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
191 | 191 | |
192 | 192 | |
193 | 193 | |
194 | | - |
| 194 | + |
| 195 | + |
| 196 | + |
195 | 197 | |
196 | 198 | |
197 | 199 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
231 | 231 | |
232 | 232 | |
233 | 233 | |
| 234 | + |
234 | 235 | |
235 | 236 | |
236 | 237 | |
| ||
288 | 289 | |
289 | 290 | |
290 | 291 | |
| 292 | + |
291 | 293 | |
292 | 294 | |
293 | 295 | |
|
Collapse file
+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
42 | 42 | |
43 | 43 | |
44 | 44 | |
| 45 | + |
45 | 46 | |
46 | 47 | |
47 | 48 | |
| ||
96 | 97 | |
97 | 98 | |
98 | 99 | |
| 100 | + |
| 101 | + |
| 102 | + |
99 | 103 | |
100 | 104 | |
101 | 105 | |
|
Collapse file
+22-3Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
772 | 772 | |
773 | 773 | |
774 | 774 | |
775 | | - |
| 775 | + |
| 776 | + |
| 777 | + |
| 778 | + |
| 779 | + |
| 780 | + |
| 781 | + |
| 782 | + |
| 783 | + |
| 784 | + |
| 785 | + |
776 | 786 | |
777 | 787 | |
778 | 788 | |
| ||
783 | 793 | |
784 | 794 | |
785 | 795 | |
| 796 | + |
| 797 | + |
| 798 | + |
| 799 | + |
| 800 | + |
| 801 | + |
| 802 | + |
| 803 | + |
| 804 | + |
| 805 | + |
786 | 806 | |
787 | 807 | |
788 | 808 | |
| ||
1245 | 1265 | |
1246 | 1266 | |
1247 | 1267 | |
1248 | | - |
1249 | | - |
| 1268 | + |
1250 | 1269 | |
1251 | 1270 | |
1252 | 1271 | |
|
Collapse file
test/parallel/test-worker-message-port-transfer-fake-js-transferable-internal.js
Copy file name to clipboardExpand all lines: test/parallel/test-worker-message-port-transfer-fake-js-transferable-internal.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
| 29 | + |
30 | 30 | |
31 | 31 | |
32 | 32 | |
|
Collapse file
test/parallel/test-worker-message-port-transfer-fake-js-transferable.js
Copy file name to clipboardExpand all lines: test/parallel/test-worker-message-port-transfer-fake-js-transferable.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
35 | 35 | |
36 | 36 | |
|
Collapse file
test/parallel/test-worker-message-port-transfer-filehandle.js
Copy file name to clipboardExpand all lines: test/parallel/test-worker-message-port-transfer-filehandle.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
58 | 64 | |
59 | 65 | |
60 | 66 | |
|
0 commit comments