Closed Bug 1633207 Opened 4 years ago Closed 4 years ago

Define constants doubles using JSPropertySpec

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: evilpie, Assigned: evilpie)

Details

Attachments

(3 files)

JS_DefineConstDoubles is used to define some constants on the Math and Number constructors. We really should be using ClassSpec for this powered by JSPropertySpec.

Depends on D72540

Depends on D72542

Depends on D72543

Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/400fdff94e9f
JSPropertySpec support for doubles. r=arai
https://hg.mozilla.org/integration/autoland/rev/0af62512ca1f
Define double constants via ClassSpec. r=arai
https://hg.mozilla.org/integration/autoland/rev/df251f2e0320
Remove JS_DefineConst(Doubles|Integers). r=arai
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: