Closed Bug 1121229 Opened 9 years ago Closed 9 years ago

[music] Improve testing of ForwardLocked content

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.2 S4 (23jan)

People

(Reporter: squib, Assigned: squib)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
djf
: review+
Details | Review
Attached file Add tests
We should test that ForwardLocked content correctly fails to parse if we have no secret key. Here's a patch to do that. I also made sure that if there is no secret key, we immediately fail to decrypt the blob, rather than waiting until the parser gets confused.
Attachment #8548492 - Flags: review?(dflanagan)
Comment on attachment 8548492 [details] [review]
Add tests

Looks good to me.
Attachment #8548492 - Flags: review?(dflanagan) → review+
Landed: https://github.com/mozilla-b2g/gaia/commit/7bb4ff522aed38ac5dc21d8e20969af800354eac
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S4 (23jan)
Blocks: 1122206
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: