Closed
Bug 1409782
Opened 7 years ago
Closed 5 years ago
OwningCompileOptions has different defaults from CompileOptions
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1559275
People
(Reporter: tcampbell, Unassigned)
Details
(Whiteboard: [js:tech-debt])
We seem to have different default options between OwningCompileOptions vs CompileOptions. Seems like a footgun for embedders.
https://searchfox.org/mozilla-central/rev/dca019c94bf3a840ed7ff50261483410cfece24f/js/src/jsapi.cpp#4022-4023
vs
https://searchfox.org/mozilla-central/rev/dca019c94bf3a840ed7ff50261483410cfece24f/js/src/jsapi.cpp#4108-4126
Updated•7 years ago
|
Comment 1•7 years ago
|
||
status-firefox59:
--- → ?
Reporter | ||
Comment 2•5 years ago
|
||
Bug 1559275 solves this by only allowing OwningCompileOptions to be initialized by copying.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•