v8/test/mjsunit/harmony
mvstanton deb7d5b090 ES6: Desugaring of instanceof to support @@hasInstance
This is a rework of the instanceof operator to support ES6 semantics
(as per section 12.10.4 of the spec:
https://tc39.github.io/ecma262/#sec-instanceofoperator).

It's behind flag --harmony-instanceof for now, which is turned on for staging.

BUG=v8:4447
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#34170}
2016-02-19 19:20:38 +00:00
..
regress Fix bug with spread rewriting 2016-01-21 12:16:20 +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
block-conflicts-sloppy.js
block-const-assign-sloppy.js
block-eval-var-over-let.js
block-for-sloppy.js Remove flags for ES2015 features shipped in M48 2016-02-03 20:51:46 +00:00
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
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
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
destructuring-parameters-literalcount.js
destructuring.js [es6] Implement for-of iterator finalization 2016-02-18 10:49:55 +00:00
do-expressions.js Remove flags for ES2015 features shipped in M48 2016-02-03 20:51:46 +00:00
function-name.js Don't reflect ES2015 Function name inference in Function.prototype.toString 2016-02-19 02:51:10 +00:00
function-sent.js [generators] Implement Generator.prototype.return. 2016-02-04 17:14:15 +00:00
futex.js
generators.js [es6] Implement for-of iterator finalization 2016-02-18 10:49:55 +00:00
instanceof-es6.js ES6: Desugaring of instanceof to support @@hasInstance 2016-02-19 19:20:38 +00:00
iterator-close.js [es6] Implement for-of iterator finalization 2016-02-18 10:49:55 +00:00
module-linking.js
module-parsing-eval.js
module-recompile.js
module-resolution.js
modules.js
object-entries.js reland [es7] refactor and fix Object.values() / Object.entries() 2016-02-08 14:11:05 +00:00
object-get-own-property-descriptors.js [esnext] implement Object.getOwnPropertyDescriptors() proposal 2016-02-04 21:56:24 +00:00
object-values.js reland [es7] refactor and fix Object.values() / Object.entries() 2016-02-08 14:11:05 +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
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
proxies-bind.js [proxies] Correctly handle proxies in Function.prototype.bind 2015-12-17 09:07:57 +00:00
proxies-construct.js
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-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
proxies-for.js [tests] Fix bogus uses of assertThrows. 2016-01-07 14:49:21 +00:00
proxies-function.js
proxies-get-own-property-descriptor.js
proxies-get-prototype-of.js
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-integrity.js
proxies-is-extensible.js
proxies-json.js [proxies] Make Array.prototype.concat work correctly with proxies. 2015-12-16 14:17:25 +00:00
proxies-keys.js
proxies-object-assign.js Move Object.assign implementation to C++ 2015-12-11 14:10:55 +00:00
proxies-ownkeys.js [proxies] allow duplicate keys for [[OwnPropertyKeys]] trap. 2016-02-04 17:55:35 +00:00
proxies-prevent-extensions.js
proxies-property-is-enumerable.js
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-set-prototype-of.js [proxies] Implement spec change to consistency check in [[SetPrototypeOf]]. 2016-02-10 08:07:40 +00:00
proxies-set.js
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
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
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
reflect-prevent-extensions.js
reflect-set-prototype-of.js
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
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 [builtins] Support SameValue and SameValueZero via runtime functions. 2016-02-17 10:54:25 +00:00
species.js Add a --harmony-species flag, defining @@species on constructors 2016-01-04 19:39:59 +00:00
string-match.js
string-replace.js Separate String.prototype.replace into RegExp.prototype[Symbol.replace] 2016-01-19 17:33:44 +00:00
string-split.js
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] fix off-by-one in UnicodeRangeSplitter. 2016-02-09 09:10:31 +00:00
unicode-escapes-in-regexps.js [regexp] parse RegExpUnicodeEscapeSequence according to spec. 2016-02-11 12:29:29 +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 Revert of [regexp] implement /ui to mirror the implementation for /i. (patchset #2 id:20001 of https://codereview.chromium.org/1641613002/ ) 2016-02-02 11:44:45 +00:00
unicode-regexp-ignore-case.js Revert of [regexp] implement /ui to mirror the implementation for /i. (patchset #2 id:20001 of https://codereview.chromium.org/1641613002/ ) 2016-02-02 11:44:45 +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-property-class.js [regexp] experimental implementation for \p property class. 2016-02-10 16:24:05 +00:00
unicode-regexp-restricted-syntax.js [regexp] parse RegExpUnicodeEscapeSequence according to spec. 2016-02-11 12:29:29 +00:00
unicode-regexp-unanchored-advance.js [regexp] simplify unanchored advance for unicode regexps. 2016-02-09 09:11:24 +00:00
unicode-regexp-zero-length.js [regexp] fix zero-length matches for RegExp.prototype.@@split. 2016-02-03 14:49:07 +00:00