v8/test/mjsunit/harmony
verwaest 970a7ad758 Fix Reflect.construct wrt proxy, generator, and non-subclass new.target
This makes sure that proxy + Function/Array works
Makes sure that new.target can be a generator
Makes sure that if new.target is not a subclass, but does not have a prototype, that we'll get that same prototype back the next time we look at new.target.prototype.

BUG=v8:1543, v8:3330, v8:3931
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#32382}
2015-11-27 21:44:48 +00:00
..
proxy [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
regress Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
array-concat.js Guard @@isConcatSpreadable behind a flag 2015-07-08 21:49:58 +00:00
array-includes-to-object-sloppy.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
array-includes-to-object-strict.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
array-includes.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
arrow-rest-params-lazy-parsing.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
arrow-rest-params.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
atomics.js Support SAB atomics for offset-TypedArray 2015-11-18 00:19:54 +00:00
block-conflicts-sloppy.js Add class to existing lexical scoping tests 2015-08-12 18:43:06 +00:00
block-const-assign-sloppy.js Delete --harmony-computed-property-names flag 2015-08-05 21:32:38 +00:00
block-eval-var-over-legacy-const.js Fix harmony sloppy block scoping dynamic redeclaration check 2015-11-13 21:04:15 +00:00
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 [es6] Implement completion value reform (--harmony-completion). 2015-10-08 13:57:04 +00:00
block-lazy-compile.js Preliminary code for block scopes and block contexts. 2011-08-11 16:29:28 +00:00
block-leave-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-let-contextual-sloppy.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
block-let-crankshaft-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-let-declaration-sloppy.js Add class to existing lexical scoping tests 2015-08-12 18:43:06 +00:00
block-let-semantics-sloppy.js Implement sloppy-mode block-defined functions (Annex B 3.3) 2015-09-21 04:31:09 +00:00
block-scope-class.js Split function block scoping into a separate flag 2015-08-12 00:00:01 +00:00
block-scoping-sloppy.js [turbofan] Initial support for monomorphic/polymorphic property loads. 2015-10-19 05:24:51 +00:00
block-scoping-top-level-sloppy.js Split off a separate --harmony_sloppy_let flag 2015-07-25 00:05:18 +00:00
block-sloppy-function.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
classes-derived-return-type.js [es6] Fix return checking in derived constructors 2015-04-28 16:09:30 +00:00
completion.js [es6] Implement completion value reform (--harmony-completion). 2015-10-08 13:57:04 +00:00
dataview-accessors.js Fix data view accessors to throw execptions on offsets bigger than size_t. 2013-11-18 15:16:22 +00:00
default-parameters-debug.js [es6] Implement default parameters 2015-08-17 12:02:08 +00:00
default-parameters-destructuring.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
default-parameters.js Split default parameters that require destructuring into their own file 2015-11-06 15:49:01 +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 Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
do-expressions.js Rename destructuring flag to "--harmony-destructuring-bind" 2015-11-18 23:30:09 +00:00
futex.js Support offset-TypedArray in futex API 2015-11-20 11:40:00 +00:00
module-linking.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
module-parsing-eval.js Enable compiling mjsunit tests as ES6 modules 2015-02-10 19:11:55 +00:00
module-recompile.js Implement proper module linking. 2012-07-09 08:59:03 +00:00
module-resolution.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
modules.js Enable compiling mjsunit tests as ES6 modules 2015-02-10 19:11:55 +00:00
private.js Update to ES2015 == semantics for Symbol/SIMD wrappers 2015-10-27 20:20:24 +00:00
proxies-define-property.js [proxies] Update Object.defineProperty/ies for JSProxies 2015-11-19 09:21:46 +00:00
proxies-delete-property.js [proxies] Implement [[Delete]]. 2015-11-26 09:34:28 +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 [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +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-hash.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies-is-extensible.js [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. 2015-11-24 14:16:24 +00:00
proxies-json.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies-prevent-extensions.js [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. 2015-11-24 14:16:24 +00:00
proxies-symbols.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies-with-unscopables.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies-with.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
proxies.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
reflect-apply.js [es6] implement Reflect.apply() & Reflect.construct() 2015-03-19 14:47:27 +00:00
reflect-construct.js Fix Reflect.construct wrt proxy, generator, and non-subclass new.target 2015-11-27 21:44:48 +00:00
reflect-define-property.js [es6] Partially implement Reflect.defineProperty. 2015-10-29 15:39:49 +00:00
reflect-enumerate-delete.js [es6] Implement Reflect.enumerate. 2015-10-15 12:59:37 +00:00
reflect-enumerate-opt.js [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap 2015-11-13 14:14:07 +00:00
reflect-enumerate-special-cases.js [es6] Implement Reflect.enumerate. 2015-10-15 12:59:37 +00:00
reflect-enumerate.js [es6] Implement Reflect.enumerate. 2015-10-15 12:59:37 +00:00
reflect-get-own-property-descriptor.js [es6] Partially implement Reflect.getOwnPropertyDescriptor. 2015-10-30 10:05:03 +00:00
reflect-get-prototype-of.js [es6] Partially implement Reflect.getPrototypeOf. 2015-10-21 15:45:24 +00:00
reflect-own-keys.js [es6] Partially implement Reflect.ownKeys. 2015-11-18 00:52:50 +00:00
reflect-prevent-extensions.js [es6] Partially implement Reflect.preventExtensions. 2015-10-21 09:23:47 +00:00
reflect-set-prototype-of.js Fix corner-case behavior of JSObject::SetPrototype. 2015-10-23 14:52:26 +00:00
reflect.js [es6] Partially implement Reflect.ownKeys. 2015-11-18 00:52:50 +00:00
regexp-flags.js Split --harmony-unicode and --harmony-unicode-regexps. 2015-02-05 14:17:09 +00:00
regexp-lookbehind.js Experimental support for RegExp lookbehind. 2015-11-17 13:33:34 +00:00
regexp-sticky.js RegExp: Fix update of lastIndex on non-global sticky 2015-10-06 21:24:12 +00:00
rest-params-lazy-parsing.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
rest-params.js [es6] Re-implement rest parameters via desugaring. 2015-09-02 21:11:05 +00:00
set-prototype-of.js Fix corner-case behavior of JSObject::SetPrototype. 2015-10-23 14:52:26 +00:00
sharedarraybuffer.js Revert of Add %TypedArray% to proto chain (patchset #6 id:100001 of https://codereview.chromium.org/1186733002/) 2015-06-17 09:05:51 +00:00
simd.js Update to ES2015 == semantics for Symbol/SIMD wrappers 2015-10-27 20:20:24 +00:00
string-match.js [es6] Implement @@match subclassing. 2015-11-24 13:57:31 +00:00
string-split.js [es6] Implement @@split subclassing. 2015-11-10 07:00:44 +00:00
to-length.js [runtime] Implement %_ToLength via ToLengthStub. 2015-10-19 08:35:18 +00:00
to-name.js [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. 2015-08-31 12:53:10 +00:00
to-number.js [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. 2015-08-31 12:53:10 +00:00
to-primitive.js [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. 2015-08-31 12:53:10 +00:00
to-string.js [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. 2015-08-31 12:53:10 +00:00
typed-array-includes.js Add includes method to typed arrays 2015-08-11 17:55:24 +00:00
unicode-escapes-in-regexps.js Split --harmony-unicode and --harmony-unicode-regexps. 2015-02-05 14:17:09 +00:00