Closed Bug 909693 Opened 11 years ago Closed 11 years ago

B2G RIL: JavaScript Error: "Error: Don't know about this message type: undefined" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 1159}

Categories

(Core :: DOM: Device Interfaces, defect)

x86_64
Linux
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(2 files)

Attached file logcat.txt
At REQUEST_QUERY_NETWORK_SELECTION_MODE parcel handler[1], when we see an error, it reports back to RadioInterface but with no rilMessageType/rilMessageToken defined.

The request was triggered by |getNetworkSelectionMode()|[2], which is only called in |requestNetworkInfo()|[3].

[1]: http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#5358
[2]: http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#1063
[3]: http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#1035
Cause no harm and is easy to fix.  Just skip error messages as other grouped requests do for now.
Assignee: nobody → vyang
Severity: normal → trivial
Attached patch patchSplinter Review
Attachment #795939 - Flags: review?(allstars.chh)
Attachment #795939 - Flags: review?(allstars.chh) → review+
https://hg.mozilla.org/mozilla-central/rev/b2a037b3e9e9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: