Closed Bug 978117 Opened 11 years ago Closed 11 years ago

test_signed_apps.js and test_signed_apps-marketplace.js fail on Android and B2G

Categories

(Core :: Security: PSM, defect, P3)

x86
Android
defect

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: briansmith, Assigned: briansmith)

References

(Blocks 1 open bug)

Details

(Whiteboard: [mobile-testing][xpcshell])

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #676972 +++ Test cases "valid" and "unsigned" actually pass, but the "unknown_issuer" test case fails because the error returned is SEC_ERROR_EXTENSION_NOT_FOUND instead of the expected error SEC_ERROR_UNKNOWN_ISSUER: add_test(function () { certdb.openSignedAppFileAsync( Ci.nsIX509CertDB.AppXPCShellRoot, original_app_path("unknown_issuer"), check_open_result("unknown_issuer", getXPCOMStatusFromNSS(SEC_ERROR_UNKNOWN_ISSUER))); }); This indicates that the problem is probably in NSS, AppTrustDomain, and/or insanity::pkix. It is mildly concerning that there is this difference for Android and B2G only.
Comment on attachment 8384340 [details] [diff] [review] Enable test_signed_apps.js and test_signed_apps-marketplace.js on Android and B2G Review of attachment 8384340 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me.
Attachment #8384340 - Flags: review?(cviecco) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/165ebc711387 Thanks for the quick reviews. (Note that I did use r=cviecco in the final commit message, even though I had r?keeler in the patch's commit message.)
Target Milestone: --- → mozilla30
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: