Closed Bug 1037784 Opened 10 years ago Closed 10 years ago

Multiple JavaScript warnings shown on startup involving "Could not map contract ID" and file:///system/b2g/distribution/bundles/libqc_b2g_location/chrome.manifest

Categories

(Firefox OS Graveyard :: Runtime, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.1 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

Boot up the phone while running `adb logcat`. While booting to the homescreen/lockscreen, there will be several JavaScript warnings shown:

E/GeckoConsole(  308): [JavaScript Warning: "Could not map contract ID '@mozilla.org/gonk-gps-geolocation-provider;1' to CID fdffb9d1-0d61-4384-8993-206609376e73 because no implementation of the CID is registered." {file: "file:///system/b2g/distribution/bundles/libqc_b2g_location/chrome.manifest" line: 2}]
E/GeckoConsole(  308): [JavaScript Warning: "Could not map contract ID '@mozilla.org/ril;1' to CID {9A7181E8-E66A-11E1-B4A1-B1066188709B} because no implementation of the CID is registered." {file: "file:///system/b2g/distribution/bundles/libqc_b2g_ril/chrome.manifest" line: 2}]
E/GeckoConsole(  308): [JavaScript Warning: "Could not map contract ID '@mozilla.org/telephony/telephonyprovider;1' to CID {7292B38A-1950-11E3-9E4A-46906188709B} because no implementation of the CID is registered." {file: "file:///system/b2g/distribution/bundles/libqc_b2g_ril/chrome.manifest" line: 3}]

Not sure if these JavaScript warnings should show up, so setting needinfo? from Tim, the Firefox OS System module owner.

Tested on a Flame:
$ ./check_versions.sh
Gaia      c47094a26c87ba71a3da4bae54febd0da21f3393
Gecko     https://hg.mozilla.org/mozilla-central/rev/1b1296d00330
BuildID   20140711040202
Version   33.0a1
ro.build.version.incremental=109
ro.build.date=Mon Jun 16 16:51:29 CST 2014
B1TC00011220
Flags: needinfo?(timdream)
The offending code is in chrome JavaScript, not System app.
Component: Gaia::System → Runtime
Flags: needinfo?(timdream)
Gary, that's because we can't load the binary xpcom RIL & geolocation components since they are compiled for a different gecko version. Not much we can do there.
(In reply to Fabrice Desré [:fabrice] from comment #2)
> Gary, that's because we can't load the binary xpcom RIL & geolocation
> components since they are compiled for a different gecko version. Not much
> we can do there.

OK, resolving WONTFIX then, since this is not likely to be fixed. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.