Closed Bug 959972 Opened 10 years ago Closed 7 years ago

JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/init.json" or JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/inittopsites.json"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.1 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v1.4 --- affected
b2g-v2.0 --- affected
b2g-v2.1 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

Attachments

(1 file)

E/GeckoConsole(   44): [JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/init.json" line: 1 column: 1 source: "{"}]

This happens after starting up the emulator, tested with the jb version of the emulator in pvt builds, with timestamp 20140114154437, then launching the Browser app.

Not sure how to move this forward, setting needinfo? from Ben Francis (Gaia::Browser module owner).
Flags: needinfo?(bfrancis)
This error is pretty harmless. I can't remember what causes it, but init.json is indeed valid JSON and is parsed correctly.

Are you seeing any actual reproduceable problems other than the error message itself?
Flags: needinfo?(bfrancis)
> Are you seeing any actual reproduceable problems other than the error
> message itself?

No, I am not.

However, something to note:

https://groups.google.com/forum/#!topic/mozilla.dev.b2g/SJrBkoxWSJc

It is discussed in bug 959493 to eventually flag these types of errors as failures in TBPL.
The following logcat messages currently show:

E/GeckoConsole(  289): [JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/inittopsites.json" line: 1 column: 1 source: "{"}]
E/GeckoConsole(  289): [JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/init.json" line: 1 column: 1 source: "{"}]

This still happens with the Flame on:

$ ./check_versions.sh
Gaia      0f9f11d0a6dadb3ea27160204bbe911c1ad69a6f
Gecko     https://hg.mozilla.org/mozilla-central/rev/196d05832e12
BuildID   20140709040203
Version   33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
B1TC00011220
Summary: JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/init.json" → JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/init.json" or JavaScript Error: "not well-formed" {file: "app://browser.gaiamobile.org/js/inittopsites.json"
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: