Closed
Bug 898671
Opened 12 years ago
Closed 11 years ago
Calling NumericType<T>::call with invalid arguments causes crash
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bbenvie, Unassigned)
References
Details
> uint8() // crash
When encountering invalid arguments, NumericType<T>::call attempts to create an error string using the callee's name, which apparently is never set anywhere, causing JS_EncodeString to throw.
Comment 1•11 years ago
|
||
As of today:
js> TypedObject.uint8()
typein:5:0 TypeError: Scalar requires more than 0 arguments
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•