Closed
Bug 627196
Opened 14 years ago
Closed 7 years ago
Allow specifying the newest JS version to Components.utils.evalInSandbox
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
INVALID
People
(Reporter: mossop, Unassigned)
Details
Components.utils.evanInSandbox accepts a string JS version to use during evaluation but there is no way to just have it use the latest JS version, you either have to use a fixed version or whatever version the caller is using.
I'd suggest we just need to add something like "Latest" to this mapping: http://mxr.mozilla.org/mozilla-central/source/js/src/jsapi.cpp#1056
Comment 1•7 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
![]() |
||
Comment 2•7 years ago
|
||
JS versions are dead. The version argument of evalInSandbox is unused; it's only left there for backwards compat.
Resolution: INACTIVE → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•