Closed
Bug 1599963
Opened 5 years ago
Closed 5 years ago
Cannot specify only setter or getter of attribute in XPIDL as MOZ_CAN_RUN_SCRIPT
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox73 fixed)
RESOLVED
FIXED
mozilla73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: masayuki, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
As you know, can_run_script
can make methods in .idl
mark as MOZ_CAN_RUN_SCRIPT
, but as far as I investigated, there is no way to mark it only setter or getter of attribute as MOZ_CAN_RUN_SCRIPT
.
Assignee | ||
Updated•5 years ago
|
Summary: Cannot specify only setter or getter of attribute in XPIDL → Cannot specify only setter or getter of attribute in XPIDL as MOZ_CAN_RUN_SCRIPT
Assignee | ||
Comment 1•5 years ago
|
||
We could add getter_can_run_script
and setter_can_run_script
I guess, right?
Reporter | ||
Comment 2•5 years ago
|
||
Right, it's what I want.
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → bzbarsky
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2878be4c48d2
Allow annotating xpidl getters and setters indepdendently in terms of whether they can run script. r=froydnj
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Updated•2 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
•