v8/test/mjsunit/es6
legendecas cd77eb7bd7 [builtins] Fixes TypedArray ops behavior when the buffer was detached
After the parameter processing, the arraybuffer may have been detached.
TypedArray copyWithin/fill should throw in that condition. TypedArray
includes should return false if the search element is not undefined.

Change-Id: If507d0efa1dafbe3dcefcd368e5ea27406bb3df8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3144315
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77103}
2021-09-27 19:08:20 +00:00
..
debug-promises [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
regress [builtins] Fixes TypedArray ops behavior when the buffer was detached 2021-09-27 19:08:20 +00:00
arguments-iterator.js
array-concat-arity.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-array-subclass.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-length-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-length-tostring-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-length-valueof-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-negative-length.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-primitive-nonnumber-length.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike-string-length.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-arraylike.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-descriptor.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-holey-array.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-isconcatspreadable-getter-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-length-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-no-prototype.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-nonarray.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-revoked-proxy-1.js
array-concat-revoked-proxy-2.js
array-concat-sloppy-arguments-holey.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-sloppy-arguments-throws.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-sloppy-arguments-with-dupes.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-sloppy-arguments.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-arraylike-proxy-bogus-length.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-arraylike-proxy-length.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-arraylike-proxy.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-boolean-wrapper.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-function.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-nonarraylike-proxy.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-number-wrapper.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-regexp.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-sparse-object.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-spreadable-string-wrapper.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-strict-arguments.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-typedarray.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-unspreadable-array-subclass.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-unspreadable-array.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-unspreadable-arraylike-proxy.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-concat-unspreadable-nonarraylike-proxy.js Split up mjsunit/es6/array-concat.js 2019-10-18 00:53:47 +00:00
array-copywithin.js Reland "[builtins] Clean up the use of class_name / ES5 [[Class]]" 2020-04-24 11:46:43 +00:00
array-fill-receiver.js
array-fill.js
array-find.js
array-findindex.js
array-from.js
array-iterator-detached.js [cleanup] Change error message for neutered -> detached 2019-09-12 12:53:43 +00:00
array-iterator-turbo.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
array-iterator.js
array-length.js
array-of.js
array-prototype-values.js
array-reverse-order.js
array-species-constructor-accessor.js
array-species-constructor-delete.js
array-species-constructor.js
array-species-delete.js
array-species-modified.js
array-species-neg-zero.js
array-species-parent-constructor.js
array-species-proto.js
array-species.js
array-spread-holey.js
array-spread-large-holey.js [heap] Add base class for LargeObjectSpaces 2019-10-25 09:22:57 +00:00
array-tostring.js
arraybuffer-species.js
arrow-functions-lexical-arguments.js
arrow-functions-this.js
arrow-functions.js
arrow-rest-params-lazy-parsing.js
arrow-rest-params.js
block-conflicts-sloppy.js [test][cleanup] Revive --time, speed up some tests 2019-09-16 11:24:11 +00:00
block-conflicts.js
block-const-assign-sloppy.js
block-const-assign.js [test][cleanup] Revive --time, speed up some tests 2019-09-16 11:24:11 +00:00
block-eval-var-over-let.js
block-for-sloppy.js
block-for.js
block-leave-sloppy.js
block-leave.js
block-let-contextual-sloppy.js
block-let-crankshaft-sloppy.js Reland "[interpreter] Short Star bytecode" 2021-02-17 16:18:26 +00:00
block-let-crankshaft.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
block-let-declaration-sloppy.js [test] Prevent Unintentionally Undefined Error Types 2019-04-30 08:43:06 +00:00
block-let-declaration.js [test] Prevent Unintentionally Undefined Error Types 2019-04-30 08:43:06 +00:00
block-let-semantics-sloppy.js
block-let-semantics.js
block-scope-class.js
block-scoping-sloppy.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
block-scoping-top-level-sloppy.js
block-scoping-top-level.js
block-scoping.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
block-sloppy-function.js [parser] Use non-eval decl scope's parent for caching 2019-12-09 15:19:02 +00:00
built-in-accessor-names.js
call-with-spread-modify-array-iterator.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
call-with-spread-modify-next.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
call-with-spread.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
catch-parameter-redeclaration.js
class-computed-property-names-super.js Reland2 [super] Store home object in Context instead of JSFunction 2021-01-29 09:19:23 +00:00
class-property-name-eval-arguments.js
classes-accesors.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
classes-constructor.js [runtime] throw a realm type error when constructors are called 2021-07-29 14:34:22 +00:00
classes-derived-return-type.js
classes-experimental.js
classes-lazy-parsing.js
classes-maps.js
classes-name-binding.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
classes-proto.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
classes-proxy.js
classes-restricted-properties.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
classes-subclass-arrays.js
classes-subclass-builtins.js
classes-super.js
classes-test-super.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
classes.js Install "name" property on anonymous classes 2020-08-18 16:41:23 +00:00
collection-iterator.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
collections-constructor-custom-iterator.js Enable FLAG_feedback_allocation_on_bytecode_size 2021-03-12 14:25:52 +00:00
collections-constructor-iterator-side-effect.js Add option to allocate feedback vector based on bytecode size 2021-01-27 16:36:28 +00:00
collections-constructor-with-modified-array-prototype.js Enable FLAG_feedback_allocation_on_bytecode_size 2021-03-12 14:25:52 +00:00
collections-constructor-with-modified-protoype.js Enable FLAG_feedback_allocation_on_bytecode_size 2021-03-12 14:25:52 +00:00
collections.js
completion.js
computed-property-names-classes.js Install class "name" accessor before methods 2021-06-23 18:05:30 +00:00
computed-property-names-deopt.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
computed-property-names-object-literals-methods.js
computed-property-names-super.js Reland2 [super] Store home object in Context instead of JSFunction 2021-01-29 09:19:23 +00:00
computed-property-names.js
dataview-length.js
default-parameters-destructuring.js Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
default-parameters.js Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
destructuring-assignment-lazy.js
destructuring-assignment.js
destructuring-parameters-literalcount-nolazy.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
destructuring-parameters-literalcount.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
destructuring.js
empty-for.js
for-each-in-catch.js
for-of.js
function-length-configurable.js
function-name-configurable.js
function-name.js Install class "name" accessor before methods 2021-06-23 18:05:30 +00:00
function-prototype-name.js
generator-destructuring.js Remove per-parameter position var scope 2019-12-19 10:38:00 +00:00
generators-iteration.js
generators-objects.js
generators-parsing.js
generators-poisoned-properties.js
generators-runtime.js
generators-states.js
global-proto-proxy.js Revert "[runtime] Correctly handle global stores when global object has proxies" 2019-11-01 19:10:56 +00:00
hasinstance-symbol.js
home-object-in-context.js Reland2 [super] Store home object in Context instead of JSFunction 2021-01-29 09:19:23 +00:00
indexed-integer-exotics.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
instanceof-proxies.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
instanceof.js
iteration-semantics.js
iteration-syntax.js
iterator-close.js Update iterator close to new spec 2019-06-06 19:18:45 +00:00
iterator-eager-deopt.js Revert "Extend GetIterator bytecode to perform JSReceiver check on object[Symbol.iterator]()" 2019-12-20 14:56:02 +00:00
iterator-lazy-deopt.js Revert "Extend GetIterator bytecode to perform JSReceiver check on object[Symbol.iterator]()" 2019-12-20 14:56:02 +00:00
iterator-prototype.js
json.js
large-classes-methods.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
large-classes-properties.js [test][cleanup] Revive --time, speed up some tests 2019-09-16 11:24:11 +00:00
large-classes-static-methods.js Reland [cleanup][test] split es6/classes.js into different tests 2019-07-23 09:13:26 +00:00
map-constructor-entry-side-effect2.js Reland "[compiler] Fix a few test flakes and reenable the tests" 2021-09-20 18:16:06 +00:00
map-constructor-entry-side-effect3.js Add option to allocate feedback vector based on bytecode size 2021-01-27 16:36:28 +00:00
map-constructor-entry-side-effect4.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
map-constructor-entry-side-effect.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
map-iterator-1.js
map-iterator-2.js
map-iterator-3.js
map-iterator-4.js
map-iterator-5.js
map-iterator-6.js
map-iterator-7.js
map-iterator-8.js Reland "[runtime] Fix protector invalidation" 2019-07-19 13:32:25 +00:00
map-iterator-9.js Reland "[runtime] Fix protector invalidation" 2019-07-19 13:32:25 +00:00
map-iterator-10.js
map-iterator-11.js
map-minus-zero.js
math-cbrt.js
math-clz32.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
math-expm1.js
math-fround.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
math-hyperbolic.js
math-hypot.js
math-log1p.js
math-log2-log10.js
math-sign.js
math-trunc.js [cleanup] Add missing %PrepareFunctionForOptimize in mjsunit tests 2019-06-14 15:54:35 +00:00
math.js
method-name-eval-arguments.js
microtask-delivery.js
new-target.js Reland "Reland "Let all early errors be SyntaxErrors."" 2019-07-08 10:15:46 +00:00
numeric-literals.js
object-assign.js [runtime] Don't normalize JSGlobalProxy 2020-10-22 16:02:06 +00:00
object-literals-method.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
object-literals-property-shorthand.js
object-literals-super.js Reland2 [super] Store home object in Context instead of JSFunction 2021-01-29 09:19:23 +00:00
object-tostring.js
pattern-brand-check.js
promise-all-overflow-1.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-all-overflow-2.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-all-resolve-not-callable.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-all.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-allsettled-resolve-not-callable.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-internal-setter.js
promise-lookup-getter-setter.js
promise-race-resolve-not-callable.js [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
promise-resolve-thenable-job.js
promise-species.js
promise-thenable-proxy.js
promises.js [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
prototype-ordinary-objects.js
proxies-accesschecks.js
proxies-apply.js
proxies-bind.js
proxies-construct.js
proxies-constructor.js Allow Proxy constructor to take revoked Proxies as targets and handlers 2020-04-24 19:16:21 +00:00
proxies-cross-realm-exception.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
proxies-define-property.js
proxies-delete-property.js
proxies-example-membrane.js
proxies-for.js
proxies-function.js [interpreter] Remove %_Call 2021-06-17 15:16:41 +00:00
proxies-get-own-property-descriptor.js Implement spec change in some Proxy traps 2019-05-27 05:04:19 +00:00
proxies-get-prototype-of.js
proxies-get.js
proxies-global-reference.js
proxies-has-own-property.js
proxies-has.js
proxies-hash.js
proxies-integrity.js
proxies-is-extensible.js
proxies-json.js
proxies-keys.js
proxies-object-assign.js
proxies-ownkeys-clone.js
proxies-ownkeys.js
proxies-prevent-extensions.js Object.preventExtensions should return object even if object is proxy. 2019-06-26 15:36:34 +00:00
proxies-property-is-enumerable.js
proxies-prototype-handler-stackoverflow.js
proxies-prototype-target-stackoverflow.js
proxies-revocable.js Allow Proxy constructor to take revoked Proxies as targets and handlers 2020-04-24 19:16:21 +00:00
proxies-set-prototype-of.js
proxies-set.js
proxies-with-unscopables.js
proxies-with.js
proxies.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
proxy-function-tostring.js
reflect-apply.js
reflect-construct.js [flags] Remove --harmony-promise-any 2020-11-12 01:09:38 +00:00
reflect-define-property.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
reflect-get-own-property-descriptor.js
reflect-get-prototype-of.js
reflect-own-keys.js
reflect-prevent-extensions.js
reflect-set-prototype-of.js
reflect.js
regexp-constructor.js
regexp-flags.js
regexp-match-lastindex.js
regexp-prototype.js
regexp-replace-lastindex.js
regexp-sticky.js
regexp-tolength.js
regexp-tostring.js
rest-params-lazy-parsing.js
rest-params.js
set-iterator-1.js
set-iterator-2.js
set-iterator-3.js
set-iterator-4.js
set-iterator-5.js
set-iterator-6.js
set-iterator-7.js
set-iterator-8.js Reland "[runtime] Fix protector invalidation" 2019-07-19 13:32:25 +00:00
set-iterator-9.js Reland "[runtime] Fix protector invalidation" 2019-07-19 13:32:25 +00:00
set-iterator-10.js
set-iterator-11.js
set-minus-zero.js
sloppy-no-duplicate-generators.js
sloppy-restrictive-block-function.js
species.js
spread-array-misc.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
spread-array-mutated-prototype.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
spread-array-pristine-prototype.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
spread-array-prototype-proxy.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
spread-array-prototype-setter1.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
spread-array-prototype-setter2.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
spread-call-new-class.js
spread-call-new.js
spread-call-super-property.js
spread-call.js [Test] Add %PrepareForOptimization in tests 2019-04-30 14:18:22 +00:00
string-codepointat.js
string-endswith.js
string-fromcodepoint.js
string-html.js
string-includes.js
string-iterator2.js
string-iterator3.js
string-iterator4.js
string-iterator5.js
string-iterator6.js
string-iterator7.js
string-iterator8.js
string-iterator.js
string-match.js
string-raw.js
string-repeat.js
string-replace.js
string-search.js
string-split.js
string-startswith.js
super-ic-opt-dynamic-map-checks.js [compiler] Rename --turboprop-dynamic-map-checks 2020-11-18 15:52:55 +00:00
super-ic-opt-no-turboprop.js [dict-proto] TF support for constants in dictionary mode protos, pt. 4 2021-03-31 14:53:45 +00:00
super-ic-opt.js [dict-proto] TF support for constants in dictionary mode protos, pt. 4 2021-03-31 14:53:45 +00:00
super-ic.js [super ic] Fix receiver type 2020-10-20 09:05:24 +00:00
super-with-spread-modify-array-iterator.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
super-with-spread-modify-next.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
super-with-spread.js [Test] Add %PrepareForOptimization in tests 2019-05-02 09:43:17 +00:00
super.js
symbols.js Check that function was prepared before optimizing using manually 2019-07-11 14:57:49 +00:00
templates.js Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
throw-type-error-function-restrictions.js Fix "name" property of %ThrowTypeError% to be spec-conformant 2020-08-18 19:36:53 +00:00
typed-array-iterator.js
typedarray-construct-by-array-like-prototype-element-added.js
typedarray-construct-by-array-like.js [builtins] Allow 2Gb TypedArrays on 64-bit architectures 2019-11-11 21:42:56 +00:00
typedarray-construct-by-buffer-ordering.js
typedarray-construct-offset-not-smi.js
typedarray-copywithin.js
typedarray-detached.js [builtins] TypedArray.prototype.set with number 2021-09-02 00:06:23 +00:00
typedarray-every.js [builtins] typed array detaching in builtin iterations 2021-08-31 21:32:17 +00:00
typedarray-fill.js
typedarray-filter.js [builtins] typed array detaching in builtin iterations 2021-08-31 21:32:17 +00:00
typedarray-find.js
typedarray-findindex.js
typedarray-foreach.js [builtins] typed array detaching in builtin iterations 2021-08-31 21:32:17 +00:00
typedarray-from-detached-typedarray.js
typedarray-from-next-overridden.js
typedarray-from-nonfunction-iterator.js
typedarray-from-optional-arguments.js [builtins] Fix optional arguments for %TypedArray%.from 2020-04-28 16:32:25 +00:00
typedarray-from.js
typedarray-indexing.js
typedarray-iteration.js
typedarray-keyedstore-tonumber.js
typedarray-map.js
typedarray-of.js
typedarray-proto.js
typedarray-reduce.js
typedarray-reverse.js
typedarray-set-bytelength-not-smi.js
typedarray-set-length-internal.js
typedarray-set-length.js
typedarray-slice.js
typedarray-sort.js
typedarray-species.js
typedarray-tostring.js [arraybuffer] Uncomment test/mjsunit/harmony/sharedarraybuffer.js 2019-04-30 18:36:28 +00:00
typedarray.js [builtins] TypedArray.prototype.set with number 2021-09-02 00:06:23 +00:00
unicode-character-ranges.js
unicode-escapes-in-regexps.js
unicode-escapes.js
unicode-regexp-backrefs.js
unicode-regexp-ignore-case-noi18n.js [regexp] Assign proper flags to TextNode 2020-09-24 08:51:15 +00:00
unicode-regexp-ignore-case.js
unicode-regexp-last-index.js
unicode-regexp-restricted-syntax.js
unicode-regexp-unanchored-advance.js
unicode-regexp-zero-length.js
unscopables.js [Respect] Rename lists 2020-06-22 15:15:31 +00:00