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

RESOLVED FIXED in Firefox 69

Status

()

task
P3
normal
RESOLVED FIXED
3 months ago
3 months ago

People

(Reporter: Nika, Assigned: Nika)

Tracking

(Blocks 1 bug)

unspecified
mozilla69
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox69 fixed)

Details

Attachments

(1 attachment)

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: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.