Closed
Bug 1554223
Opened 6 years ago
Closed 6 years ago
Consider a version of JS::NewFunctionFromSpec that does not require passing an id
Categories
(Core :: JavaScript Engine, task)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla69
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file)
The JSFunctionSpec already has a name in it. Some callers happen to have an id and can optimize by passing it in (though in that case we should consider asserting that the passed-in thing matches the JSFunctionSpec). But it would be nice if there were a version that doesn't take an id at all; I have a use case for such a thing.
![]() |
Assignee | |
Comment 1•6 years ago
|
||
![]() |
Assignee | |
Updated•6 years ago
|
Assignee: nobody → bzbarsky
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7fbeec36c29
Add a version of JS::NewFunctionFromSpec that does not require passing an id. r=jandem
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in
before you can comment on or make changes to this bug.
Description
•