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"

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
5 years ago
2 years ago

People

(Reporter: gkw, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

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

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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)
(Reporter)

Comment 2

5 years ago
> 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.
(Reporter)

Updated

5 years ago
status-b2g-v1.4: --- → affected
(Reporter)

Comment 3

4 years ago
Created attachment 8453335 [details]
Sample `adb logcat` output

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
(Reporter)

Updated

4 years ago
status-b2g-v2.0: --- → affected
status-b2g-v2.1: --- → affected
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"
(Reporter)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.