Open Bug 1107761 Opened 10 years ago Updated 2 years ago

[jsdbg2] Add a Debugger.prototype.onNaNCoerced hook

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 2 open bugs)

Details

We should have a Debugger hook for when a debuggee coerces a value to NaN.
What's the rationale? (vs other kinds of coercions, which could all be pretty surprising?)
(In reply to Shu-yu Guo [:shu] from comment #1)
> What's the rationale? (vs other kinds of coercions, which could all be
> pretty surprising?)

It's SUPER annoying, difficult to track down the origin, and the false positive rate is near 0%.

If you have other cases that have those same properties, we should generalize the hook to include those cases as well.
Assignee: nfitzgerald → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.