Commit 6cd64f3
doc: note caveats in process message serialization
The message sent using process.send() goes through JSON
serialization and parsing, which could lead to surprising behaviors.
This commit elaborate a bit more on this and add a link to
the notes about these caveats in the ECMAScript specification.
PR-URL: #12963
Refs: #12497
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 9fc8edd commit 6cd64f3
2 files changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
894 | 898 | | |
895 | 899 | | |
896 | 900 | | |
| |||
1056 | 1060 | | |
1057 | 1061 | | |
1058 | 1062 | | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
1059 | 1067 | | |
1060 | 1068 | | |
1061 | 1069 | | |
| |||
1066 | 1074 | | |
1067 | 1075 | | |
1068 | 1076 | | |
| 1077 | + | |
1069 | 1078 | | |
1070 | 1079 | | |
1071 | 1080 | | |
| |||
1076 | 1085 | | |
1077 | 1086 | | |
1078 | 1087 | | |
1079 | | - | |
| 1088 | + | |
| 1089 | + | |
1080 | 1090 | | |
1081 | 1091 | | |
1082 | 1092 | | |
| |||
1329 | 1339 | | |
1330 | 1340 | | |
1331 | 1341 | | |
| 1342 | + | |
1332 | 1343 | | |
1333 | 1344 | | |
1334 | 1345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
1430 | 1433 | | |
1431 | 1434 | | |
1432 | 1435 | | |
1433 | | - | |
1434 | | - | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1435 | 1439 | | |
1436 | 1440 | | |
1437 | 1441 | | |
| |||
1833 | 1837 | | |
1834 | 1838 | | |
1835 | 1839 | | |
| 1840 | + | |
1836 | 1841 | | |
1837 | 1842 | | |
1838 | 1843 | | |
| |||
0 commit comments