Open
Bug 1761577
Opened 3 years ago
Updated 2 years ago
Accessing MOZ_KNOWN_LIVE member of MOZ_KNOWN_LIVE member should be allowed in MOZ_CAN_RUN_SCRIPT
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement, P2)
Developer Infrastructure
Source Code Analysis
Tracking
(Not tracked)
NEW
People
(Reporter: saschanaz, Unassigned)
References
Details
MOZ_CAN_RUN_SCRIPT void foo(Baz* foo) {}
struct Baz final {};
struct Bar final {
MOZ_KNOWN_LIVE RefPtr<Baz> mBaz;
};
struct Foo final {
MOZ_KNOWN_LIVE RefPtr<Bar> mBar;
MOZ_CAN_RUN_SCRIPT void Foo() {
foo(mBar->mBaz);
}
};
This should be allowed.
Updated•3 years ago
|
Severity: -- → S2
Type: task → enhancement
Priority: -- → P2
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
•