gecko/netwerk/test/unit/test_sockettransportsvc_available.js

9 lines
243 B
JavaScript

function run_test() {
try {
var sts = Components.classes["@mozilla.org/network/socket-transport-service;1"]
.getService(Components.interfaces.nsISocketTransportService);
} catch(e) {}
do_check_true(!!sts);
}