Commit 3433559
committed
deps: V8: cherry-pick 272445f10927
Original commit message:
[runtime] Fix promise hooks
promiseCapability can be undefined.
Bug: v8:11025
Bug: chromium:1201113
Change-Id: I9da8764820cee0db1f0c38ed2fff0e3afeb9a80e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2844649
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74117}
Refs: v8/v8@272445f
PR-URL: #38273
Backport-PR-URL: #38991
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>1 parent f56c785 commit 3433559Copy full SHA for 3433559
File tree
Expand file treeCollapse file tree
3 files changed
+20
-7
lines changedOpen diff view settings
Filter options
- deps/v8
- src/builtins
- test/mjsunit
Expand file treeCollapse file tree
3 files changed
+20
-7
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/src/builtins/promise-misc.tq
Copy file name to clipboardExpand all lines: deps/v8/src/builtins/promise-misc.tq+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
134 | 134 | |
135 | 135 | |
136 | 136 | |
137 | | - |
| 137 | + |
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | 141 | |
142 | 142 | |
143 | 143 | |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | 149 | |
150 | 150 | |
151 | 151 | |
152 | 152 | |
153 | | - |
| 153 | + |
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | 157 | |
158 | 158 | |
159 | 159 | |
160 | 160 | |
161 | | - |
| 161 | + |
162 | 162 | |
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | 166 | |
167 | 167 | |
168 | 168 | |
169 | | - |
| 169 | + |
170 | 170 | |
171 | 171 | |
172 | 172 | |
| ||
181 | 181 | |
182 | 182 | |
183 | 183 | |
| 184 | + |
| 185 | + |
| 186 | + |
184 | 187 | |
185 | 188 | |
186 | 189 | |
|
Collapse file
deps/v8/test/mjsunit/promise-hooks.js
Copy file name to clipboardExpand all lines: deps/v8/test/mjsunit/promise-hooks.js+11-1Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
| ||
242 | 242 | |
243 | 243 | |
244 | 244 | |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
0 commit comments