Closed
Bug 1081684
Opened 11 years ago
Closed 11 years ago
[Build] Themes don't load when running in Firefox
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(b2g-v2.1 fixed, b2g-v2.2 fixed)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: julienw)
References
Details
Attachments
(3 files)
Since we use app://theme to load the theme CSS file (bug 1069840), we don't have it in Firefox.
| Assignee | ||
Comment 1•11 years ago
|
||
Hey Ricky,
We rely on launching the SMS app in Firefox and without this the header is black on white.
I don't know if this is the best way to solve the issue but this is reasonnably simple. Maybe in httpd.js I could use a mapping array instead of a if.
Assignee: nobody → felash
Attachment #8503767 -
Flags: review?(ricky060709)
| Assignee | ||
Comment 2•11 years ago
|
||
To launch the SMS app in Firefox:
PROFILE_FOLDER=profile-sms DEBUG=1 DESKTOP=0 make
<path to firefox>/firefox --no-remote -profile profile-sms app://sms.gaiamobile.org/
Comment 3•11 years ago
|
||
Patch seems to be no problem but I wonder what is the difference after applying it.
Could you upload a before/after screenshot? Thanks!
Comment 4•11 years ago
|
||
Comment on attachment 8503767 [details] [review]
github PR
Though I cannot see effect in new theme, I ensure that http://theme.gaiamobile.org:8080/shared/elements/gaia-theme/gaia-theme.css has been loaded properly.
Let's land it!
Attachment #8503767 -
Flags: review?(ricky060709) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
| Assignee | ||
Comment 6•11 years ago
|
||
| Assignee | ||
Comment 7•11 years ago
|
||
master: 2543927ea3bfa7ec23d4e9241f62c157e6b128d1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
Cool!
I saw these changes in b2g but the result on firefox/nightly was broken. I guess it's a firefox/nightly issue.
| Assignee | ||
Comment 9•11 years ago
|
||
Yep, it's an issue only when using httpd.js (because we use our own handler for app://). Maybe a cleaner solution could be to be able to reuse the app:// handler we use in B2G.
| Assignee | ||
Comment 10•11 years ago
|
||
bug 1069840 landed in v2.1 so we need this in v2.1 as well.
a=npotb
v2.1: daef1ae65560cd38d652f3665568086a1c9f1b9e
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•