Commit 38dee8a
authored
src: distinguish HTML transferable and cloneable
The HTML structured serialize algorithm treats transferable and
serializable as two different bits. A web platform interface can be
both transferable and serializable.
Splits BaseObject::TransferMode to be able to compose the two bits
and distinguishes the transferable and cloneable.
PR-URL: #47956
Refs: v8/v8@cf13b9b
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>1 parent 3205b19 commit 38dee8aCopy full SHA for 38dee8a
File tree
Expand file treeCollapse file tree
37 files changed
+547
-320
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src
- api
- objects
- test/unittests/objects
- lib/internal
- crypto
- fs
- perf
- test
- webstreams
- worker
- src
- crypto
- test/parallel
Expand file treeCollapse file tree
37 files changed
+547
-320
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
deps/v8/include/v8-value-serializer.h
Copy file name to clipboardExpand all lines: deps/v8/include/v8-value-serializer.h+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
78 | 92 | |
79 | 93 | |
80 | 94 | |
|
Collapse file
+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3569 | 3569 | |
3570 | 3570 | |
3571 | 3571 | |
| 3572 | + |
| 3573 | + |
| 3574 | + |
| 3575 | + |
| 3576 | + |
| 3577 | + |
| 3578 | + |
| 3579 | + |
| 3580 | + |
| 3581 | + |
| 3582 | + |
| 3583 | + |
| 3584 | + |
3572 | 3585 | |
3573 | 3586 | |
3574 | 3587 | |
|
Collapse file
deps/v8/src/objects/value-serializer.cc
Copy file name to clipboardExpand all lines: deps/v8/src/objects/value-serializer.cc+28-2Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
268 | 268 | |
269 | 269 | |
270 | 270 | |
271 | | - |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
272 | 277 | |
273 | 278 | |
274 | 279 | |
| ||
582 | 587 | |
583 | 588 | |
584 | 589 | |
585 | | - |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
| 594 | + |
586 | 595 | |
587 | 596 | |
588 | 597 | |
| ||
1190 | 1199 | |
1191 | 1200 | |
1192 | 1201 | |
| 1202 | + |
| 1203 | + |
| 1204 | + |
| 1205 | + |
| 1206 | + |
| 1207 | + |
| 1208 | + |
| 1209 | + |
| 1210 | + |
| 1211 | + |
| 1212 | + |
| 1213 | + |
| 1214 | + |
| 1215 | + |
| 1216 | + |
| 1217 | + |
| 1218 | + |
1193 | 1219 | |
1194 | 1220 | |
1195 | 1221 | |
|
Collapse file
deps/v8/src/objects/value-serializer.h
Copy file name to clipboardExpand all lines: deps/v8/src/objects/value-serializer.h+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
155 | 155 | |
156 | 156 | |
157 | 157 | |
| 158 | + |
| 159 | + |
158 | 160 | |
159 | 161 | |
160 | 162 | |
| ||
172 | 174 | |
173 | 175 | |
174 | 176 | |
| 177 | + |
175 | 178 | |
176 | 179 | |
177 | 180 | |
|
Collapse file
deps/v8/test/unittests/objects/value-serializer-unittest.cc
Copy file name to clipboardExpand all lines: deps/v8/test/unittests/objects/value-serializer-unittest.cc+52-1Lines changed: 52 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2808 | 2808 | |
2809 | 2809 | |
2810 | 2810 | |
2811 | | - |
| 2811 | + |
| 2812 | + |
| 2813 | + |
| 2814 | + |
| 2815 | + |
| 2816 | + |
| 2817 | + |
| 2818 | + |
| 2819 | + |
| 2820 | + |
| 2821 | + |
| 2822 | + |
2812 | 2823 | |
2813 | 2824 | |
2814 | 2825 | |
| ||
2832 | 2843 | |
2833 | 2844 | |
2834 | 2845 | |
| 2846 | + |
| 2847 | + |
| 2848 | + |
2835 | 2849 | |
2836 | 2850 | |
2837 | 2851 | |
| ||
3049 | 3063 | |
3050 | 3064 | |
3051 | 3065 | |
| 3066 | + |
| 3067 | + |
| 3068 | + |
| 3069 | + |
| 3070 | + |
| 3071 | + |
| 3072 | + |
| 3073 | + |
| 3074 | + |
| 3075 | + |
| 3076 | + |
| 3077 | + |
| 3078 | + |
| 3079 | + |
| 3080 | + |
| 3081 | + |
| 3082 | + |
| 3083 | + |
| 3084 | + |
| 3085 | + |
| 3086 | + |
| 3087 | + |
| 3088 | + |
| 3089 | + |
| 3090 | + |
| 3091 | + |
| 3092 | + |
| 3093 | + |
| 3094 | + |
| 3095 | + |
| 3096 | + |
| 3097 | + |
| 3098 | + |
| 3099 | + |
| 3100 | + |
| 3101 | + |
| 3102 | + |
3052 | 3103 | |
3053 | 3104 | |
3054 | 3105 | |
|
Collapse file
lib/internal/abort_controller.js
Copy file name to clipboardExpand all lines: lib/internal/abort_controller.js+16-12Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
65 | 65 | |
66 | 66 | |
67 | | - |
| 67 | + |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
82 | 82 | |
83 | 83 | |
84 | 84 | |
| ||
355 | 355 | |
356 | 356 | |
357 | 357 | |
358 | | - |
| 358 | + |
| 359 | + |
| 360 | + |
| 361 | + |
359 | 362 | |
360 | 363 | |
361 | 364 | |
| ||
411 | 414 | |
412 | 415 | |
413 | 416 | |
414 | | - |
| 417 | + |
| 418 | + |
415 | 419 | |
416 | 420 | |
417 | 421 | |
|
Collapse file
+9-7Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
| ||
136 | 136 | |
137 | 137 | |
138 | 138 | |
| 139 | + |
| 140 | + |
139 | 141 | |
140 | 142 | |
141 | 143 | |
| ||
167 | 169 | |
168 | 170 | |
169 | 171 | |
170 | | - |
171 | | - |
172 | | - |
173 | 172 | |
174 | 173 | |
175 | 174 | |
| ||
385 | 384 | |
386 | 385 | |
387 | 386 | |
388 | | - |
| 387 | + |
| 388 | + |
| 389 | + |
389 | 390 | |
390 | 391 | |
391 | 392 | |
392 | 393 | |
393 | | - |
| 394 | + |
| 395 | + |
394 | 396 | |
395 | 397 | |
396 | 398 | |
397 | | - |
| 399 | + |
398 | 400 | |
399 | 401 | |
400 | 402 | |
|
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
| 23 | + |
24 | 24 | |
25 | 25 | |
26 | 26 | |
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
| ||
148 | 148 | |
149 | 149 | |
150 | 150 | |
151 | | - |
| 151 | + |
152 | 152 | |
153 | | - |
| 153 | + |
154 | 154 | |
155 | 155 | |
156 | 156 | |
|
Collapse file
lib/internal/crypto/keys.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/keys.js+3-5Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
| ||
706 | 706 | |
707 | 707 | |
708 | 708 | |
709 | | - |
| 709 | + |
710 | 710 | |
711 | 711 | |
712 | 712 | |
713 | 713 | |
714 | 714 | |
715 | 715 | |
716 | 716 | |
| 717 | + |
717 | 718 | |
718 | 719 | |
719 | 720 | |
720 | 721 | |
721 | 722 | |
722 | 723 | |
723 | 724 | |
724 | | - |
725 | | - |
726 | | - |
727 | 725 | |
728 | 726 | |
729 | 727 | |
|
0 commit comments