On 10/20/2012 8:29 PM, Jim Porter wrote:
> On 10/17/2012 06:27 PM, Gregory Szorc wrote:
>> Let me know if you have any questions.
> 
> I have a followup question: is there an easy way to use https with
> httpd.js? ActiveSync Autodiscovery requires https. (I don't absolutely
> need to test Autodiscovery though, so if I can't do this, it's not the
> end of the world.)

We do have a tool in the tree called ssltunnel[1] that we use for https
testing. It's not the easiest thing in the world to use, but you can see
how Mochitest runs it[2].

There's also a bug on file[3] (with a WIP patch) on making
ssltunnel+httpd.js usable from xpcshell tests, which might fit your
usecase slightly better.

-Ted

1.
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/ssltunnel/
2. http://mxr.mozilla.org/mozilla-central/source/build/automation.py.in#997
3. https://bugzilla.mozilla.org/show_bug.cgi?id=466524

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to