Closed
Bug 816312
Opened 12 years ago
Closed 12 years ago
"Check for updates" spams logcat with parse errors for treating apps' JSON manifest files as XML, e.g. [JavaScript Error: "not well-formed" {file: "app://calculator.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-basecamp:-)
RESOLVED
WORKSFORME
blocking-basecamp | - |
People
(Reporter: dholbert, Unassigned)
Details
(Keywords: b2g-testdriver, unagi)
I just updated to the stable dogfood build that went up this morning, Build ID 20121127132302.
Using that build, I get this in my logcat output each time I manually check for updates:
{
11-28 15:28:01.349 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://calculator.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.379 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.399 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://feedback.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.419 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://costcontrol.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.449 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://fm.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.469 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://homescreen.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.489 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://settings.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.509 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://gallery.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.529 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://system.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.549 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://email.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.569 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://clock.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.599 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://camera.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.619 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://communications.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.649 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://calendar.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.659 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://bluetooth.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.699 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://video.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.709 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://music.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.749 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://pdfjs.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.769 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://wallpaper.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.799 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://keyboard.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
11-28 15:28:01.829 E/GeckoConsole( 703): [JavaScript Error: "not well-formed" {file: "app://sms.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
}
These manifest files look like this:
https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/manifest.webapp
and indeed they do start with a {, because they're JSON...
I can only imagine we're complaining about them because something is trying to treat them as XML (or HTML)...?
I attached a more comprehensive snippet of my logcat output over at bug 816306 comment 1, FWIW.
Reporter | ||
Updated•12 years ago
|
Summary: "Check for updates" spams logcat, looking like we're treating apps' JSON manifest files as XML [JavaScript Error: "not well-formed" {file: "app://calculator.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}] → "Check for updates" spams logcat with parse errors for treating apps' JSON manifest files as XML, e.g. [JavaScript Error: "not well-formed" {file: "app://calculator.gaiamobile.org/manifest.webapp" line: 1 column: 1 source: "{"}]
Updated•12 years ago
|
Component: Gaia → Gaia::System
Comment 1•12 years ago
|
||
No reasons to block on that but some devs should clean that
blocking-basecamp: ? → -
Reporter | ||
Comment 2•12 years ago
|
||
(Yeah -- I'm not so much reporting it for the logcat-spam, as for the underlying bug that it represents -- we're apparently parsing these files incorrectly, which could be indicative of a broader issue.)
Comment 3•12 years ago
|
||
Does this still happen?
Reporter | ||
Comment 4•12 years ago
|
||
No. None of this spam remains in latest dogfood/beta build (build id 20130116230203).
--> WFM
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•