Commit b0c310d
inspector: return Error objects on error
The inspector communicates errors via POJOs. This commit
wraps the error information in an actual Error object.
PR-URL: #26255
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 0034820 commit b0c310dCopy full SHA for b0c310d
File tree
Expand file treeCollapse file tree
2 files changed
+20
-8
lines changedOpen diff view settings
Filter options
- lib
- test/sequential
Expand file treeCollapse file tree
2 files changed
+20
-8
lines changedOpen diff view settings
Collapse file
+9-2Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
48 | 49 | |
49 | 50 | |
50 | 51 | |
51 | | - |
52 | | - |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
53 | 60 | |
54 | 61 | |
55 | 62 | |
|
Collapse file
test/sequential/test-inspector-runtime-evaluate-with-timeout.js
Copy file name to clipboardExpand all lines: test/sequential/test-inspector-runtime-evaluate-with-timeout.js+11-6Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
20 | 25 | |
21 | 26 | |
0 commit comments