Look into simplifying the throwing that callback function return value conversion does

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
6 years ago
3 years ago

People

(Reporter: bzbarsky, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Right now we can end up with:

  ThrowErrorMessage(...);
  aRv.Throw(NS_ERROR_UNEXPECTED);

It might be better to do this as aRv.ThrowTypeError() + aRv.ReportTypeError() or something instead.  Need to think through exactly what would need to happen here and how it would make the codegen look.
Blocks: 580070
Depends on: 779048
In practice, this doesn't matter.  No one returns anything from callbacks that would end up hitting this case anyway...
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.