Closed Bug 974925 Opened 6 years ago Closed 6 years ago

JS Error: Couldn't show snippets because cache does not exist yet

Categories

(Firefox for Android :: General, defect)

30 Branch
ARM
Android
defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 30
Tracking Status
firefox30 --- affected

People

(Reporter: aaronmt, Assigned: Margaret)

Details

Attachments

(1 file)

On Gecko startup:

E/GeckoConsole( 9311): [JavaScript Error: "Couldn't show snippets because cache does not exist yet." {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/assets/omni.ja!/components/Snippets.js" line: 141}]

Might not be a bug because there are no live snippets now? Margaret?
Maybe I shouldn't have logged that as an error, since that's actually expected... On first run, we haven't fetched snippets from the server yet (and we don't want to do that during startup because performance), so we just log this message instead.
This isn't really an error, since it's an expected case, but let's still log it in case someone is confused about why snippets didn't show up. I don't know that this really needs a review, but hey, why not :)
Attachment #8385619 - Flags: review?(bnicholson)
Attachment #8385619 - Flags: review?(bnicholson) → review+
https://hg.mozilla.org/mozilla-central/rev/9be47a5684e6
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
You need to log in before you can comment on or make changes to this bug.