Closed Bug 1153073 Opened 9 years ago Closed 6 years ago

[B2G][SMS][MMS] Add Test Coverage of The System Messages sent by Mobile Message

Categories

(Firefox OS Graveyard :: RIL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bevis, Unassigned)

References

Details

This is a follow-up of bug 1138264.

I tried to have "sms-failed" be covered in test_error_of_mms_send.js and test_error_of_sms_send.js.
To achieve this, I've tried similar approach done in |waitForSystemMessage| in https://dxr.mozilla.org/mozilla-central/source/dom/icc/tests/marionette/head.js.
However, this approach is not workable for sms/mms.

The reason is that for 'icc-stkcommand' system message, it's lucky that it's registered by sytem app with valid pageURL/manifestURL
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/manifest.webapp#L96
https://dxr.mozilla.org/mozilla-central/source/dom/apps/Webapps.jsm#895

For these new system messages, we should figure out more general way to register/unregister at runtime for testing purpose.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.