Closed
Bug 1627955
Opened 4 years ago
Closed 4 years ago
Use fold expressions for JSContext::checkImpl
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
Bug 1627893 made me realize we can use this also to simplify JSContext::checkImpl.
Assignee | ||
Comment 1•4 years ago
|
||
I tested this works by adding things like this to Compartment::wrap(cx, obj)
and then executing newGlobal({newCompartment: true})
:
RootedId id(cx);
cx->check(id, obj);
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2312d4b2f258 Simplify JSContext::checkImpl with a fold expression. r=anba
Updated•4 years ago
|
Priority: -- → P1
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•