Tests: distinguish WebCrypto absence from probe failures
The capability guards introduced in
4ea1356a skipped whenever the HTTP
response did not contain "true". A startup error, HTTP 500 or malformed
response could therefore hide a regression. Referencing an absent
crypto global also raised ReferenceError instead of returning false.
Use typeof to check the global and accept only a successful response
with an exact boolean body. Probe WebCrypto through stream in the
stream test, independently of HTTP engine selection. Treat startup
and malformed probe responses as failures.
Require WebCrypto when the existing CI_SSL setting is yes. Keep a
capability skip for a valid false response outside SSL-enabled CI,
so local builds without crypto remain supported.