RemoteAddonsChild.jsm should not be loaded when shims aren't enabled

NEW
Unassigned

Status

()

P2
normal
a year ago
11 months ago

People

(Reporter: kmag, Unassigned)

Tracking

unspecified
Points:
---

Firefox Tracking Flags

(firefox57 fix-optional)

Details

(Whiteboard: [MemShrink:P2])

(Reporter)

Description

a year ago
We currently load RemoteAddonsChild into every content process from browser-child.js even when no shims are enabled, which according to about:memory consumes somewhere upwards of 50K per process.

RemoteAddonsParent.jsm takes care of loading RemoteAddonsChild when it's necessary, and I've fixed all of the bugs that cause RemoteAddonsParent to be loaded when not necessary, so we should fix this too, and have browser-child only interact with RemoteAddonsChild when it's already loaded.
Whiteboard: [MemShrink] → [MemShrink:P2]

Updated

11 months ago
Priority: -- → P2

Updated

11 months ago
status-firefox57: --- → fix-optional
You need to log in before you can comment on or make changes to this bug.