v8/test/mjsunit/harmony
neis e2466bb5ff Implement the function.sent proposal.
The body of a generator function can now refer to the generator's input value via a new
"function.sent" expression.  We extend the proposal at
https://github.com/allenwb/ESideas/blob/master/Generator%20metaproperty.md
in the obvious way to also apply to GeneratorResumeAbrupt.
This will enable us to desugar yield*.

The new syntax is behind a new --harmony-function-sent flag.

BUG=v8:4700
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#33574}
2016-01-28 08:54:51 +00:00
..
regress Fix bug with spread rewriting 2016-01-21 12:16:20 +00:00
array-concat.js [proxies] Make Array.prototype.concat work correctly with proxies. 2015-12-16 14:17:25 +00:00
array-species.js Support @@species in Array.prototype.concat 2016-01-26 06:33:25 +00:00
arraybuffer-species.js TypedArray and ArrayBuffer support for @@species 2016-01-12 06:07:59 +00:00
atomics.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
block-conflicts-sloppy.js
block-const-assign-sloppy.js
block-eval-var-over-let.js Fix harmony sloppy block scoping dynamic redeclaration check 2015-11-13 21:04:15 +00:00
block-for-sloppy.js
block-lazy-compile.js
block-leave-sloppy.js
block-let-crankshaft-sloppy.js
block-let-declaration-sloppy.js
block-let-semantics-sloppy.js
block-scoping-sloppy.js
block-scoping-top-level-sloppy.js
block-sloppy-function.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
completion.js
dataview-accessors.js
debug-step-destructuring-assignment.js [debugger] step on every assignment in a destructuring assignment. 2015-12-22 08:21:33 +00:00
debug-step-destructuring-bind.js [debugger] step on every assignment in destructuring bind. 2015-12-22 13:29:33 +00:00
debug-stepin-default-parameters.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
debug-stepin-proxies.js [debugger] remove step count parameter from prepare step. 2015-12-16 08:39:54 +00:00
default-parameters-debug.js
default-parameters-destructuring.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
default-parameters.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
destructuring-assignment-lazy.js [es6] use correct --harmony-destructuring-assignment flag when preparsing 2015-12-21 20:13:46 +00:00
destructuring-assignment.js [es6] support AssignmentPattern as LHS in for-in/of loops 2015-12-11 19:39:40 +00:00
destructuring-parameters-literalcount-nolazy.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
destructuring-parameters-literalcount.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
destructuring.js Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
do-expressions.js [parser] fix null-dereference in DoExpression rewriting 2016-01-12 19:54:12 +00:00
function-name.js Add ES2015 Function.name support to pattern and default parameter initializers 2016-01-27 19:13:20 +00:00
function-sent.js Implement the function.sent proposal. 2016-01-28 08:54:51 +00:00
futex.js Support offset-TypedArray in futex API 2015-11-20 11:40:00 +00:00
module-linking.js
module-parsing-eval.js
module-recompile.js
module-resolution.js
modules.js
object-entries.js [es7] implement Object.values() / Object.entries() proposal 2016-01-22 03:12:56 +00:00
object-values.js [es7] implement Object.values() / Object.entries() proposal 2016-01-22 03:12:56 +00:00
private-symbols.js Do not leak private property names to proxy traps and interceptors. 2016-01-11 16:47:30 +00:00
private.js Update to ES2015 == semantics for Symbol/SIMD wrappers 2015-10-27 20:20:24 +00:00
promise-species.js Add @@species/better subclassing support to Promises 2016-01-12 06:33:15 +00:00
proxies-accesschecks.js [proxies] Fix JSObject::AllCanRead for Proxies on the prototype chain 2015-12-11 15:51:46 +00:00
proxies-apply.js [runtime] [proxy] Implementing [[Call]] 2015-12-08 16:05:09 +00:00
proxies-bind.js [proxies] Correctly handle proxies in Function.prototype.bind 2015-12-17 09:07:57 +00:00
proxies-construct.js [runtime] [proxy] implement [[Construct]] 2015-12-09 14:55:33 +00:00
proxies-cross-realm-exception.js [proxies] fix access issue when having proxies on the prototype-chain of global objects. 2015-12-16 14:31:39 +00:00
proxies-define-property.js [runtime] [proxies] adding tests for uncovered branches 2015-12-10 15:35:15 +00:00
proxies-delete-property.js [proxies] Implement [[Delete]]. 2015-11-26 09:34:28 +00:00
proxies-enumerate.js [proxy] fixing for-in for proxies, fixing harmony/proxy.js tests, improving error messages and some drive-by fixes 2015-12-11 14:56:00 +00:00
proxies-example-membrane.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies-for.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
proxies-function.js [proxies] Remove "fix" functionality, add (still unused) target property. 2015-11-12 22:12:06 +00:00
proxies-get-own-property-descriptor.js [proxies] Wire up Object.getOwnPropertyDescriptor 2015-11-17 13:08:51 +00:00
proxies-get-prototype-of.js Reland of [proxies] Make Object.prototype.isPrototypeOf work with proxies. (patchset #1 id:1 of https://codereview.chromium.org/1494283002/ ) 2015-12-04 06:39:16 +00:00
proxies-get.js [proxies] Add missing condition to GetProperty consistency check. 2015-12-14 12:49:59 +00:00
proxies-global-reference.js Throw TypeError when reading global references through a JSProxy 2015-12-17 14:37:41 +00:00
proxies-has-own-property.js [proxies] Fix Object.prototype.hasOwnProperty 2015-12-17 12:12:10 +00:00
proxies-has.js [proxies] Fix bogus cast in HasOwnPropertyImplementation 2015-12-16 11:42:47 +00:00
proxies-hash.js [proxies] Make Object.{freeze,seal} behave correctly for proxies. 2015-12-07 11:01:35 +00:00
proxies-integrity.js [proxies] Make Object.{isFrozen,isSealed} behave correctly for proxies. 2015-12-07 15:36:14 +00:00
proxies-is-extensible.js [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. 2015-11-24 14:16:24 +00:00
proxies-json.js [proxies] Make Array.prototype.concat work correctly with proxies. 2015-12-16 14:17:25 +00:00
proxies-keys.js [proxies] Implement Symbol/DONT_ENUM filtering for GetKeys() 2015-12-02 10:19:59 +00:00
proxies-object-assign.js Move Object.assign implementation to C++ 2015-12-11 14:10:55 +00:00
proxies-ownkeys.js [proxies] Fix HasProperty and getOwnPropertySymbols 2015-12-09 09:41:12 +00:00
proxies-prevent-extensions.js [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. 2015-11-24 14:16:24 +00:00
proxies-property-is-enumerable.js [runtime] [proxy] Fix Object.prototype.PropertyIsEnumerable to support 2015-12-01 17:12:08 +00:00
proxies-prototype-handler-stackoverflow.js [proxies] Check for stack overflow in Proxy internal methods 2015-12-15 17:23:44 +00:00
proxies-prototype-target-stackoverflow.js [proxies] Check for stack overflow in Proxy internal methods 2015-12-15 17:23:44 +00:00
proxies-revocable.js [proxies] Implement Proxy.revocable. 2015-12-04 10:56:01 +00:00
proxies-set-prototype-of.js [runtime] [proxies] adding tests for uncovered branches 2015-12-10 15:35:15 +00:00
proxies-set.js [proxies] Implement [[Set]]. 2015-12-01 12:27:09 +00:00
proxies-with-unscopables.js [proxies] [tests] Un-skip proxies-with-unscopables, delete proxies-symbols 2015-12-14 16:37:53 +00:00
proxies-with.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
proxies.js [proxies] Adapt and reenable remaining tests in proxies.js 2016-01-08 14:57:02 +00:00
reflect-apply.js
reflect-construct.js Make generators non-constructable. 2016-01-18 13:11:06 +00:00
reflect-define-property.js [es6] Partially implement Reflect.defineProperty. 2015-10-29 15:39:49 +00:00
reflect-enumerate-delete.js
reflect-enumerate-opt.js [for-in] Further refactorings and unification around for-in. 2016-01-25 10:30:18 +00:00
reflect-enumerate-special-cases.js
reflect-enumerate.js
reflect-get-own-property-descriptor.js [es6] Partially implement Reflect.getOwnPropertyDescriptor. 2015-10-30 10:05:03 +00:00
reflect-get-prototype-of.js Reland of Use ES2015-style TypedArray prototype chain (patchset #1 id:1 of https://codereview.chromium.org/1554523002/ ) 2015-12-30 22:14:16 +00:00
reflect-own-keys.js [es6] Partially implement Reflect.ownKeys. 2015-11-18 00:52:50 +00:00
reflect-prevent-extensions.js
reflect-set-prototype-of.js Fix corner-case behavior of JSObject::SetPrototype. 2015-10-23 14:52:26 +00:00
reflect.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
regexp-flags.js
regexp-lookbehind.js [regexp] break recursion in mutually recursive capture/back references. 2015-12-16 06:58:58 +00:00
regexp-sticky.js
set-prototype-of.js Fix corner-case behavior of JSObject::SetPrototype. 2015-10-23 14:52:26 +00:00
sharedarraybuffer.js Reland of Use ES2015-style TypedArray prototype chain (patchset #1 id:1 of https://codereview.chromium.org/1554523002/ ) 2015-12-30 22:14:16 +00:00
simd.js [es6] correctly handle object wrappers in JSON.stringify. 2015-12-02 08:44:03 +00:00
species.js Add a --harmony-species flag, defining @@species on constructors 2016-01-04 19:39:59 +00:00
string-match.js [es6] Implement @@match subclassing. 2015-11-24 13:57:31 +00:00
string-replace.js Separate String.prototype.replace into RegExp.prototype[Symbol.replace] 2016-01-19 17:33:44 +00:00
string-split.js [es6] Implement @@split subclassing. 2015-11-10 07:00:44 +00:00
to-length.js
to-name.js
to-number.js
to-primitive.js
to-string.js
typedarray-species.js TypedArray and ArrayBuffer support for @@species 2016-01-12 06:07:59 +00:00
unicode-character-ranges.js [regexp] implement character classes for unicode regexps. 2016-01-21 13:33:26 +00:00
unicode-escapes-in-regexps.js [regexp] implement character classes for unicode regexps. 2016-01-21 13:33:26 +00:00
unicode-regexp-backrefs.js [regexp] back refs must not start/end in the middle of a surrogate pair 2016-01-27 10:51:30 +00:00
unicode-regexp-ignore-case-noi18n.js [regexp] implement case-insensitive unicode regexps. 2016-01-27 08:25:38 +00:00
unicode-regexp-ignore-case.js [regexp] character class for desugaring cannot be part of RegExpText. 2016-01-27 11:07:07 +00:00
unicode-regexp-last-index.js [regexp] step back if starting unicode regexp within surrogate pair. 2016-01-25 10:46:11 +00:00
unicode-regexp-zero-length.js [regexp] correctly advance zero length matches for global/unicode. 2016-01-27 13:09:04 +00:00