Stage ES6 Array and TypedArray methods
authoradamk <adamk@chromium.org>
Thu, 4 Jun 2015 20:08:27 +0000 (13:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Jun 2015 20:08:37 +0000 (20:08 +0000)
Also stages ES6 @@isConcatSpreadable support.

BUG=v8:3578
LOG=y

Review URL: https://codereview.chromium.org/1148983006

Cr-Commit-Position: refs/heads/master@{#28805}

src/flag-definitions.h
test/test262-es6/test262-es6.status

index 46efe32b31287e1cdd95e0acfbbdf8e788a7b005..dba34eafe7544addfbc1d1c8ae09328d8eefafa6 100644 (file)
@@ -184,7 +184,6 @@ DEFINE_IMPLICATION(es_staging, harmony)
 // Features that are still work in progress (behind individual flags).
 #define HARMONY_INPROGRESS(V)                                   \
   V(harmony_modules, "harmony modules")                         \
-  V(harmony_arrays, "harmony array methods")                    \
   V(harmony_array_includes, "harmony Array.prototype.includes") \
   V(harmony_regexps, "harmony regular expression extensions")   \
   V(harmony_arrow_functions, "harmony arrow functions")         \
@@ -198,13 +197,13 @@ DEFINE_IMPLICATION(es_staging, harmony)
 
 // Features that are complete (but still behind --harmony/es-staging flag).
 #define HARMONY_STAGED(V)                                      \
+  V(harmony_arrays, "harmony array methods")                   \
   V(harmony_rest_parameters, "harmony rest parameters")        \
   V(harmony_spreadcalls, "harmony spread-calls")               \
   V(harmony_object, "harmony Object methods")                  \
   V(harmony_spread_arrays, "harmony spread in array literals") \
   V(harmony_tostring, "harmony toString")
 
-
 // Features that are shipping (turned on by default, but internal flag remains).
 #define HARMONY_SHIPPING(V)                                                \
   V(harmony_classes, "harmony classes (implies object literal extension)") \
index 31bb60bd220acde8f64b2fed1ed2e76792b9a05e..f6b16ec38de8bbfd03d7d43eb72e8cee4f46d04c 100644 (file)
   # https://code.google.com/p/v8/issues/detail?id=705
   'language/statements/for-in/12.6.4-2': [PASS, FAIL_OK],
 
-  ###################### MISSING ES6 FEATURES #######################
-
-  # Array.fill (currently requires --harmony-arrays)
-  'built-ins/Array/prototype/fill/S22.1.3.6_T1': [FAIL],
-
   # Array.find (currently requires --harmony-arrays)
-  'built-ins/Array/of/S22.1.2.3_T1': [FAIL],
-  'built-ins/Array/of/S22.1.2.3_T2': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_empty-array-undefined': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_length-property': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_modify-after-start': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_non-returning-predicate': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_predicate-arguments': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_push-after-start': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_remove-after-start': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_return-found-value': [FAIL],
   'built-ins/Array/prototype/find/Array.prototype.find_skip-empty': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_this-defined': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_this-is-object': [FAIL],
   'built-ins/Array/prototype/find/Array.prototype.find_this-undefined': [FAIL],
 
-  # Array.from
-  'built-ins/Array/from/S22.1.2.1_T1': [FAIL],
-  'built-ins/Array/from/S22.1.2.1_T2': [FAIL],
+  ###################### MISSING ES6 FEATURES #######################
 
-  # Direct proxies
-  'built-ins/Array/prototype/find/Array.prototype.find_callable-predicate': [FAIL],
+  # Requires --harmony-sloppy
+  'built-ins/Array/prototype/concat/Array.prototype.concat_non-array': [FAIL],
 
   # --harmony-computed-property-names is not yet enabled
   'language/computed-property-names/class/accessor/getter': [FAIL],
   'built-ins/Array/prototype/find/Array.prototype.find_callable-Proxy-1': [FAIL],
   'built-ins/Array/prototype/find/Array.prototype.find_callable-Proxy-2': [FAIL],
   'built-ins/Array/prototype/find/Array.prototype.find_callable-arrowfunction': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_callable-forEach': [FAIL],
-  'built-ins/Array/prototype/find/Array.prototype.find_this-global': [FAIL],
   'built-ins/Array/prototype/forEach/15.4.4.18-3-12': [FAIL],
   'built-ins/Array/prototype/forEach/15.4.4.18-3-25': [FAIL],
   'built-ins/Array/prototype/forEach/15.4.4.18-3-7': [FAIL],
   'language/generators/generator.expression.implicit-name': [FAIL],
 
   # Test 262 update 2015-03-31
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-length-to-string-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-length-value-of-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-negative-length': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-primitive-non-number-length': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-string-length': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_array-like-to-length-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_holey-sloppy-arguments': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_large-typed-array': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_length-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_non-array': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_sloppy-arguments': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_sloppy-arguments-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_sloppy-arguments-with-dupes': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_small-typed-array': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-boolean-wrapper': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-function': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-getter-throws': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-number-wrapper': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-reg-exp': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-sparse-object': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-string-wrapper': [FAIL],
-  'built-ins/Array/prototype/concat/Array.prototype.concat_strict-arguments': [FAIL],
   'built-ins/Symbol/species/Symbol.species.builtin-getter-name': [FAIL],
   'built-ins/Symbol/species/Symbol.species.exists': [FAIL],
   'built-ins/Symbol/species/Symbol.species.in_Array': [FAIL],