dart-sdk/tests/standalone_2
Jonas Termansen df95340f0c [dart:_http] Fix parsing of empty cookies and double quotes.
Commit a9ad427 introduced a bug that assumed the cookie value was at least
one character, but the cookie value can also be empty.

RFC 6265 5.2 does not specify any special behavior for double quotes and as
such they should be considered part of the value. This change stops
stripping those double quotes and instead preserves them.

The io/http_cookie_test test was skipped because it was considered flaky.
This change dusts it off and tests the new behavior.

This change adds the exact offsets and source to the FormatExceptions to
help the caller understand why a malformed cookie was rejected.

Fixes https://github.com/dart-lang/sdk/issues/33327
Fixes https://github.com/dart-lang/sdk/issues/35804
Change-Id: I3479ba48be5763c485bd3ca5b5d2d86d283df971
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/91221
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2019-05-23 10:05:36 +00:00
..
deferred
http_launch_data First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
io [dart:_http] Fix parsing of empty cookies and double quotes. 2019-05-23 10:05:36 +00:00
package First pass at disabling packages/ dir, packageRoot 2018-06-12 19:38:40 +00:00
app_snapshot_share_test.dart [VM] Remove 'corelib' and 'dart-io' sources generation into C++ arrays 2018-10-02 23:27:05 +00:00
array_bounds_check_generalization_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
assert_assignable_canon_test.dart
black_listed_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
byte_array_view_optimized_test.dart
bytedata_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
causal_async_stack_test.dart
check_class_cha_test.dart [vm/compiler] Improved type analysis for check class. 2018-07-20 23:26:45 +00:00
check_null_cha_test.dart [vm/compiler] Improved type analysis for check class. 2018-07-20 23:26:45 +00:00
constant_left_shift_test.dart [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
dart_developer_disabled_env_test.dart
dart_developer_env_test.dart
deferred_transitive_import_error_test.dart
deoptimization_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
double_hash_distribution_test.dart Test double.hashCode with and without intrinsics. 2017-10-26 23:59:32 +00:00
double_smi_comparison_test.dart
double_temp_test.dart
double_to_int_test.dart
dwarf_stack_trace_test.dart [test] Repair DWARF stacktrace test from Dart 2 damage. 2019-01-04 20:47:44 +00:00
entrypoints_verification_test.dart [vm] Respect entry-point annotation on constructors during obfuscation. 2019-02-14 20:18:19 +00:00
env_test.dart
fields_may_be_reset_test.dart
float_array_static_test.dart
float_array_test.dart Change some constant declarations to lowerCase. 2017-11-14 12:59:14 +00:00
fragmentation_test.dart [vm, gc] Add --force-evacuation flag to aid finding untracked pointers. 2018-11-21 22:58:57 +00:00
fragmentation_typed_data_test.dart Revert "Reland "Temporary revert of two changes which potentially caused performance regressions in Flutter."" 2019-04-03 12:50:57 +00:00
http_launch_test.dart [Tests] Pass VM options (Platform.executableArguments) to sub-processes 2019-03-18 23:20:41 +00:00
int_array_deopt.dart
int_array_load_elimination_test.dart
int_array_test.dart [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
int_list_test.dart
left_shift_bit_and_op_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
link_natives_lazily_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
map_insert_remove_oom_test.dart Fix map_insert_remove_oom_test. 2018-06-05 19:28:07 +00:00
medium_integer_test.dart [VM] Enable --limit-ints-to-64-bits in Dart 2.0 precompiler, v3. 2017-12-20 18:04:42 +00:00
no_allow_absolute_addresses_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_lazy_dispatchers_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_profiler_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_ast_printer_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_debugger_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_disassembler_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_il_printer_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_service_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
no_support_timeline_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
number_identity_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
oom_error_stacktrace_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
out_of_memory_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
packages_file_test.dart [dart:_http] Adds Dart-styled constants 2018-06-07 16:18:33 +00:00
pair_location_remapping_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
pow_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
regress31114_test.dart Clear flow graph type propagator information when winden-to-int32 2017-10-16 18:23:47 +00:00
regress_25335_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
regress_26031_test.dart Various strong mode fixes for standalone_2 tests. 2017-11-17 01:14:32 +00:00
regress_28854_1_test.dart Various strong mode fixes for standalone_2 tests. 2017-11-17 01:14:32 +00:00
regress_28854_2_test.dart Various strong mode fixes for standalone_2 tests. 2017-11-17 01:14:32 +00:00
regress_29350_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
regress_29695_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
slowpath_safepoints_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
standalone_2.status [tests] Avoid use of $strong because it is always true now 2019-05-16 17:41:27 +00:00
standalone_2_analyzer.status More cleanup of analyzer status file predicates. 2018-08-29 22:48:29 +00:00
standalone_2_kernel.status [dart:_http] Fix parsing of empty cookies and double quotes. 2019-05-23 10:05:36 +00:00
standalone_2_precompiled.status [tests] Avoid use of $strong because it is always true now 2019-05-16 17:41:27 +00:00
standalone_2_vm.status [tests] Avoid use of $strong because it is always true now 2019-05-16 17:41:27 +00:00
typed_array_int64_uint64_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
typed_array_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
typed_data_isolate_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00
typed_data_test.dart [vm/inliner] Inline 64-bit typed data. 2018-07-02 17:41:43 +00:00
typed_data_view_test.dart [Tests] Update _2 tests for Dart 2.0 fixed-size integers 2017-11-17 20:28:06 +00:00
unboxed_int_converter_test.dart Reland migrate most of the tests in standalone to be strong mode clean and move them to standalone_2 directory. 2017-10-07 01:29:36 +00:00