/netwerk/test/unit/test_sockettransportsvc_available.js
https://github.com/crgosselin/mozilla-central · JavaScript · 8 lines · 7 code · 1 blank · 0 comment · 0 complexity · ae5a880fdfa7c518eff743f818e32fb3 MD5 · raw file
- 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);
- }