Injecting DOM into addon-details-body gets reflected across all add-ons summary pages

NEW
Unassigned

Status

Firefox OS
Gaia::Customizer
3 years ago
2 years ago

People

(Reporter: April, Unassigned)

Tracking

({foxfood})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
If I inject something into addon-detail-body (for example, an <li> underneath the <ul> that contains "Add-On Enabled"), it gets reflected across all addon-detail-body pages, even if they are a different add-on.

Presumably, this is because it's simply replacing the contents of the addon page, which is fine, but it makes it difficult to add an "Add-on Settings" button, if it shows up in each other add-ons page incorrectly.
blocking-b2g: --- → 2.5+
QA Whiteboard: [foxfood-triage]
Component: Gaia::Settings → Gaia::Customizer
I think we should rather add support for https://developer.chrome.com/extensions/optionsV2 in the new extensions api.
[Tracking Requested - why for this release]:

Removing 2.5 blocker flag as per David's comment - Customizer is not part of 2.5 it is replaced by View Source
blocking-b2g: 2.5+ → ---
You need to log in before you can comment on or make changes to this bug.