Closed Bug 810324 Opened 12 years ago Closed 8 years ago

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

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

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.
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
Closed: 8 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.