summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_sockettransportsvc_available.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_sockettransportsvc_available.js')
-rw-r--r--netwerk/test/unit/test_sockettransportsvc_available.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/netwerk/test/unit/test_sockettransportsvc_available.js b/netwerk/test/unit/test_sockettransportsvc_available.js
new file mode 100644
index 000000000..bfb64e324
--- /dev/null
+++ b/netwerk/test/unit/test_sockettransportsvc_available.js
@@ -0,0 +1,8 @@
+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);
+}