Closed Bug 959940 Opened 11 years ago Closed 10 years ago

JavaScript Error: "NS_ERROR_UNEXPECTED: " {file: "app://system.gaiamobile.org/js/sound_manager.js"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v1.4 --- affected

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #959936 +++

E/GeckoConsole(   44): [JavaScript Error: "Permission denied to access property 'toString'"]
E/GeckoConsole(   44): [JavaScript Error: "Permission denied to access property 'message'"]
E/GeckoConsole(   44): [JavaScript Error: "uncaught exception: unknown (can't convert to string)"]
E/GeckoConsole(   44): [JavaScript Error: "NS_ERROR_UNEXPECTED: " {file: "app://system.gaiamobile.org/js/sound_manager.js" line: 82}]

This happens on first-run startup of the emulator, tested with the jb version of the emulator in pvt builds, with timestamp 20140114154437.

https://github.com/mozilla-b2g/gaia/blame/4cc2dcbf9cebf6d4731783626acf57c3e712f479/apps/system/js/sound_manager.js#L82

The following commit introduced this line:

https://github.com/mozilla-b2g/gaia/commit/17960d484c0b5bf9f92ff150381473cede3ea3e2

from bug 905969, so setting needinfo? from Arthur.
Flags: needinfo?(arthur.chen)
Do we still get those errors?
The error seems occur when getting lock from mozSettings. We also encounter this issue in v1.3t sometimes.
Flags: needinfo?(arthur.chen)
(In reply to Arthur Chen [:arthurcc] from comment #3)
> The error seems occur when getting lock from mozSettings. We also encounter
> this issue in v1.3t sometimes.
Yes, we also encounter this issue in v1.3t with following log. But the trigger point is come from unlock screen.
===== log =====
04-15 15:03:39.750    84    84 E GeckoConsole: [JavaScript Error: "Permission denied to access property 'toString'"]
04-15 15:03:39.750    84    84 E GeckoConsole: [JavaScript Error: "Permission denied to access property 'message'"]
04-15 15:03:39.750    84    84 E GeckoConsole: [JavaScript Error: "uncaught exception: unknown (can't convert to string)"]
04-15 15:03:39.760    84    84 E GeckoConsole: [JavaScript Error: "NS_ERROR_UNEXPECTED: " {file: "app://system.gaiamobile.org/js/lockscreen.js" line: 983}]
I no longer see these JavaScript errors when launching FTE. (Tested via launching First-Time Experience via the Developer menu)

Tested 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
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
> I no longer see these JavaScript errors when launching FTE. (Tested via
> launching First-Time Experience via the Developer menu)

Nor when booting up.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: