v8/test
Shu-yu Guo 44a655c8af Forward the absence of the argument on AsyncFromSyncIterator prototype methods
https://github.com/tc39/ecma262/pull/1776 is a normative change that
reached consensus in the November 2019 TC39. It changes
%AsyncFromSyncIteratorPrototype% methods to forward the absence of
arguments to the underlying sync iterator. This is observable via
`arguments.length` inside the underlying sync iterator.

For example, .next is changed to, roughly:

```
%AsyncFromSyncIteratorPrototype%.next = function(value) {
  let res;
  if (arguments.length < 1) {
     res = [[SyncIteratorRecord]].[[Iterator]].next();
  } else {
     res = [[SyncIteratorRecord]].[[Iterator]].next(value);
  }
  // ...
};
```

Bug: v8:10395
Change-Id: Ib8127d08cd78b8d502e6510241f3f13fbbaba5c7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2247041
Reviewed-by: Marja Hölttä <marja@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68398}
2020-06-17 18:36:48 +00:00
..
benchmarks [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
cctest [heap] Use BasicMemoryChunk::FromHeapObject more 2020-06-17 14:05:48 +00:00
common [nci] Add native_context_independent flags 2020-06-15 11:09:38 +00:00
debugger [nci] Implement missing generic lowering bits 2020-06-17 07:04:05 +00:00
debugging [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
fuzzer [wasm-simd][fuzzer] Add v8x16 v16x8 v32x4 all_true 2020-06-15 21:50:53 +00:00
fuzzilli Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
inspector Fix external_debug_info section name 2020-06-17 13:51:28 +00:00
intl Sync DateTimeFormat with latest changes 2020-06-12 19:44:42 +00:00
js-perf-test [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm] Fix register uses in wasm tracing 2020-06-15 11:13:18 +00:00
mjsunit [nci] Implement missing generic lowering bits 2020-06-17 07:04:05 +00:00
mkgrokdump [ptr-compr] Disable mkgrokdump test when pointer compression is off 2020-06-17 18:35:43 +00:00
mozilla [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
test262 Forward the absence of the argument on AsyncFromSyncIterator prototype methods 2020-06-17 18:36:48 +00:00
torque [torque] Generate better code when using & operator on bitfields 2020-05-22 21:59:06 +00:00
unittests Revert "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-17 18:20:46 +00:00
wasm-api-tests [wasm-api-tests] initialize the loop variable 2020-06-10 15:39:58 +00:00
wasm-js [wasm] Update wasm spec tests 2020-06-16 22:00:04 +00:00
wasm-spec-tests [wasm] Update wasm spec tests 2020-06-16 22:00:04 +00:00
webkit [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
BUILD.gn Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00