Manage Debug Metadata separately from CompileOptions
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
Details
Attachments
(3 files, 1 obsolete file)
CompileOptions has a whole spectrum of responsibilities that make it a complicated interface to handle.
We would like to strip it of some of its responsibilities. One facet of CompileOptions is debugger related metadata, destined for the ScriptSourceObject that is currently injected via CompileOptions.
We can remove this responsibility from CompileOptions by making it a post-processing step applied after script compilation. This has the knock on benefit of highlighting the places it is relevant or not relevant.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This simplified the use of JSExecutionContext, and make future patches
in this stack simpler.
Assignee | ||
Comment 2•4 years ago
|
||
This is a diagnostic patch to help catch misuse of the two phase initialization
of ScriptSourceObject. One potential enhancement would be to make this
modification debug only.
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D107566
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
![]() |
||
Updated•4 years ago
|
Updated•4 years ago
|
![]() |
||
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e8fe8b5be92f
https://hg.mozilla.org/mozilla-central/rev/a52287ecc8ac
https://hg.mozilla.org/mozilla-central/rev/3afa2b70c0f9
Description
•