Open
Bug 1400928
Opened 7 years ago
Updated 8 months ago
setIntroductionType documentation out of sync
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: tromey, Unassigned)
References
(Blocks 1 open bug)
Details
setIntroductionType is documented in Debugger.Source.md.
There, it documents a list of possible introduction types.
This list is out of sync with the C++ code -- searching for
setIntroductionType shows some undocumented ones, like
https://dxr.mozilla.org/mozilla-central/rev/ae39864562c6048fdc2950c5dfedb48e247c3300/dom/script/ScriptLoader.cpp#1997-1998
https://dxr.mozilla.org/mozilla-central/rev/ae39864562c6048fdc2950c5dfedb48e247c3300/dom/worklet/Worklet.cpp#205
... and many more.
One possible way to deal with this would be to introduce an enum.
Then adding a new type would require a new enumerator, and there could
be a comment asking that the documentation (and perhaps devtools) be
updated.
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
Updated•8 months ago
|
Blocks: js-debugger
You need to log in
before you can comment on or make changes to this bug.
Description
•