Commit 24debc9
worker: do not add removed methods to MessagePort
Do not put the `.stop()` and `.drain()` methods on the
`MessagePort` prototype if we are going to remove them
later on anyway.
PR-URL: #26109
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 0408966 commit 24debc9Copy full SHA for 24debc9
File tree
Expand file treeCollapse file tree
2 files changed
+16
-17
lines changedOpen diff view settings
Filter options
- lib/internal/worker
- src
Expand file treeCollapse file tree
2 files changed
+16
-17
lines changedOpen diff view settings
Collapse file
+7-13Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
10 | 12 | |
11 | 13 | |
12 | 14 | |
| ||
33 | 35 | |
34 | 36 | |
35 | 37 | |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | 38 | |
44 | 39 | |
45 | 40 | |
| ||
51 | 46 | |
52 | 47 | |
53 | 48 | |
54 | | - |
55 | | - |
56 | | - |
| 49 | + |
| 50 | + |
57 | 51 | |
58 | 52 | |
59 | 53 | |
| ||
84 | 78 | |
85 | 79 | |
86 | 80 | |
87 | | - |
| 81 | + |
88 | 82 | |
89 | 83 | |
90 | 84 | |
| ||
152 | 146 | |
153 | 147 | |
154 | 148 | |
155 | | - |
| 149 | + |
156 | 150 | |
157 | 151 | |
158 | 152 | |
|
Collapse file
+9-4Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
741 | 741 | |
742 | 742 | |
743 | 743 | |
744 | | - |
| 744 | + |
| 745 | + |
745 | 746 | |
746 | 747 | |
747 | 748 | |
| ||
751 | 752 | |
752 | 753 | |
753 | 754 | |
754 | | - |
| 755 | + |
| 756 | + |
755 | 757 | |
756 | 758 | |
757 | 759 | |
| ||
781 | 783 | |
782 | 784 | |
783 | 785 | |
784 | | - |
785 | | - |
786 | 786 | |
787 | 787 | |
788 | 788 | |
| ||
848 | 848 | |
849 | 849 | |
850 | 850 | |
| 851 | + |
| 852 | + |
| 853 | + |
| 854 | + |
| 855 | + |
851 | 856 | |
852 | 857 | |
853 | 858 | |
|
0 commit comments