Closed Bug 1227543 Opened 10 years ago Closed 10 years ago

Include gaia-theme.css in a privileged app

Categories

(Firefox OS Graveyard :: Gaia::Theme Editor, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tfeserver, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20151123004034 Steps to reproduce: Include: <link rel="stylesheet" type="text/css" href="app://theme.gaiamobile.org/shared/elements/gaia-theme/gaia-theme.css" /> In the head of a privileged app. Actual results: When including the gaia-theme.css file of the system, it is not loaded by gecko, unless you have the "certified" permissions. Expected results: It shouls load the gaia-theme.css file, like it does on the certified apps.
Summary: theme → Include gaia-theme.css in a privileged app
The current theme solution was built during the 2.1 release to let partners easily customize the look & feel of the OS. As you found out, it's limited to certified apps. In general, we don't want 3rd party apps to rely on gaia provided content because there's no guarantee this will not change (or even disappear!). Each app should be self contained as much as possible. In the future, themes will be provided by WebExtensions that can inject stylesheets instead. So I'm marking this bug WONTFIX because we won't make further work on gaia-theme.css support.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.