Commit ff8d67c
Reland "Fix Context PromiseHook behaviour with debugger enabled"
This is a reland of commit 872b7fa
Original change's description:
> Fix Context PromiseHook behaviour with debugger enabled
>
> This is a solution for nodejs/node#43148.
>
> Due to differences in behaviour between code with and without the debugger enabled, some promise lifecycle events were being missed and some extra ones were being added. This change resolves this and verifies the event sequence is consistent between code with and without the debugger.
>
> Change-Id: I3dabf1dceb14233226b1752083d659f1c2f97966
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3779922
> Reviewed-by: Victor Gomes <[email protected]>
> Commit-Queue: Camillo Bruni <[email protected]>
> Reviewed-by: Camillo Bruni <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#82132}
Change-Id: Ifdd407261c793887fbd012d5a04ba36b3744c349
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3805979
Reviewed-by: Camillo Bruni <[email protected]>
Reviewed-by: Clemens Backes <[email protected]>
Commit-Queue: Camillo Bruni <[email protected]>
Reviewed-by: Victor Gomes <[email protected]>
Cr-Commit-Position: refs/heads/main@{#82575}1 parent 5e7c8ea commit ff8d67c
8 files changed
Lines changed: 86 additions & 5 deletions
File tree
- src
- builtins
- d8
- execution
- objects
- test/mjsunit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
483 | 482 | | |
| 483 | + | |
| 484 | + | |
484 | 485 | | |
485 | 486 | | |
486 | 487 | | |
| 488 | + | |
487 | 489 | | |
488 | 490 | | |
| 491 | + | |
489 | 492 | | |
490 | 493 | | |
| 494 | + | |
491 | 495 | | |
492 | 496 | | |
493 | 497 | | |
494 | 498 | | |
| 499 | + | |
495 | 500 | | |
496 | 501 | | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
500 | 506 | | |
501 | 507 | | |
502 | 508 | | |
| 509 | + | |
503 | 510 | | |
504 | 511 | | |
505 | 512 | | |
| 513 | + | |
506 | 514 | | |
507 | 515 | | |
508 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2296 | 2296 | | |
2297 | 2297 | | |
2298 | 2298 | | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
2299 | 2309 | | |
2300 | 2310 | | |
2301 | 2311 | | |
| |||
3378 | 3388 | | |
3379 | 3389 | | |
3380 | 3390 | | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
3381 | 3403 | | |
3382 | 3404 | | |
3383 | 3405 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
586 | 589 | | |
587 | 590 | | |
588 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5154 | 5154 | | |
5155 | 5155 | | |
5156 | 5156 | | |
| 5157 | + | |
5157 | 5158 | | |
5158 | 5159 | | |
5159 | 5160 | | |
| 5161 | + | |
5160 | 5162 | | |
5161 | 5163 | | |
5162 | 5164 | | |
| |||
5173 | 5175 | | |
5174 | 5176 | | |
5175 | 5177 | | |
5176 | | - | |
| 5178 | + | |
5177 | 5179 | | |
5178 | 5180 | | |
5179 | 5181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| |||
614 | 615 | | |
615 | 616 | | |
616 | 617 | | |
| 618 | + | |
617 | 619 | | |
618 | 620 | | |
619 | 621 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
787 | 788 | | |
788 | 789 | | |
| 790 | + | |
789 | 791 | | |
790 | 792 | | |
791 | 793 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5483 | 5483 | | |
5484 | 5484 | | |
5485 | 5485 | | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
| 5493 | + | |
5486 | 5494 | | |
5487 | 5495 | | |
5488 | 5496 | | |
| |||
5562 | 5570 | | |
5563 | 5571 | | |
5564 | 5572 | | |
5565 | | - | |
5566 | | - | |
| 5573 | + | |
| 5574 | + | |
5567 | 5575 | | |
5568 | 5576 | | |
5569 | 5577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
237 | 250 | | |
238 | 251 | | |
239 | 252 | | |
| |||
249 | 262 | | |
250 | 263 | | |
251 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
252 | 280 | | |
253 | 281 | | |
254 | 282 | | |
| |||
292 | 320 | | |
293 | 321 | | |
294 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
0 commit comments