Closed
Bug 1691515
Opened 5 years ago
Closed 4 years ago
Add an equivalent of MOZ_KnownLive for fields and methods
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement, P4)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox88 fixed)
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(1 file)
For example, PresShell::mPresContext
is documented as MOZ_KnownLive-safe but such comment is not machine readable. (Same applies to PresShell::GetPresContext()
.)
It could be helpful if there is some kind of attribute to automatically allow them in MOZ_CAN_RUN_SCRIPT context (and thus prevent a situation like bug 1536485).
Updated•5 years ago
|
Priority: -- → P4
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dff3f359c11c
Add MOZ_KNOWN_LIVE member annotation r=andi
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•