Bug 1741425 - Enable more xpcshell tests with socket process, r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D134484
This commit is contained in:
Kershaw Chang 2022-01-11 09:50:14 +00:00
Родитель 5d806765a0
Коммит f159addb13
11 изменённых файлов: 26 добавлений и 18 удалений

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

@ -1,7 +1,7 @@
[DEFAULT]
tags = devtools
head = head_dbg.js
skip-if = toolkit == 'android' || socketprocess_networking
skip-if = toolkit == 'android'
firefox-appdir = browser
support-files=

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

@ -10,8 +10,10 @@ support-files =
[test_bug577950.js]
[test_bug790374.js]
[test_stickyprefs.js]
skip-if = (os == "win" && socketprocess_networking)
support-files = data/testPrefSticky.js data/testPrefStickyUser.js
[test_locked_file_prefs.js]
skip-if = (os == "win" && socketprocess_networking)
support-files = data/testPrefLocked.js data/testPrefLockedUser.js
[test_changeType.js]
[test_defaultValues.js]

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

@ -26,6 +26,7 @@ run-sequentially = Reusing same server on different specific ports.
[test_request_line_split_in_two_packets.js]
[test_response_write.js]
[test_seizepower.js]
skip-if = (os == 'mac' && socketprocess_networking)
[test_setindexhandler.js]
[test_setstatusline.js]
[test_sjs.js]

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

@ -180,6 +180,7 @@ skip-if = bits != 32
[test_cache_jar.js]
[test_cache-entry-id.js]
[test_channel_close.js]
skip-if = os == "win" && socketprocess_networking && !debug
[test_channel_long_domain.js]
[test_compareURIs.js]
[test_compressappend.js]
@ -205,10 +206,8 @@ skip-if = os == "android" # Bug 1700483
[test_data_protocol.js]
[test_dns_service.js]
[test_dns_offline.js]
skip-if = socketprocess_networking # Bug 1640105
[test_dns_onion.js]
[test_dns_originAttributes.js]
skip-if = socketprocess_networking # Bug 1640105
[test_dns_localredirect.js]
[test_dns_proxy_bypass.js]
[test_dns_disabled.js]
@ -236,6 +235,7 @@ skip-if = (toolkit != 'gtk')
[test_httpauth.js]
[test_httpcancel.js]
[test_httpResponseTimeout.js]
skip-if = (os == "win" && socketprocess_networking)
[test_httpsuspend.js]
[test_idnservice.js]
[test_idn_blacklist.js]
@ -305,7 +305,7 @@ skip-if =
[test_simple.js]
[test_sockettransportsvc_available.js]
[test_socks.js]
skip-if = (os == 'mac' && debug) || socketprocess_networking #Bug 1140656
skip-if = (os == 'mac' && debug) #Bug 1140656
# Bug 675039: test fails consistently on Android
fail-if = os == "android"
# http2 unit tests require us to have node available to run the spdy and http2 server
@ -350,9 +350,7 @@ firefox-appdir = browser
firefox-appdir = browser
[test_tls_server.js]
firefox-appdir = browser
skip-if = socketprocess_networking
[test_tls_server_multiple_clients.js]
skip-if = socketprocess_networking
[test_1073747.js]
[test_safeoutputstream_append.js]
[test_suspend_channel_before_connect.js]
@ -411,7 +409,6 @@ skip-if =
socketprocess_networking # Bug 1614708
[test_captive_portal_service.js]
run-sequentially = node server exceptions dont replay well
skip-if = socketprocess_networking
[test_early_hint_listener_http2.js]
run-sequentially = node server exceptions dont replay well
[test_dns_by_type_resolve.js]
@ -455,9 +452,9 @@ run-sequentially = http3server
[test_obs-fold.js]
[test_defaultURI.js]
[test_port_remapping.js]
skip-if = (os == "win" && socketprocess_networking)
[test_dns_override.js]
[test_dns_override_for_localhost.js]
skip-if = socketprocess_networking # Bug 1640105
[test_no_cookies_after_last_pb_exit.js]
[test_trr_httpssvc.js]
run-sequentially = node server exceptions dont replay well
@ -531,6 +528,7 @@ run-sequentially = node server exceptions dont replay well
skip-if =
os == "android"
!debug
(os == "win" && socketprocess_networking)
[test_SuperfluousAuth.js]
[test_odoh.js]
head = head_channels.js head_cache.js head_cookies.js head_trr.js head_http3.js trr_common.js
@ -573,7 +571,6 @@ run-sequentially = node server exceptions dont replay well
skip-if =
os == 'android'
verify && (os == 'win')
socketprocess_networking
run-sequentially = node server exceptions dont replay well
[test_304_headers.js]
[test_http3_direct_proxy.js]

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

@ -144,7 +144,7 @@ run-sequentially = hardcoded ports
run-sequentially = hardcoded ports
[test_local_cert.js]
[test_logoutAndTeardown.js]
skip-if = socketprocess_networking
skip-if = socketprocess_networking && os == "linux" && debug
run-sequentially = hardcoded ports
[test_missing_intermediate.js]
run-sequentially = hardcoded ports
@ -174,6 +174,7 @@ run-sequentially = hardcoded ports
[test_ocsp_stapling_with_intermediate.js]
run-sequentially = hardcoded ports
[test_ocsp_timeout.js]
skip-if = (os == "win" && socketprocess_networking)
run-sequentially = hardcoded ports
[test_ocsp_url.js]
run-sequentially = hardcoded ports

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

@ -47,7 +47,9 @@ xpcshell:
fission: []
socketprocess_networking:
by-test-platform:
linux.*64-qr/debug: built-projects
macosx.*-64(-shippable|-devedition|-asan)?(-qr)?/.*: built-projects
linux1804-64(-qr)?/debug: built-projects
windows.*(-shippable|-devedition|-asan|.*-qr)?/.*: built-projects
default: []
default:
by-test-platform:

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

@ -85,9 +85,7 @@ skip-if = appname == "thunderbird" || os == "android" # Containers are not expos
[test_ext_csp_frame_ancestors.js]
[test_ext_debugging_utils.js]
[test_ext_dns.js]
skip-if =
socketprocess_networking
os == "android" # Android needs alternative for proxy.settings - bug 1723523
skip-if = os == "android" # Android needs alternative for proxy.settings - bug 1723523
[test_ext_downloads.js]
[test_ext_downloads_cookies.js]
skip-if =
@ -262,7 +260,6 @@ skip-if = os == 'android' && processor == 'x86_64' # Bug 1683253
[test_ext_webRequest_redirect_mozextension.js]
skip-if = os == "android" # Android: Bug 1680132
[test_ext_webRequest_requestSize.js]
skip-if = socketprocess_networking
[test_ext_webRequest_set_cookie.js]
skip-if = appname == "thunderbird"
[test_ext_webRequest_startup.js]

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

@ -6,7 +6,7 @@ skip-if = os == "android" || (os == "win" && debug) || (os == "linux")
[test_ext_contentscript_canvas_tainting.js]
[test_ext_contentscript_scriptCreated.js]
[test_ext_contentscript_triggeringPrincipal.js]
skip-if = os == "android" || (os == "win" && debug) || tsan || socketprocess_networking # Windows: Bug 1438796, tsan: bug 1612707, Android: Bug 1680132
skip-if = os == "android" || (os == "win" && debug) || tsan # Windows: Bug 1438796, tsan: bug 1612707, Android: Bug 1680132
[test_ext_contentscript_xrays.js]
[test_ext_contentScripts_register.js]
[test_ext_contexts_gc.js]

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

@ -14,6 +14,7 @@ skip-if =
[test_ExperimentManager_unenroll.js]
[test_ExperimentManager_generateTestIds.js]
[test_ExperimentStore.js]
skip-if = (os == "win" && socketprocess_networking)
[test_NimbusTestUtils.js]
[test_SharedDataMap.js]
[test_ExperimentAPI.js]

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

@ -5,4 +5,5 @@ subprocess = true
[test_process_kill.js]
skip-if = os == 'android'
[test_total_cpu_time.js]
skip-if = socketprocess_networking
support-files = test_total_cpu_time_child.js

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

@ -23,14 +23,20 @@ skip-if = !debug
skip-if = !debug
[test_asm.js]
[test_feature_mainthreadio.js]
skip-if = release_or_beta || (os == "win" && processor == "aarch64") # The IOInterposer is in an ifdef, aarch64 due to 1536657
skip-if =
release_or_beta
(os == "win" && processor == "aarch64") # The IOInterposer is in an ifdef, aarch64 due to 1536657
(os == "win" && socketprocess_networking)
[test_feature_fileioall.js]
skip-if = release_or_beta || (os == "win" && processor == "aarch64") # The IOInterposer is in an ifdef, aarch64 due to 1536657
# The sanitizer checks appears to overwrite our own memory hooks in xpcshell tests,
# and no allocation markers are gathered. Skip this test in that configuration.
[test_feature_nativeallocations.js]
skip-if = asan || tsan
skip-if =
asan
tsan
socketprocess_networking
# Native stackwalking is somewhat unreliable depending on the platform.
#