Closed
Bug 1840839
Opened 2 years ago
Closed 2 years ago
Make it possible to construct `JS::CompileOptions` which reflects user prefs, without having JS context?
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
117 Branch
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently the JS::CompileOptions
is constructed from JSContext
, by copying the user pref from JS::ContextOptions
and JS::RealmCreationOptions
.
JS::CompileOptions::CompileOptions
Currently the user prefs are mirrored to realm options and context options in
xpc::SetPrefableRealmOptions and xpc::SetPrefableContextOptions.
if we can factor out compilation-specific options (such as new syntax) and handle it separately, we could create JS::CompileOption
off main thread.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D182458
Updated•2 years ago
|
Attachment #9341700 -
Attachment description: Bug 1840839 - Add xpc::SetPrefableCompileOptions. r?mccr8! → Bug 1840839 - Add xpc::SetPrefableCompileOptions and move related prefs to StaticPrefs. r?mccr8!
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/fc3e4979b00e
Add xpc::SetPrefableCompileOptions and move related prefs to StaticPrefs. r=mccr8
![]() |
||
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
![]() |
||
Comment 4•2 years ago
|
||
Bug 1840839, bug 1841016 and bug 1840996 have been backed out for wasm crashes, e.g. bp-6f01e03f-96f8-4d44-ae8b-c55a50230707.
Status: RESOLVED → REOPENED
status-firefox117:
fixed → ---
Flags: needinfo?(arai.unmht)
Resolution: FIXED → ---
Target Milestone: 117 Branch → ---
Backout by imoraru@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/511a6a347d49
Backed out 2 changesets (bug 1840839, bug 1841016) for causing wasm crashes. a=backout
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(arai.unmht)
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/effe2e14391b
Add xpc::SetPrefableCompileOptions and move related prefs to StaticPrefs. r=mccr8
Comment 7•2 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 2 years ago → 2 years ago
status-firefox117:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•