Commit 47cd49a
committed
deps: backport 3c8195d from V8 upstream
Original commit message:
Fix map constructor to correctly throw.
We need to throw before rethrowing, otherwise the exception does
not trigger a debugger event and is not reported if uncaught.
R=gsathya@chromium.org, jgruber@chromium.org
Bug: v8:7047
Change-Id: I7ce0253883a21d6059e4e0ed0fc56dc55a0dcba6
Reviewed-on: https://chromium-review.googlesource.com/758372
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49237}
Fixes: #17270
PR-URL: #17383
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent 465a32a commit 47cd49aCopy full SHA for 47cd49a
File tree
Expand file treeCollapse file tree
4 files changed
+28
-6
lines changedOpen diff view settings
Filter options
- deps/v8
- src/builtins
- test/inspector/debugger
Expand file treeCollapse file tree
4 files changed
+28
-6
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
|
Collapse file
deps/v8/src/builtins/builtins-collections-gen.cc
Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-collections-gen.cc+5-4Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
302 | 302 | |
303 | 303 | |
304 | 304 | |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
309 | 310 | |
310 | 311 | |
311 | 312 | |
|
Collapse file
deps/v8/test/inspector/debugger/caught-uncaught-exceptions-expected.txt
Copy file name to clipboardExpand all lines: deps/v8/test/inspector/debugger/caught-uncaught-exceptions-expected.txt+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
Collapse file
deps/v8/test/inspector/debugger/caught-uncaught-exceptions.js
Copy file name to clipboardExpand all lines: deps/v8/test/inspector/debugger/caught-uncaught-exceptions.js+16-1Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
10 | 19 | |
11 | 20 | |
12 | 21 | |
| ||
22 | 31 | |
23 | 32 | |
24 | 33 | |
25 | | - |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
0 commit comments