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

NEW
Unassigned

Status

()

Core
DOM
3 years ago
3 years ago

People

(Reporter: bz, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

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.
You need to log in before you can comment on or make changes to this bug.