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)

defect
Not set
normal

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.

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

We could add getter_can_run_script and setter_can_run_script I guess, right?

Right, it's what I want.

Assignee: nobody → bzbarsky
Blocks: 1600719
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
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
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: