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)

enhancement

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).

Priority: -- → P4
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
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: