diff --git a/netwerk/test/unit/test_about_networking.js b/netwerk/test/unit/test_about_networking.js index a15fc4a7d6d3..194fd8860e56 100644 --- a/netwerk/test/unit/test_about_networking.js +++ b/netwerk/test/unit/test_about_networking.js @@ -50,6 +50,13 @@ add_test(function test_dns() { }); add_test(function test_sockets() { + // TODO: enable this test in bug 1581892. + if (mozinfo.socketprocess_networking) { + info("skip test_sockets"); + run_next_test(); + return; + } + let sts = Cc["@mozilla.org/network/socket-transport-service;1"].getService( Ci.nsISocketTransportService ); diff --git a/netwerk/test/unit/test_ping_aboutnetworking.js b/netwerk/test/unit/test_ping_aboutnetworking.js index 3c9ab9ba7878..3797f6a7d96b 100644 --- a/netwerk/test/unit/test_ping_aboutnetworking.js +++ b/netwerk/test/unit/test_ping_aboutnetworking.js @@ -26,6 +26,13 @@ function connectionFailed(status) { } function test_sockets(serverSocket) { + // TODO: enable this test in bug 1581892. + if (mozinfo.socketprocess_networking) { + info("skip test_sockets"); + do_test_finished(); + return; + } + do_test_pending(); gDashboard.requestSockets(function(data) { let index = -1; diff --git a/netwerk/test/unit/xpcshell.ini b/netwerk/test/unit/xpcshell.ini index ac34c7c6d550..2bee01299ef2 100644 --- a/netwerk/test/unit/xpcshell.ini +++ b/netwerk/test/unit/xpcshell.ini @@ -329,9 +329,8 @@ run-sequentially = Hardcoded hash value includes port 4444. [test_unix_domain.js] [test_addr_in_use_error.js] [test_about_networking.js] -skip-if = socketprocess_networking [test_ping_aboutnetworking.js] -skip-if = (verify && (os == 'mac')) || socketprocess_networking +skip-if = (verify && (os == 'mac')) [test_referrer.js] [test_referrer_cross_origin.js] [test_referrer_policy.js]