Open Bug 866931 Opened 10 years ago Updated 5 months ago

Implement tests for mozTCPSocket that establish an SSL connection.

Categories

(Core :: Networking, defect, P5)

x86_64
Linux
defect

Tracking

()

People

(Reporter: asuth, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [necko-would-take])

In https://bugzilla.mozilla.org/show_bug.cgi?id=861196#c12 :bsmith indicated (and I and probably everyone else agrees) that mozTCPSocket should have tests that actually establish an SSL connection.

Long ago, I think our best hope for this was to just run under the mochitest framework which already spins up an SSL wrapping connection we can use with various certificates.  At that time, xpcshell couldn't really do any SSL spin-ups, but that is ostensibly being fixed with bug 466524.  Since we *really* want mozTCPSockets that also test things from content (without chrome privs), the mochitest option is probably the best option all around.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.