Closed Bug 1235040 Opened 9 years ago Closed 7 years ago

[B2G][MMS] Not able to send MMS in B2G_DEBUG build.

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bevis, Unassigned)

References

Details

Attachments

(1 file)

The root cause is that, in DEBUG build, the Uint8Array object created in MmsService.js [1] cannot be identified as an instance of Uint8Array in an imported JSM(WspPduHelper.jsm) [2]. This can be fixed if I verify it with the global context of the Uint8Array object instead: > aObject instanceof Cu.getGlobalForObject(aObject).Uint8Array Need expert's comment to have a formal solution of this problem. :( [1] https://hg.mozilla.org/mozilla-central/file/388bdc46ba51ee31da8b8abe977e0ca38d117434/dom/mobilemessage/gonk/MmsService.js#l830 [2] https://hg.mozilla.org/mozilla-central/file/388bdc46ba51ee31da8b8abe977e0ca38d117434/dom/mobilemessage/gonk/WspPduHelper.jsm#l2483
Hi Jeff, I assumed that the problem in comment 0 is related to the JS engine. May I have your suggestion of this problem? Thanks!
Flags: needinfo?(jwalden+bmo)
update WIP patch for reference.
Blocks: 942066
will revisit this when needed. Cancel the ni flag.
Flags: needinfo?(jwalden+bmo)
no longer following up this bug.
Assignee: btseng → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: