зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
aad41f988e
Коммит
b9dab9a111
|
@ -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]
|
||||
|
|
Загрузка…
Ссылка в новой задаче