Bug 1527256 - P4: Enable about:networking tests r=dragana

Depends on D82320

Differential Revision: https://phabricator.services.mozilla.com/D82321
This commit is contained in:
Kershaw Chang 2020-07-08 10:28:53 +00:00
Родитель 39ecbeff00
Коммит c87cb10f45
3 изменённых файлов: 15 добавлений и 2 удалений

Просмотреть файл

@ -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
);

Просмотреть файл

@ -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;

Просмотреть файл

@ -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]