PageRenderTime 71ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/netwerk/test/unit/test_sockettransportsvc_available.js

https://github.com/zpao/v8monkey
JavaScript | 8 lines | 7 code | 1 blank | 0 comment | 0 complexity | ae5a880fdfa7c518eff743f818e32fb3 MD5 | raw file
  1. function run_test() {
  2. try {
  3. var sts = Components.classes["@mozilla.org/network/socket-transport-service;1"]
  4. .getService(Components.interfaces.nsISocketTransportService);
  5. } catch(e) {}
  6. do_check_true(!!sts);
  7. }