5c4bf35a2b
This partially reverts https://dart-review.googlesource.com/c/sdk/+/154180. The main mechanism for setting domain policy is still useful as we will use this to avoid insecure connections for higher level protocols (such as HTTP and gRPC). We already knew Android does not enforce network policy at socket level but it turns out iOS does not as well: > ATS doesn’t apply to calls your app makes to lower-level networking > interfaces like the Network framework or CFNetwork. In these cases, > you take responsibility for ensuring the security of the connection. This also resolves the need to fix https://github.com/dart-lang/sdk/issues/43223 as we are no longer enforcing the policy at socket level. Change-Id: I3913da8ea39dac2c5a70fdabe442775b18cfd0c5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161581 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Mehmet Fidanboylu <mehmetf@google.com>
118 lines
5.1 KiB
Plaintext
118 lines
5.1 KiB
Plaintext
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
# Sections in this file should contain "$compiler == dartk" or
|
|
# "$compiler == dartkp".
|
|
|
|
fragmentation_test: Pass, Slow # GC heavy
|
|
fragmentation_typed_data_test: Pass, Slow # GC heavy
|
|
io/process_sync_test: Pass, Slow # Spawns synchronously subprocesses in sequence.
|
|
|
|
[ $builder_tag == bytecode_interpreter ]
|
|
io/http_big_header_test: SkipSlow # Timeout
|
|
|
|
[ $compiler == dartkb ]
|
|
no_lazy_dispatchers_test: SkipByDesign # KBC interpreter doesn't support --no_lazy_dispatchers
|
|
|
|
[ $system == android ]
|
|
entrypoints_verification_test: Skip # Requires shared objects which the test script doesn't "adb push".
|
|
io/network_policy_configuration_test: Skip # Can't pass -D params containing quotes to adb.
|
|
io/network_policy_invalid_domain_test: Skip # Can't pass -D params containing quotes to adb.
|
|
io/network_policy_tie_breaker_test: Skip # Can't pass -D params containing quotes to adb.
|
|
|
|
[ $arch == ia32 && $builder_tag == optimization_counter_threshold ]
|
|
io/file_lock_test: SkipSlow # Timeout
|
|
|
|
[ $arch == simarm64 && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/http_bind_test: Slow, Pass
|
|
|
|
[ $builder_tag == optimization_counter_threshold && ($compiler == dartk || $compiler == dartkb) ]
|
|
map_insert_remove_oom_test: Skip # Heap limit too low.
|
|
|
|
[ $compiler == dartkp && $mode == debug && $runtime == dart_precompiled ]
|
|
io/raw_socket_test: Crash
|
|
io/socket_exception_test: Crash
|
|
io/socket_finalizer_test: Crash
|
|
io/socket_info_ipv4_test: Crash
|
|
io/socket_info_ipv6_test: Crash
|
|
io/socket_port_test: Crash
|
|
|
|
[ $compiler == dartkp && $runtime == dart_precompiled ]
|
|
io/compile_all_test: Skip # We do not support --compile-all for precompilation
|
|
io/http_client_connect_test: Skip # Flaky.
|
|
io/http_content_length_test: Skip # Flaky.
|
|
io/http_proxy_advanced_test: Skip # Flaky
|
|
io/http_proxy_test: Skip # Flaky.
|
|
io/http_response_deadline_test: Skip # Flaky.
|
|
io/http_reuse_server_port_test: Skip # Flaky.
|
|
io/http_server_close_response_after_error_test: Skip # Flaky.
|
|
io/http_shutdown_test: Skip # Flaky.
|
|
io/https_client_certificate_test: Crash
|
|
io/platform_test: Crash
|
|
io/raw_datagram_socket_test: Skip # Flaky.
|
|
io/raw_secure_server_closing_test: Skip # Flaky
|
|
io/raw_socket_test: Crash
|
|
io/secure_multiple_client_server_test: Skip # Flaky.
|
|
io/secure_server_closing_test: Skip # Flaky.
|
|
io/secure_server_socket_test: Skip # Flaky.
|
|
io/secure_socket_renegotiate_test: Crash
|
|
io/socket_many_connections_test: Skip # Flaky
|
|
io/web_socket_error_test: Skip # Flaky
|
|
io/web_socket_ping_test: Skip # Flaky.
|
|
io/web_socket_test: Skip # Flaky.
|
|
map_insert_remove_oom_test: Skip # Heap limit too low.
|
|
no_support_debugger_test: Skip # kernel-service snapshot not compatible with flag disabled
|
|
|
|
[ $mode == debug && $runtime == vm && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/file_lock_test: Slow, Pass
|
|
io/raw_socket_test: Crash
|
|
io/socket_exception_test: Crash
|
|
io/socket_finalizer_test: Crash
|
|
io/socket_info_ipv4_test: Crash
|
|
io/socket_info_ipv6_test: Crash
|
|
io/socket_port_test: Crash
|
|
|
|
[ $mode == debug && $hot_reload && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/web_socket_ping_test: Crash
|
|
|
|
[ $runtime == vm && ($compiler == dartk || $compiler == dartkb) ]
|
|
no_support_debugger_test: Skip # kernel-service snapshot not compatible with flag disabled
|
|
|
|
[ $system == windows && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/dart_std_io_pipe_test: Slow, Pass
|
|
io/secure_builtin_roots_test: Skip # Issues 32137 and 32138.
|
|
io/wait_for_event_isolate_test: Skip # Issues 32137 and 32138.
|
|
map_insert_remove_oom_test: Skip # Heap limit too low.
|
|
|
|
[ $hot_reload && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/http_no_reason_phrase_test: Crash
|
|
io/http_outgoing_size_test: Crash
|
|
|
|
[ $hot_reload_rollback && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/directory_chdir_test: Skip # Timeout
|
|
io/echo_server_stream_test: Slow, Pass
|
|
|
|
# Enabling of dartk for sim{arm,arm64} revealed these test failures, which
|
|
# are to be triaged. Isolate tests are skipped on purpose due to the usage of
|
|
# batch mode.
|
|
[ ($arch == simarm || $arch == simarm64) && ($compiler == dartk || $compiler == dartkb) ]
|
|
io/file_blocking_lock_test: Crash # Please triage.
|
|
io/file_lock_test: Slow, Pass
|
|
map_insert_remove_oom_test: Skip # Heap limit too low.
|
|
|
|
[ ($compiler == dartk || $compiler == dartkb) && ($hot_reload || $hot_reload_rollback) ]
|
|
io/addlatexhash_test: Skip # Timeout
|
|
io/http_advanced_test: Skip # Timeout
|
|
io/http_auth_digest_test: Crash
|
|
io/http_auth_test: Skip # Timeout
|
|
io/http_proxy_advanced_test: Skip # Timeout
|
|
io/http_read_test: Skip # Timeout
|
|
io/pipe_server_test: Skip # Timeout
|
|
io/socket_close_test: Skip # Timeout
|
|
io/socket_many_connections_test: Skip # Timeout
|
|
io/web_socket_compression_test: Skip # Timeout
|
|
io/web_socket_test: Skip # Timeout
|
|
|
|
[ $compiler != dartk && $compiler != dartkb && $compiler != dartkp || $compiler == dartkp && $system == windows ]
|
|
entrypoints_verification_test: SkipByDesign # Requires VM to run. Cannot run in precompiled Windows because the DLL is linked against dart.exe instead of dart_precompiled_runtime.exe.
|