Closed
Bug 1117269
Opened 11 years ago
Closed 4 months ago
Produce some sort of "Internal API implementation error" exception when JS-implemented Web IDL throws
Categories
(Core :: DOM: Bindings (WebIDL), defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: domcore-bugbash-triaged)
Right now we just produce an NS_ERROR_UNEXPECTED, which is not very informative.
| Reporter | ||
Comment 1•11 years ago
|
||
Implementation note from bug 1107953 comment 11:
That would need to happen in the CallSetup code at the point when we decide we're not going to propagate through the exception on the JSContext and will report it instead. We could then throw something more meaningful than NS_ERROR_UNEXPECTED on mErrorResult.
Comment 2•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•5 years ago
|
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Updated•3 years ago
|
Severity: normal → S3
Comment 3•4 months ago
|
||
Edgar, do you think it's reasonable to close this bug? Not sure we've made improvements since the bug was filed 12 years old.
Flags: needinfo?(echen)
Updated•4 months ago
|
Whiteboard: domcore-bugbash-triaged
Comment 4•4 months ago
|
||
I think the situation has been improved, at least for the test added for bug 1107953, it now throws an InternalError after we switch to SpiderMonkey promise (bug 911216). And JS-implmented WebIDL is also deprecated, so lets close this for now. We could file a new bug anytime later if needed.
Status: NEW → RESOLVED
Closed: 4 months ago
Flags: needinfo?(echen)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•