Closed Bug 1556490 Opened 5 years ago Closed 5 years ago

Don't require JSContext* to get symbol name from nsXPTMethodInfo

Categories

(Core :: XPConnect, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: nika, Assigned: nika)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The symbol IDs are always in the set of "well known symbols", so we can just fetch them from a basic lookup table.

This should help with getting a usable const char* name for a given nsXPTMethodInfo.

This patch also contains some other cleanups to avoid the need for
special-casing getting symbol IDs at call-sites.

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e3a716b62026
Don't require JSContext* to get symbol name, r=mccr8
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: