Open
Bug 1499134
Opened 6 years ago
Updated 2 years ago
In debugger-client.js, the rejected promise should hold a real error value
Categories
(DevTools :: Framework, task, P3)
DevTools
Framework
Tracking
(Not tracked)
NEW
People
(Reporter: julienw, Unassigned)
Details
In [1] we reject the promise using the returned value, which is written in [2]. We should reject with a real Error instead of rejecting with the received object.
[1] https://searchfox.org/mozilla-central/rev/c9272ef398954288525e37196eada1e5a93d93bf/devtools/shared/client/debugger-client.js#583-585
[2] https://searchfox.org/mozilla-central/rev/c9272ef398954288525e37196eada1e5a93d93bf/devtools/shared/protocol.js#1040-1051
Updated•6 years ago
|
Severity: normal → enhancement
Updated•6 years ago
|
Component: General → Debugger
Updated•6 years ago
|
Type: enhancement → task
Component: Debugger → Framework
Priority: P2 → P3
Comment 2•6 years ago
|
||
I don't have spare cycles at the moment so I won't be able to do this. But this might be a good contributor project.
Flags: needinfo?(ystartsev)
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•