Closed Bug 742187 Opened 12 years ago Closed 12 years ago

Handle callbacks that are not [TreatNonCallableAsNull] correctly

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

This applies to callbacks (not callback interfaces).  Argument conversion should either fail codegen if the callback is not [TreatNonCallableAsNull], or should work correctly for that case.

Of course both involve us annotating whatever callback cases we have already in XHR properly with [TreatNonCallableAsNull], if they should have that behavior.
Depends on: 792137
Bug 792137 will make us throw when callbacks are not nullable and TreatNonCallableAsNull for now.
Actually, bug 792137 might just fix this.  We'll see.
Fixed in bug 792137.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.