Allow specifying the newest JS version to Components.utils.evalInSandbox

RESOLVED INVALID

Status

()

RESOLVED INVALID
8 years ago
7 months ago

People

(Reporter: mossop, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

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 months 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
Last Resolved: 7 months ago
Resolution: --- → INACTIVE
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.