Closed Bug 810442 Opened 12 years ago Closed 12 years ago

Cost control app is doing unnecessary work on gaia startup path

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 813243

People

(Reporter: Margaret, Unassigned)

Details

(Keywords: perf)

I noticed that during startup I'm seeing l10n.js load from these 4 files:
app://system.gaiamobile.org/index.html
app://costcontrol.gaiamobile.org/widget.html
app://costcontrol.gaiamobile.org/service.html
app://homescreen.gaiamobile.org/index.html

Two things here:
1) We should see if we can punt on loading widget.html until we're actually going to show the widget somewhere.
2) We should delay loading service.html if possible (at least after the homescreen loads), and I'm not sure why we're including l10n.js in that. I don't see it being used.
Component: Gaia → Gaia::Cost Control
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.