Closed
Bug 1440043
Opened 7 years ago
Closed 7 years ago
Remove jsversion.h
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
References
Details
Attachments
(1 file)
33.09 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
Every once in a while we delete some stuff from this file (see bug 737996, ~6 years ago) and I think it's past time for the rest to go.
The design here was to allow embedders to support multiple versions of SpiderMonkey with a single codebase... or something? Now that I'm thinking about it, this really makes no sense at all.
The remaining ifdef'd features are:
- .__proto__ and .__defineGetter__() - standardized in B.2.2, we're stuck with them for now
- uneval() and .toSource() - they are handy, let's keep them
In the unlikely event that we ever do decide to blow away one of these, the macros won't be much help.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8952832 -
Flags: review?(jdemooij)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
Comment on attachment 8952832 [details] [diff] [review]
Remove jsversion.h
Review of attachment 8952832 [details] [diff] [review]:
-----------------------------------------------------------------
('m not a fan of uneval/toSource being exposed to content, but I agree these #defines aren't useful.)
Attachment #8952832 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/03a00bb49a69b334c06c567a3c2bc198686f229e
Bug 1440043 - Remove jsversion.h. r=jandem.
![]() |
||
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•