Closed Bug 836947 Opened 12 years ago Closed 6 years ago

ContentParent::PrivilegesForApp() showing up in profiles (C++->JS overhead)

Categories

(Core Graveyard :: DOM: Apps, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cjones, Unassigned)

References

Details

(Keywords: perf)

ContentParent asks the mozIApplication it's about to launch if it has "camera" or "deprecated-hwvideo" permissions, and if so does something special. These require hasPermission() calls from C++->JS, and those are showing up on profiles now that a lot of other fixes are in place. The time isn't huge, around 5ms, but it's a win to keep in mind.
Keywords: perf
Product: Core → Core Graveyard
Core Graveyard / DOM: Apps is inactive. Closing all bugs in this component.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.