Closed Bug 1071884 Opened 10 years ago Closed 10 years ago

Prevent doRenderIcon from throwing errors

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0 wontfix, b2g-v2.0M wontfix, b2g-v2.1 wontfix, b2g-v2.1S wontfix, b2g-v2.2 fixed, b2g-master fixed)

RESOLVED FIXED
2.1 S5 (26sep)
Tracking Status
b2g-v2.0 --- wontfix
b2g-v2.0M --- wontfix
b2g-v2.1 --- wontfix
b2g-v2.1S --- wontfix
b2g-v2.2 --- fixed
b2g-master --- fixed

People

(Reporter: kgrandon, Assigned: kgrandon)

Details

(Whiteboard: [systemsfe])

Example error stack: 02-01 01:58:34.109  1005  1005 E GeckoConsole: Content JS ERROR at app://verticalhome.gaiamobile.org/gaia_build_defer_index.js:398 in GridItem.prototype.doRenderIcon/<: Error fetching icon [Exception... "File error: Not found"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: app://verticalhome.gaiamobile.org/gaia_build_defer_index.js :: fetchBlob/< :: line 380"  data: no]
This is causing a lot of confusion and was apparently only due to a console.error() statement. This can be called any time the device is offline and we try to refresh remote icons like hosted apps or Marketplace.

Landed a tiny fix in master to remove the console.log() statement: https://github.com/mozilla-b2g/gaia/commit/64c28d3a9bad6dc12081806e8c9a9c14211b38d1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: nobody → kgrandon
Whiteboard: [systemsfe]
Target Milestone: --- → 2.1 S5 (26sep)
2.1 is affected. Kevin, do we want to fix this in 2.1 or set the flag to wontfix?
Flags: needinfo?(khu)
Triage:
Minor issue. wontfix.
Flags: needinfo?(khu)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
You need to log in before you can comment on or make changes to this bug.