Open Bug 1117269 Opened 9 years ago Updated 2 years ago

Produce some sort of "Internal API implementation error" exception when JS-implemented Web IDL throws

Categories

(Core :: DOM: Bindings (WebIDL), defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

Right now we just produce an NS_ERROR_UNEXPECTED, which is not very informative.
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.
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
Component: DOM → DOM: Core & HTML
Component: DOM: Core & HTML → DOM: Bindings (WebIDL)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.