Closed Bug 1078113 Opened 10 years ago Closed 10 years ago

[Wifi] Returned value of importCert() and listImportedCerts() becomes empty.

Categories

(Firefox OS Graveyard :: Wifi, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S6 (10oct)

People

(Reporter: chucklee, Assigned: chucklee)

References

Details

Attachments

(1 file, 1 obsolete file)

Returned value contains array and access is forbidden in bug 1065185.
We have to create a array copy for return values as patches in bug 1065185 do.
Use |Cu.cloneInfo()| mentioned in error log.
Attachment #8500271 - Flags: review?(vchang)
Attachment #8500271 - Flags: review?(bzbarsky)
Comment on attachment 8500271 [details] [diff] [review]
Use Cu.cloneInfo() to wrap returned values

Mmm, tasty code simplification.

r=me
Attachment #8500271 - Flags: review?(bzbarsky) → review+
Comment on attachment 8500271 [details] [diff] [review]
Use Cu.cloneInfo() to wrap returned values

Review of attachment 8500271 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8500271 - Flags: review?(vchang) → review+
https://hg.mozilla.org/mozilla-central/rev/d993a62ce8db
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S6 (10oct)
You need to log in before you can comment on or make changes to this bug.