Closed
Bug 556350
Opened 15 years ago
Closed 2 years ago
Add JS_HasFeature API
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: wes, Unassigned)
Details
My immediate use-case: I want my release binary to be able to use JS_SetGCZeal iff it's present in the js library I happen to have loaded.
There are probably other use-cases when embeddings need to safely feature-detect, such as when an application and a libmozjs.so are shipped separately, as is often the case with OS distro package schemes. This feature could be expanded to those cases.
Features on my list for immediate test-ability:
JSFEATURE_GC_ZEAL
JSFEATURE_DEBUG
JSFEATURE_THREADSAFE
JSFEATURE_JIT
Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•