Closed
Bug 485905
Opened 16 years ago
Closed 13 years ago
Disabling null native functions
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: igor, Unassigned)
Details
Currently JS API that create native functions such as JS_NewFunction or JS_DefineFunction allows to pass null as a pointer to function's implementation. Such null native functions behaves exactly as a native with an empty body due to extra checks and code in js_Invoke.
We should stop supporting this broken usage and always require non-null natives for simpler code.
![]() |
||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•