Closed Bug 1008316 Opened 10 years ago Closed 8 years ago

enable test_ev_certs.js on B2G when libpkix isn't being used and (if) EV is re-enabled on B2G

Categories

(Core :: Security: PSM, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: keeler, Assigned: keeler)

Details

Attachments

(1 obsolete file)

libpkix is disabled on B2G. Part of test_ev_certs.js depends on it (the classic-mode verification). Probably the easiest thing to do is to not test classic mode for that test on B2G.
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → dkeeler
Status: NEW → ASSIGNED
Attachment #8432789 - Flags: review?(cviecco)
Comment on attachment 8432789 [details] [diff] [review]
patch

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

::: security/manager/ssl/tests/unit/test_ev_certs.js
@@ +67,5 @@
>      do_check_eq(hasEVPolicy.value, expected_ev);
>      do_check_eq(0, error);
>  }
>  
> +const gIsB2G = ("@mozilla.org/b2g-process-global;1" in Cc);

should this live on head.psm instead?
Attachment #8432789 - Flags: review?(cviecco) → review+
I was thinking we could move it if/when more than one test needs it.
Agreed.
Actually, I'm not even sure what I was thinking with this bug. We have a build flag (MOZ_NO_EV_CERTS) that essentially disables EV checking on B2G. So it doesn't make sense at all to run this test on that platform. I think I'll morph this bug to enable this test on B2G when libpkix is not being used at all and (if) we enable EV on B2G.
No longer blocks: 676972
Summary: test_ev_certs.js needs to be modified to work on B2G because libpkix is disabled → enable test_ev_certs.js on B2G when libpkix isn't being used and (if) EV is re-enabled on B2G
Attachment #8432789 - Attachment is obsolete: true
I don't think we should put effort into this without a clear signal that folks working on B2G want this.
Status: ASSIGNED → RESOLVED
Closed: 8 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: