Closed
Bug 968716
Opened 10 years ago
Closed 10 years ago
B2G RIL: JavaScript Error: "Unknown rilSuppSvcNotification: null"
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.4 S1 (14feb)
People
(Reporter: edgar, Assigned: hsinyi)
Details
Attachments
(2 files, 1 obsolete file)
719.63 KB,
text/plain
|
Details | |
4.05 KB,
patch
|
aknow
:
review+
|
Details | Diff | Splinter Review |
Found below javascript error when having a MO call. -- 02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}] 02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}]'[JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}]' when calling method: [nsIGonkTelephonyProvider::notifySupplementaryService]" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 1485}] -- Build info: - Device: unagi - Gecko: 166803:2c366892729d (m-c) - Gaia: e6b5fc463f060 (master)
Reporter | ||
Comment 1•10 years ago
|
||
02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}] 02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}]'[JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}]' when calling method: [nsIGonkTelephonyProvider::notifySupplementaryService]" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: 1485}]
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Edgar Chen [:edgar][:echen] from comment #1) > Created attachment 8371304 [details] > unagi_svc_error.txt > > 02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: "Unknown > rilSuppSvcNotification: null" {file: > "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: 318}] > 02-06 11:58:11.302 108 108 E GeckoConsole: [JavaScript Error: > "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "Unknown > rilSuppSvcNotification: null" {file: > "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: > 318}]'[JavaScript Error: "Unknown rilSuppSvcNotification: null" {file: > "jar:file:///system/b2g/omni.ja!/components/TelephonyProvider.js" line: > 318}]' when calling method: > [nsIGonkTelephonyProvider::notifySupplementaryService]" {file: > "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceLayer.js" line: > 1485}] Thanks for reporting this, Edgar. Actually, it's not a bug. We haven't had a full support for any kind of supplementary service notification. That's why we see |"Unknown rilSuppSvcNotification: null"| Thought it's not a real bug, the message looks scaring. I think we could have a softer warning instead of throwing a js error. :)
Assignee | ||
Comment 3•10 years ago
|
||
Avoid redundant execution for unsupported notification type
Assignee | ||
Updated•10 years ago
|
Attachment #8371344 -
Flags: review?(szchen)
Comment 4•10 years ago
|
||
Comment on attachment 8371344 [details] [diff] [review] 968716.patch - v1 Review of attachment 8371344 [details] [diff] [review]: ----------------------------------------------------------------- I think the patch didn't resolve the problem. We could simply add a 'return' for MO type notification. ::: dom/system/gonk/ril_worker.js @@ -3815,5 @@ > let callIndex = -1; > > - if (info.notificationType === 0) { > - // MO intermediate result code. Refer to code1 defined in 3GPP 27.007 > - // 7.17. How about just add a 'return;' here
Attachment #8371344 -
Flags: review?(szchen)
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Szu-Yu Chen [:aknow] from comment #4) > Comment on attachment 8371344 [details] [diff] [review] > 968716.patch - v1 > > Review of attachment 8371344 [details] [diff] [review]: > ----------------------------------------------------------------- > > I think the patch didn't resolve the problem. > We could simply add a 'return' for MO type notification. > > ::: dom/system/gonk/ril_worker.js > @@ -3815,5 @@ > > let callIndex = -1; > > > > - if (info.notificationType === 0) { > > - // MO intermediate result code. Refer to code1 defined in 3GPP 27.007 > > - // 7.17. > > How about just add a 'return;' here 'return;' is one option. If you do want to indicate there is a type we have NOT supported so far from code, then we could do it. I remove it completely because I'd like to show the type we HAVE supported.
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #5) > (In reply to Szu-Yu Chen [:aknow] from comment #4) > > Comment on attachment 8371344 [details] [diff] [review] > > 968716.patch - v1 > > > > Review of attachment 8371344 [details] [diff] [review]: > > ----------------------------------------------------------------- > > > > I think the patch didn't resolve the problem. > > We could simply add a 'return' for MO type notification. > > > > ::: dom/system/gonk/ril_worker.js > > @@ -3815,5 @@ > > > let callIndex = -1; > > > > > > - if (info.notificationType === 0) { > > > - // MO intermediate result code. Refer to code1 defined in 3GPP 27.007 > > > - // 7.17. > > > > How about just add a 'return;' here > > 'return;' is one option. If you do want to indicate there is a type we have > NOT supported so far from code, then we could do it. I remove it completely > because I'd like to show the type we HAVE supported. oops... my bad...
Assignee | ||
Comment 7•10 years ago
|
||
Review comment addressed.
Attachment #8371344 -
Attachment is obsolete: true
Attachment #8372018 -
Flags: review?(szchen)
Comment 8•10 years ago
|
||
Comment on attachment 8372018 [details] [diff] [review] 968716-v2.patch Review of attachment 8372018 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/system/gonk/ril_worker.js @@ +3811,5 @@ > debug("handle supp svc notification: " + JSON.stringify(info)); > } > > let notification = null; > let callIndex = -1; I would like to move these two lines to the location after next 'if' block (line: 3824)
Attachment #8372018 -
Flags: review?(szchen) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Local manual and marionette tests pass! Comment 8 addressed: https://hg.mozilla.org/integration/b2g-inbound/rev/f61d9d4cd37f
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f61d9d4cd37f
Assignee: nobody → htsai
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
You need to log in
before you can comment on or make changes to this bug.
Description
•