v8/test/cctest/heap
Benedikt Meurer 1525374ff5 [es2015] Extend the array iterator protector.
Previously the array iterator protector only guarded the lookup of the
@@iterator symbol on the initial Array.prototype, and we had to use an
additional map check on the %ArrayIteratorPrototype% to ensure that no
one messed with the next() method.  This CL extends the array iterator
protector to also guard the lookup of %ArrayIteratorPrototype%.next.

This simplifies the code quite a bit and makes it more robust for cases
where someone has to install additional methods on the iterator
prototype, i.e. a custom async iterator.

Bug: v8:7510, v8:7514
Change-Id: Ie6080bb837a91a2b60b224597121470614210660
Reviewed-on: https://chromium-review.googlesource.com/945728
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51684}
2018-03-02 09:34:31 +00:00
..
heap-tester.h [heap] Add regression test for 791582. 2017-12-06 16:19:26 +00:00
heap-utils.cc [heap] Refactor and clean-up runtime allocation. 2018-01-09 09:51:21 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [Memory] Rewrite platform OS Commit / Uncommit in terms of permissions. 2017-11-21 16:48:55 +00:00
test-array-buffer-tracker.cc Dispose isolate at end of UNINITIALIZED_TEST 2017-10-04 16:21:09 +00:00
test-compaction.cc [heap] Re-enable parallel marking 2017-11-20 13:03:03 +00:00
test-concurrent-marking.cc Reland "Introduce ConcurrentMarking::StopRequest API." 2018-02-19 14:46:44 +00:00
test-embedder-tracing.cc [heap] Increase test coverage for embedder tracing 2017-12-07 14:11:51 +00:00
test-heap.cc [es2015] Extend the array iterator protector. 2018-03-02 09:34:31 +00:00
test-incremental-marking.cc [heap] Correctly restore platform in IncrementalMarkingUsingTasks test. 2017-12-08 10:39:12 +00:00
test-invalidated-slots.cc [test] Add stress_incremental_marking testing variant 2017-10-05 13:10:42 +00:00
test-lab.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
test-mark-compact.cc [heap] Refactor and clean-up runtime allocation. 2018-01-09 09:51:21 +00:00
test-page-promotion.cc [heap] Move sweeper to separate file 2017-11-28 09:22:09 +00:00
test-spaces.cc [heap] Move FreeListCategory memory out of the page header. 2018-02-27 15:39:04 +00:00