2017-02-09 Mark Lam B3::Procedure::deleteOrphans() should neutralize upsilons with dead phis. https://bugs.webkit.org/show_bug.cgi?id=167437 Reviewed by Filip Pizlo. * stress/b3-delete-orphans-should-neutralize-upsilons-with-dead-phis.js: Added. 2017-02-09 Keith Miller We should not allow Function.caller to be used on native functions https://bugs.webkit.org/show_bug.cgi?id=165628 Reviewed by Mark Lam. * stress/caller-native-code.js: Added. (f): 2017-01-17 Michael Saboff Nested parenthesized regular expressions with non-zero minimum counts appear to hang and use lots of memory https://bugs.webkit.org/show_bug.cgi?id=167125 Reviewed by Filip Pizlo. * microbenchmarks/regexp-nested-nonzero-min-counted-parens.js: Added. New test with limits that run slow and take a reasonable amount of memory before the change and run fast, using little memory with the change. 2016-11-15 Mark Lam The jsc shell's setImpureGetterDelegate() should ensure that the set value is an ImpureGetter. https://bugs.webkit.org/show_bug.cgi?id=164781 Reviewed by Geoffrey Garen and Michael Saboff. * stress/jsc-setImpureGetterDelegate-on-bad-type.js: Added. 2016-12-06 Mark Lam Introduce the concept of Immutable Prototype Exotic Objects to comply with the spec. https://bugs.webkit.org/show_bug.cgi?id=165227 Reviewed by Saam Barati. * stress/get-from-scope-dynamic-onto-proxy.js: - Updated error message. * stress/proxy-dont-infinite-loop.js: Removed. * stress/proxy-json-path.js: Removed. * stress/rest-parameter-allocation-elimination-watchpoints-6.js: Removed. - Removed these tests because the issue they are testing relies on being able to set Object.prototype.__proto__ to something else (which is now not possible). 2016-09-27 Filip Pizlo B3::lowerMacros forgets to before->updatePredecessorsAfter() when lowering ChillMod on ARM64 https://bugs.webkit.org/show_bug.cgi?id=162644 Reviewed by Keith Miller. * stress/chill-mod-chill-mod.js: Added. (foo): 2016-09-08 Saam Barati We should inline operationConvertJSValueToBoolean into JIT code https://bugs.webkit.org/show_bug.cgi?id=161729 Reviewed by Filip Pizlo. * stress/value-to-boolean.js: Added. (assert): (test1): (test2): (test3): 2016-09-06 Saam Barati ProxyObject's structure should not have ObjectPrototype as its prototype and it should not have special behavior for intercepting "__proto__" https://bugs.webkit.org/show_bug.cgi?id=161558 Reviewed by Benjamin Poulain. * stress/proxy-get-prototype-of.js: * stress/proxy-set-prototype-of.js: (let.handler.setPrototypeOf): Deleted. * stress/proxy-underscore-proto.js: Added. (assert): 2016-09-06 Saam Barati Make JSMap and JSSet faster https://bugs.webkit.org/show_bug.cgi?id=160989 Reviewed by Filip Pizlo. * microbenchmarks/dense-set.js: Added. (bench): * microbenchmarks/large-map-iteration-with-additions.js: Added. (bar): (foo): * microbenchmarks/large-map-iteration-with-mutation.js: Added. (bar): (foo): * microbenchmarks/large-map-iteration.js: Added. (bar): (foo): * microbenchmarks/map-get-get-cse.js: Added. (bar): (foo): * microbenchmarks/map-has-get-cse-opportunity.js: Added. (bar): (foo): * microbenchmarks/sparse-set.js: Added. (bench): * stress/map-cse-correctness.js: Added. (assert): (testHas): (testGet): (foo): * stress/map-iteration.js: Added. (assert): (test1): (test2): (test3): (test4): (test5): (test6): (test7): (test8): (test9): (test10): (test11): (test12): (test13): (test14): (test15): (test16): (test17): (test18): 2016-09-06 Benjamin Poulain [JSC] Make ArithClz32 work with Cell arguments https://bugs.webkit.org/show_bug.cgi?id=161369 Reviewed by Geoffrey Garen. * stress/arith-clz32-on-various-types.js: Added. 2016-08-31 Filip Pizlo Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression https://bugs.webkit.org/show_bug.cgi?id=160125 Reviewed by Geoffrey Garen and Keith Miller. Most of the things I did properly covered by existing tests, but I found some simple cases of unshifting that had sketchy coverage. * stress/array-storage-array-unshift.js: Added. * stress/contiguous-array-unshift.js: Added. * stress/double-array-unshift.js: Added. * stress/int32-array-unshift.js: Added. 2016-09-01 JF Bastien GetByIdWithThis/GetByValWithThis should have ValueProfiles so that they can predict their result types https://bugs.webkit.org/show_bug.cgi?id=160922 Reviewed by Keith Miller. Benchmark GetBy{Id,Val}WithThis in monomorphic and polymorphic uses. The value profile is used by the calc functions, which do some mild math with the result. These benchmarks get ~4% faster with value profiling. * microbenchmarks/super-get-by-id-with-this-monomorphic.js: Added. (A): (A.prototype.set value): (A.prototype.get value): (B.prototype.set value): (B.prototype.get value): (B): (const.bench): * microbenchmarks/super-get-by-id-with-this-polymorphic.js: Added. (A): (A.prototype.set value): (A.prototype.get value): (B.prototype.set value): (B.prototype.get value): (B): (const.bench): * microbenchmarks/super-get-by-val-with-this-monomorphic.js: Added. (value): (A): (A.prototype.set v): (A.prototype.get v): (B.prototype.set v): (B.prototype.get v): (B): (const.bench): * microbenchmarks/super-get-by-val-with-this-polymorphic.js: Added. (value): (A): (A.prototype.set v): (A.prototype.get v): (B.prototype.set v): (B.prototype.get v): (B): (const.bench): 2016-09-01 Filip Pizlo ObjectAllocationSinkingPhase::insertOSRHintsForUpdate() fails to emit updated hints in some cases https://bugs.webkit.org/show_bug.cgi?id=161492 Reviewed by Mark Lam. This bug affected function->activation references but not object->object field references, because object->object field references are !neededForMaterialization(). So, the object test always passed but the activation/function test used to always fail. It passes now. * stress/materialize-activation-referenced-from-phantom-function.js: Added. (bar): (inc): (dec): (foo): (test): * stress/materialize-object-referenced-from-phantom-object.js: Added. (bar): (foo): (test): 2016-08-31 Yusuke Suzuki stress/random-53bit.js.ftl-no-cjit-no-inline-validate sometimes fails https://bugs.webkit.org/show_bug.cgi?id=161436 Reviewed by Filip Pizlo. The test checks Math.random() correctly produces 53bit random values. The test can fail by design, but this should be fairly rare. However, when introducing, we wrap the `test()` with 1e4 to ensure the FTL compilation, and this increases the failure rate. By increasing the MAX in the test, we make the failures much more rare case. And we also add getRandomSeed() and setRandomSeed(seed) JSC shell helpers to dump more useful information and reproduce the situation easily. * stress/random-53bit.js: (test): 2016-08-29 Benjamin Poulain [JSC] Improve ArithAbs with polymorphic input https://bugs.webkit.org/show_bug.cgi?id=161286 Reviewed by Saam Barati. * stress/arith-abs-on-various-types.js: Added. New tests. * stress/arith-cos-on-various-types.js: * stress/arith-fround-on-various-types.js: * stress/arith-log-on-various-types.js: * stress/arith-sin-on-various-types.js: * stress/arith-sqrt-on-various-types.js: Extend the existing tests to cover the DCE case. 2016-08-26 Benjamin Poulain [JSC] Implement CompareStrictEq(String, Untyped) in FTL https://bugs.webkit.org/show_bug.cgi?id=161229 Reviewed by Geoffrey Garen. * stress/compare-strict-eq-on-various-types.js: Added. 2016-08-26 Yusuke Suzuki [ES6] newPromiseCapabilities should check the given argument is constructor https://bugs.webkit.org/show_bug.cgi?id=161226 Reviewed by Mark Lam. The arrow function should not be a constructor. So the error should be raised. * stress/new-promise-capabilities-requires-constructor.js: Added. (shouldThrow): 2016-08-25 Benjamin Poulain [JSC] Clean up the abstract interpreter for cos/sin/sqrt/fround/log https://bugs.webkit.org/show_bug.cgi?id=161181 Reviewed by Geoffrey Garen. Extend the tests to constants. Add no-argument cases where needed. * stress/arith-cos-on-various-types.js: * stress/arith-fround-on-various-types.js: * stress/arith-log-on-various-types.js: * stress/arith-sin-on-various-types.js: * stress/arith-sqrt-on-various-types.js: 2016-08-25 Yusuke Suzuki [DFG][FTL] Implement ES6 Generators in DFG / FTL https://bugs.webkit.org/show_bug.cgi?id=152723 Reviewed by Filip Pizlo. * stress/generator-fib-ftl-and-array.js: Added. (fib): * stress/generator-fib-ftl-and-object.js: Added. (fib): * stress/generator-fib-ftl-and-string.js: Added. (fib): * stress/generator-fib-ftl.js: Added. (fib): * stress/generator-frame-empty.js: Added. (shouldThrow): (shouldThrow.fib): * stress/generator-reduced-save-point-put-to-scope.js: Added. (shouldBe): (gen): * stress/generator-transfer-register-beyond-mutiple-yields.js: Added. (shouldBe): (gen): 2016-08-25 JF Bastien TryGetById should have a ValueProfile so that it can predict its output type https://bugs.webkit.org/show_bug.cgi?id=160921 Reviewed by Saam Barati. * microbenchmarks/try-get-by-id-basic.js: Added. (const.check): (const.bench.f.const.fooPlusBar.createBuiltin): * microbenchmarks/try-get-by-id-polymorphic.js: Added. (const.check): (fooPlusBar.createBuiltin): (bench): 2016-08-25 Caio Lima NewRegexp should not prevent inlining https://bugs.webkit.org/show_bug.cgi?id=154808 Reviewed by Geoffrey Garen. Added test where functions with NewRegExp can be inlined right now. * stress/new-regex-inline.js: Added. (assert): (testRegexpInline): (toInlineGlobal): (withRegexp): (inlineRegexpNotGlobal): (toInlineRecursive): (regexpContainsRecursive): 2016-08-24 Benjamin Poulain [JSC] Make FRound work with any type https://bugs.webkit.org/show_bug.cgi?id=161129 Reviewed by Geoffrey Garen. * stress/arith-fround-on-various-types.js: Added. 2016-08-24 Filip Pizlo Unreviewed, roll out r204901, r204897, r204866, r204856, r204854. * stress/array-storage-array-unshift.js: Removed. * stress/contiguous-array-unshift.js: Removed. * stress/double-array-unshift.js: Removed. * stress/int32-array-unshift.js: Removed. 2016-08-24 Skachkov Oleksandr [ES2016] Allow assignment in for-in head in not-strict mode https://bugs.webkit.org/show_bug.cgi?id=160955 Reviewed by Saam Barati. * stress/for-in-tests.js: (foo): (boo): (catch): 2016-08-23 Benjamin Poulain [JSC] Make ArithLog works with any type https://bugs.webkit.org/show_bug.cgi?id=161110 Reviewed by Geoffrey Garen. * stress/arith-log-on-various-types.js: Added. 2016-08-23 Saam Barati JSC should have a "microbenchmarks" directory instead of "regress" directory https://bugs.webkit.org/show_bug.cgi?id=161096 Rubber stamped by Mark Lam. * microbenchmarks: Copied from LayoutTests/js/regress/script-tests. 2016-08-23 Keith Miller %TypedArray%.prototype.slice needs to check that the source and destination have not been detached. https://bugs.webkit.org/show_bug.cgi?id=161031 Reviewed by Geoffrey Garen. * stress/typedarray-slice.js: (get let): (get try): (testSpeciesWithTransferring): 2016-08-22 Filip Pizlo Butterflies should be allocated in Auxiliary MarkedSpace instead of CopiedSpace and we should rewrite as much of the GC as needed to make this not a regression https://bugs.webkit.org/show_bug.cgi?id=160125 Reviewed by Geoffrey Garen. Most of the things I did properly covered by existing tests, but I found some simple cases of unshifting that had sketchy coverage. * stress/array-storage-array-unshift.js: Added. * stress/contiguous-array-unshift.js: Added. * stress/double-array-unshift.js: Added. * stress/int32-array-unshift.js: Added. 2016-08-23 Keith Miller Update/add new test262 tests https://bugs.webkit.org/show_bug.cgi?id=161098 Reviewed by Saam Barati. * test262.yaml: * test262/test/annexB/language/statements/for-in/bare-initializer.js: Added. * test262/test/annexB/language/statements/for-in/const-initializer.js: Added. * test262/test/annexB/language/statements/for-in/let-initializer.js: Added. * test262/test/annexB/language/statements/for-in/nonstrict-initializer.js: Added. (a): * test262/test/annenxB/language/statements/for-in/strict-initializer.js: Added. * test262/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js: Added. * test262/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js: Added. * test262/test/built-ins/AsyncFunction/AsyncFunction-construct.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunction-is-extensible.js: Added. (AsyncFunction.async): * test262/test/built-ins/AsyncFunction/AsyncFunction-is-subclass.js: Added. (async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunction-length.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunction-name.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunction-prototype.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunction.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-is-extensible.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-prototype.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-to-string.js: Added. (AsyncFunction.async.foo): * test262/test/built-ins/AsyncFunction/instance-construct.js: Added. (async.foo): * test262/test/built-ins/AsyncFunction/instance-has-name.js: Added. (async.foo): * test262/test/built-ins/AsyncFunction/instance-length.js: Added. (async.l0): (async.l1): (async.l2): * test262/test/built-ins/AsyncFunction/instance-prototype-property.js: Added. (async.foo): * test262/test/built-ins/AsyncFunction/is-not-a-global.js: Added. * test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setFloat32/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setFloat32/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setFloat64/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setFloat64/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setInt16/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt16/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setInt32/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt32/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setInt8/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setInt8/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint16/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setUint32/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint32/range-check-after-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-after-toindex-byteoffset.js: Renamed from JSTests/test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-after-integer-byteoffset.js. * test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-before-outofrange-byteoffset.js: * test262/test/built-ins/DataView/prototype/setUint8/index-check-before-value-conversion.js: * test262/test/built-ins/DataView/prototype/setUint8/range-check-after-value-conversion.js: * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget-bound.js: Added. (A): * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget.js: Added. (A): * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-new.js: Added. (A): * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-reflect.js: Added. (A): * test262/test/built-ins/Function/prototype/toString/AsyncFunction.js: Added. (async.f): * test262/test/built-ins/Function/prototype/toString/async-function-declaration.js: Added. (async.f): * test262/test/built-ins/Function/prototype/toString/async-function-expression.js: Added. (let.f.async.f): * test262/test/built-ins/Function/prototype/toString/async-method.js: Added. (let.f.async.f): (let.g.async.string_appeared_here): * test262/test/built-ins/JSON/parse/reviver-array-define-prop-err.js: Added. (defineProperty): * test262/test/built-ins/JSON/parse/reviver-array-delete-err.js: Added. (deleteProperty): * test262/test/built-ins/JSON/parse/reviver-array-length-coerce-err.js: Added. (uncoercible.valueOf): (get if): * test262/test/built-ins/JSON/parse/reviver-array-length-get-err.js: Added. (get if): * test262/test/built-ins/JSON/parse/reviver-call-err.js: Added. * test262/test/built-ins/JSON/parse/reviver-get-name-err.js: Added. (thrower): * test262/test/built-ins/JSON/parse/reviver-object-define-prop-err.js: Added. (defineProperty): * test262/test/built-ins/JSON/parse/reviver-object-delete-err.js: Added. (deleteProperty): * test262/test/built-ins/JSON/parse/reviver-object-own-keys-err.js: Added. (ownKeys): * test262/test/built-ins/Number/prototype/toExponential/infinity.js: Added. * test262/test/built-ins/Number/prototype/toExponential/nan.js: Added. * test262/test/built-ins/Number/prototype/toExponential/prop-desc.js: Added. * test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits-symbol.js: Added. * test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits.js: Added. (fd1.valueOf): (fd2.toString): * test262/test/built-ins/Number/prototype/toExponential/return-values.js: Added. * test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-0.js: Added. * test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-not-0.js: Added. * test262/test/built-ins/Number/prototype/toExponential/this-type-not-number-or-number-object.js: Added. * test262/test/built-ins/Number/prototype/toExponential/tointeger-fractiondigits.js: Added. * test262/test/built-ins/Number/prototype/toExponential/undefined-fractiondigits.js: Added. * test262/test/built-ins/Object/getOwnPropertyDescriptors/duplicate-keys.js: * test262/test/built-ins/Object/getOwnPropertyDescriptors/proxy-undefined-descriptor.js: Added. (badProxyHandlers.allowProxyTraps.getOwnPropertyDescriptor): (badProxyHandlers.allowProxyTraps.ownKeys): * test262/test/built-ins/Proxy/setPrototypeOf/boolean-trap-result-extensible-target.js: Removed. (setPrototypeOf): Deleted. * test262/test/built-ins/Proxy/setPrototypeOf/internals-call-order.js: Added. (target.new.Proxy.Object.create.isExtensible): (target.new.Proxy.Object.create.getPrototypeOf): (target.new.Proxy.Object.create): (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-not-same-target-prototype.js: (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-same-target-prototype.js: (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-trap-is-false-return-false.js: Removed. (setPrototypeOf): Deleted. * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-get-trap.js: Added. * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-isextensible-target.js: Added. (isExtensible): (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-target-getprototypeof.js: Added. (getPrototypeOf): (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-trap.js: Renamed from JSTests/test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js. (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js: (setPrototypeOf): Deleted. * test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-false.js: Added. (isExtensible): (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-true-target-is-extensible.js: Added. (isExtensible): (getPrototypeOf): (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-not-callable.js: * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined-or-null.js: Added. (setPrototypeOf): * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined.js: Removed. * test262/test/built-ins/RegExp/lastIndex.js: Added. * test262/test/built-ins/RegExp/prototype/global/15.10.7.2-1.js: Removed. * test262/test/built-ins/RegExp/prototype/global/this-val-invalid-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/global/this-val-non-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/global/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-1.js: Removed. * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-invalid-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-non-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js: Removed. * test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-2.js: Removed. * test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js: Removed. (__re.hasOwnProperty): Deleted. (__re.propertyIsEnumerable): Deleted. (count.0): Deleted. * test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js: Removed. (__re.hasOwnProperty): Deleted. (catch): Deleted. * test262/test/built-ins/RegExp/prototype/multiline/15.10.7.4-1.js: Removed. * test262/test/built-ins/RegExp/prototype/multiline/this-val-invalid-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/multiline/this-val-non-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/multiline/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/no-regexp-matcher.js: Added. * test262/test/built-ins/RegExp/prototype/source/15.10.7.1-1.js: Removed. * test262/test/built-ins/RegExp/prototype/source/this-val-invalid-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/source/this-val-non-obj.js: Added. (get Object): * test262/test/built-ins/RegExp/prototype/source/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/source/value-empty.js: Added. * test262/test/built-ins/RegExp/prototype/source/value-line-terminator.js: Added. * test262/test/built-ins/RegExp/prototype/source/value-u.js: Added. * test262/test/built-ins/RegExp/prototype/source/value.js: Added. * test262/test/built-ins/RegExp/prototype/sticky/this-val-invalid-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-invalid-obj.js. * test262/test/built-ins/RegExp/prototype/sticky/this-val-non-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-non-obj.js. * test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-regexp.js. * test262/test/built-ins/RegExp/prototype/unicode/this-val-invalid-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-invald-obj.js. * test262/test/built-ins/RegExp/prototype/unicode/this-val-non-obj.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-non-obj.js. * test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp-prototype.js: Added. * test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-regexp.js. * test262/test/built-ins/String/numeric-properties.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-infinity-throws.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-nan-throws.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/formatToParts.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/length.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/main.js: Added. (reduce): (compareFTPtoFormat): * test262/test/intl402/DateTimeFormat/prototype/formatToParts/name.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/return-abrupt-tonumber-date.js: Added. (obj1.valueOf): (obj2.toString): * test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added. * test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-is-not-object-throws.js: Added. * test262/test/intl402/NumberFormat/prototype/formatToParts/formatToParts.js: Added. * test262/test/intl402/NumberFormat/prototype/formatToParts/length.js: Added. * test262/test/intl402/NumberFormat/prototype/formatToParts/main.js: Added. (reduce): (compareFTPtoFormat): * test262/test/intl402/NumberFormat/prototype/formatToParts/name.js: Added. * test262/test/intl402/NumberFormat/prototype/formatToParts/return-abrupt-tonumber.js: Added. (obj1.valueOf): (obj2.toString): * test262/test/intl402/NumberFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added. * test262/test/intl402/NumberFormat/prototype/formatToParts/this-is-not-object-throws.js: Added. * test262/test/language/arguments-object/10.6-10-c-ii-2-s.js: (foo): Deleted. * test262/test/language/arguments-object/unmapped/via-params-dflt.js: Added. (dflt): * test262/test/language/arguments-object/unmapped/via-params-dstr.js: Added. (dstr): * test262/test/language/arguments-object/unmapped/via-params-rest.js: Added. (rest): * test262/test/language/arguments-object/unmapped/via-strict.js: Renamed from JSTests/test262/test/language/arguments-object/10.6-10-c-ii-2-s.js. (foo): * test262/test/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-function-declaration-with-function-declaration.js: (f): Deleted. * test262/test/language/eval-code/direct/super-call-arrow.js: Added. (catch): * test262/test/language/eval-code/direct/super-call-fn.js: Added. (f): * test262/test/language/eval-code/direct/super-call.js: Added. (catch): * test262/test/language/eval-code/direct/super-prop-arrow.js: Added. (catch): * test262/test/language/eval-code/direct/super-prop-method.js: Added. (o.method): * test262/test/language/eval-code/direct/super-prop.js: Added. (catch): * test262/test/language/eval-code/indirect/super-call.js: Added. (catch): (try.m): * test262/test/language/eval-code/indirect/super-prop.js: Added. (catch): (try.m): * test262/test/language/expressions/arrow-function/params-trailing-comma-length.js: Added. (assert.sameValue): * test262/test/language/expressions/arrow-function/params-trailing-comma.js: Added. * test262/test/language/expressions/async-arrow-function/arrow-returns-promise.js: Added. (p.then): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js: Added. (async): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js: Added. (async.foo.super): * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js: Added. (async): * test262/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js: Added. (async): * test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js: Added. (async.arguments): * test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js: Added. (async.eval): * test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js: Added. (async.foo): * test262/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js: Added. (async.foo): * test262/test/language/expressions/async-function/expression-returns-promise.js: Added. (p.async): * test262/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js: Added. (async.foo): * test262/test/language/expressions/await/await-BindingIdentifier-in-global.js: Added. (async.await): * test262/test/language/expressions/await/await-BindingIdentifier-nested.js: Added. (async.foo.await): (async.foo): * test262/test/language/expressions/await/await-awaits-thenable-not-callable.js: Added. (async.foo): * test262/test/language/expressions/await/await-awaits-thenables-that-throw.js: Added. (thenable.then): (async.foo): * test262/test/language/expressions/await/await-awaits-thenables.js: Added. (thenable.then): (async.foo): * test262/test/language/expressions/await/await-in-function.js: Added. (foo): * test262/test/language/expressions/await/await-in-generator.js: Added. (foo): * test262/test/language/expressions/await/await-in-global.js: Added. * test262/test/language/expressions/await/await-in-nested-function.js: Added. (async.foo.bar): (async.foo): * test262/test/language/expressions/await/await-in-nested-generator.js: Added. (async.foo.bar): (async.foo): * test262/test/language/expressions/await/await-throws-rejections.js: Added. (async.foo): * test262/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js: Added. (async.foo): * test262/test/language/expressions/await/no-operand.js: Added. (async.foo): * test262/test/language/expressions/await/syntax-await-has-UnaryExpression-with-MultiplicativeExpression.js: Added. (async.foo): * test262/test/language/expressions/await/syntax-await-has-UnaryExpression.js: Added. (async.foo): * test262/test/language/expressions/call/trailing-comma.js: Added. (foo): * test262/test/language/expressions/function/arguments-with-arguments-fn.js: Added. (f): * test262/test/language/expressions/function/arguments-with-arguments-lex.js: Added. (f): * test262/test/language/expressions/function/params-trailing-comma-arguments.js: Added. (f1): (f2): * test262/test/language/expressions/function/params-trailing-comma-length.js: Added. (assert.sameValue): * test262/test/language/expressions/function/params-trailing-comma.js: Added. * test262/test/language/expressions/generators/arguments-with-arguments-fn.js: Added. (g): * test262/test/language/expressions/generators/arguments-with-arguments-lex.js: Added. (g): * test262/test/language/expressions/generators/params-trailing-comma-arguments.js: Added. (f1): (f2): * test262/test/language/expressions/generators/params-trailing-comma-length.js: Added. (assert.sameValue): * test262/test/language/expressions/generators/params-trailing-comma.js: Added. * test262/test/language/expressions/object/computed-property-evaluation-order.js: Added. * test262/test/language/expressions/object/method-definition/async-super-call-body.js: Added. (sup.method): (child.async.method): * test262/test/language/expressions/object/method-definition/async-super-call-param.js: Added. (sup.method): (child.async.method.x.super.method): * test262/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js: Added. (foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js: Added. (async.foo): * test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js: Added. (async.foo.foo.super): * test262/test/language/expressions/object/method-definition/object-method-returns-promise.js: Added. (obj.async.method): * test262/test/language/expressions/object/method-definition/params-trailing-comma-arguments.js: Added. (obj.f1): (obj.f2): * test262/test/language/expressions/object/method-definition/params-trailing-comma-length.js: Added. (obj.one): (obj.two): * test262/test/language/expressions/object/method-definition/params-trailing-comma-rest.js: Added. (m): * test262/test/language/expressions/object/method-definition/params-trailing-comma.js: Added. (one): (two): * test262/test/language/global-code/decl-func-dup.js: Renamed from JSTests/test262/test/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-function-declaration-with-function-declaration.js. (f): * test262/test/language/global-code/decl-func.js: Added. (brandNew): * test262/test/language/global-code/decl-lex-configurable-global.js: Added. * test262/test/language/global-code/decl-lex-deletion.js: Added. (test262class): * test262/test/language/global-code/decl-lex-restricted-global.js: Added. * test262/test/language/global-code/decl-lex.js: Added. (test262class): * test262/test/language/global-code/decl-var.js: Added. * test262/test/language/global-code/return.js: Added. * test262/test/language/global-code/script-decl-func-dups.js: Added. * test262/test/language/global-code/script-decl-func-err-non-configurable.js: Added. * test262/test/language/global-code/script-decl-func-err-non-extensible.js: Added. * test262/test/language/global-code/script-decl-func.js: Added. * test262/test/language/global-code/script-decl-lex-deletion.js: Added. * test262/test/language/global-code/script-decl-lex-lex.js: Added. (test262Class): * test262/test/language/global-code/script-decl-lex-restricted-global.js: Added. * test262/test/language/global-code/script-decl-lex-var.js: Added. (test262Fn): * test262/test/language/global-code/script-decl-lex.js: Added. * test262/test/language/global-code/script-decl-var-collision.js: Added. (test262Class): * test262/test/language/global-code/script-decl-var-err.js: Added. * test262/test/language/global-code/script-decl-var.js: Added. * test262/test/language/global-code/super-call-arrow.js: Added. * test262/test/language/global-code/super-call.js: Added. * test262/test/language/global-code/super-prop-arrow.js: Added. * test262/test/language/global-code/super-prop.js: Added. * test262/test/language/global-code/yield-non-strict.js: Added. (catch): * test262/test/language/global-code/yield-strict.js: Added. * test262/test/language/literals/regexp/lastIndex.js: Added. * test262/test/language/literals/regexp/u-unicode-esc-bounds.js: * test262/test/language/literals/regexp/y-assertion-start.js: Added. * test262/test/language/module-code/instn-star-err-not-found-faulty_FIXTURE.js: * test262/test/language/module-code/instn-star-err-not-found.js: * test262/test/language/module-code/namespace/internals/get-own-property-str-found-init.js: * test262/test/language/module-code/parse-err-return.js: Added. * test262/test/language/module-code/parse-err-yield.js: Added. * test262/test/language/rest-parameters/params-trailing-comma-rest.js: Added. * test262/test/language/statements/async-function/declaration-returns-promise.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-NSPL-with-USD.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-arguments-in-formal-parameters.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-await-in-formals-default.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-await-in-formals.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-arguments.js: Added. (async.arguments): * test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-eval.js: Added. (async.eval): * test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-call.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-property.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-duplicate-parameters.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-eval-in-formal-parameters.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-formals-body-duplicate.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-call.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-property.js: Added. (async.foo): * test262/test/language/statements/async-function/early-errors-no-async-generator.js: Added. (async.foo): * test262/test/language/statements/async-function/evaluation-body-that-returns-after-await.js: Added. (async.foo): (foo.then): * test262/test/language/statements/async-function/evaluation-body-that-returns.js: Added. (async.foo): (foo.then): * test262/test/language/statements/async-function/evaluation-body-that-throws-after-await.js: Added. (async.foo): (foo.then): * test262/test/language/statements/async-function/evaluation-body-that-throws.js: Added. (async.foo): (foo.then): * test262/test/language/statements/async-function/evaluation-body.js: Added. (async.foo): * test262/test/language/statements/async-function/evaluation-default-that-throws.js: Added. (async.foo): (foo.then): * test262/test/language/statements/async-function/evaluation-mapped-arguments.js: Added. (async.foo): * test262/test/language/statements/async-function/evaluation-this-value-global.js: Added. (async.foo): * test262/test/language/statements/async-function/evaluation-this-value-passed.js: Added. (async.foo): * test262/test/language/statements/async-function/evaluation-unmapped-arguments.js: Added. (async.foo): * test262/test/language/statements/async-function/syntax-declaration-line-terminators-allowed.js: Added. (async.foo): * test262/test/language/statements/async-function/syntax-declaration-no-line-terminator.js: Added. (async.foo): * test262/test/language/statements/async-function/syntax-declaration.js: Added. (async.foo): (foo.then): * test262/test/language/statements/class/definition/class-method-returns-promise.js: Added. (Foo.prototype.async.method): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-NSPL-with-USD.js: Added. (Foo.prototype.async.bar): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-arguments-in-formal-parameters.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals-default.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-body-contains-super-call.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-duplicate-parameters.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-eval-in-formal-parameters.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-formals-body-duplicate.js: Added. (Foo.async.foo): (Foo): * test262/test/language/statements/class/definition/early-errors-class-method-formals-contains-super-call.js: Added. (Foo.prototype.async.foo): (Foo): * test262/test/language/statements/class/definition/methods-async-super-call-body.js: Added. (A.prototype.async.method): (A): (B.prototype.async.method): (B): * test262/test/language/statements/class/definition/methods-async-super-call-param.js: Added. (A.prototype.async.method): (A): (B.prototype.async.method): (B): * test262/test/language/statements/class/definition/params-trailing-comma-arguments.js: Added. (C.prototype.f1): (C.prototype.f2): (C): * test262/test/language/statements/class/definition/params-trailing-comma-length.js: Added. (C.prototype.one): (C.prototype.two): (C): * test262/test/language/statements/class/definition/params-trailing-comma-rest.js: Added. (C.prototype.m): (C): * test262/test/language/statements/class/definition/params-trailing-comma.js: Added. (C.prototype.one): (C.prototype.two): (C): * test262/test/language/statements/function/arguments-with-arguments-fn.js: Added. (f): * test262/test/language/statements/function/arguments-with-arguments-lex.js: Added. (f): * test262/test/language/statements/function/params-trailing-comma-arguments.js: Added. (f1): (f2): * test262/test/language/statements/function/params-trailing-comma-length.js: Added. (one): (two): * test262/test/language/statements/function/params-trailing-comma.js: Added. (one): (two): * test262/test/language/statements/generators/arguments-with-arguments-fn.js: Added. (g): * test262/test/language/statements/generators/arguments-with-arguments-lex.js: Added. (g): * test262/test/language/statements/generators/params-trailing-comma-length.js: Added. (one): (two): * test262/test/language/statements/generators/params-trailing-comma.js: Added. (one): (two): * test262/test262-Revision.txt: 2016-08-23 Benjamin Poulain [JSC] Make Math.cos() and Math.sin() work with any argument type https://bugs.webkit.org/show_bug.cgi?id=161069 Reviewed by Geoffrey Garen. * stress/arith-cos-on-various-types.js: Added. * stress/arith-sin-on-various-types.js: Added. 2016-08-23 Yusuke Suzuki [ES6] Module namespace object's Symbol.iterator method should only accept module namespace objects https://bugs.webkit.org/show_bug.cgi?id=161097 Reviewed by Keith Miller. * test262.yaml: 2016-08-22 Yusuke Suzuki [ES6] Modules' `export default function/class` should be declaration https://bugs.webkit.org/show_bug.cgi?id=160499 Reviewed by Saam Barati. Add several module tests. And flip the failed tests flags in test262. * modules/export-default-function-name-in-assignment-expression.js: Added. (export.default): * modules/export-default-function-name-in-class-declaration.js: Added. * modules/export-default-function-name-in-function-declaration.js: Added. (export.default): * modules/export-default-function-name-in-generator-declaration.js: Added. (export.default): * stress/method-name.js: Added. (testSyntax): (testSyntaxError): (testSyntaxError.Hello.prototype.hello.hello): (testSyntaxError.Hello): (SyntaxError.Unexpected.identifier.string_appeared_here.Expected.an.opening.string_appeared_here.before.a.method.testSyntaxError.let.obj.hello.hello): (testSyntaxError.Hello.prototype.get hello): (testSyntaxError.Hello.prototype.set hello): * test262.yaml: 2016-08-22 Yusuke Suzuki [ES6] Module should not allow HTML comments https://bugs.webkit.org/show_bug.cgi?id=161041 Reviewed by Saam Barati. * modules/html-comments.js: Added. (shouldThrow): * test262.yaml: 2016-08-21 Yusuke Suzuki [DFG] Should not fixup AnyIntUse in 32_64 https://bugs.webkit.org/show_bug.cgi?id=161029 Reviewed by Saam Barati. * typeProfiler/int52-dfg.js: Added. (test): 2016-08-21 Yusuke Suzuki Unreviewed, rolling out r204697 https://bugs.webkit.org/show_bug.cgi?id=161029 * typeProfiler/int52-dfg.js: Removed. (test): Deleted. * typeProfiler/number-filter-dfg.js: Removed. (test): Deleted. 2016-08-21 Yusuke Suzuki [DFG] Should not fixup AnyIntUse in 32_64 https://bugs.webkit.org/show_bug.cgi?id=161029 Reviewed by Saam Barati. * typeProfiler/int52-dfg.js: Added. (test): * typeProfiler/number-filter-dfg.js: Added. (test): 2016-08-19 Benjamin Poulain [JSC] ArithSqrt should work with any argument type https://bugs.webkit.org/show_bug.cgi?id=160954 Reviewed by Saam Barati. * stress/arith-sqrt-on-various-types.js: Added. (let.validInputTypedTestCases.validInputTestCases.map): (isIdentical): (opaqueAllTypesSqrt): (testAllTypesCall): (testSingleTypeCall): (opaqueSqrtForSideEffects): (testSideEffect.let.testObject.valueOf): (testSideEffect): (opaqueSqrtForCSE): (testCSE.let.testObject.valueOf): (testCSE): (testException.opaqueSqrtWithException): (testException): 2016-08-19 Joseph Pecoraro Make custom Error properties (line, column, sourceURL) configurable and writable https://bugs.webkit.org/show_bug.cgi?id=160984 Reviewed by Saam Barati. * stress/native-error-properties.js: Added. (assert): (shouldNotThrow): (checkEmptyErrorPropertiesDescriptors): (checkNonEmptyErrorPropertiesDescriptors): The spec only describes the "message" property, so ensure it has the right descriptor attributes. (checkErrorPropertiesWritable): Ensure common error property names are writable. In strict mode this would have thrown an exception if they were readonly. 2016-08-18 Mark Lam ScopedArguments is using the wrong owner object for a write barrier. https://bugs.webkit.org/show_bug.cgi?id=160976 Reviewed by Keith Miller. * stress/scoped-arguments-write-barrier-should-be-on-scope-object.js: Added. 2016-08-17 JF Bastien We allow assignments to const variables when in a for-in/for-of loop https://bugs.webkit.org/show_bug.cgi?id=156673 Reviewed by Filip Pizlo. * stress/for-in-of-const.js: Added. (expect_nothrow): (expect_throw): (capture): 2016-08-17 Mark Lam Remove an invalid assertion in the DFG backend's GetById emitter. https://bugs.webkit.org/show_bug.cgi?id=160925 Reviewed by Filip Pizlo. * stress/dfg-get-by-id-should-not-assert-non-null-prediction.js: Added. 2016-08-16 Ryan Haddad Unreviewed, rolling out r204464. This is no longer needed after r204495. Reverted changeset: "Skip failing test mozilla/ecma/LexicalConventions/7.7.3.js" https://bugs.webkit.org/show_bug.cgi?id=160662 http://trac.webkit.org/changeset/204464 2016-08-15 Ryan Haddad Skip failing test mozilla/ecma/LexicalConventions/7.7.3.js https://bugs.webkit.org/show_bug.cgi?id=160662 Unreviewed test gardening. * mozilla/ecma/LexicalConventions/7.7.3.js: 2016-08-14 Skachkov Oleksandr [2016] Set correct status for test262 after implementation of Object.values&Object.entries https://bugs.webkit.org/show_bug.cgi?id=160844 Reviewed by Saam Barati. Patch contains fix statuses of specs in the test262 test collection after implementation of Object.values and Object.entries functions. Also patch contains small fixes in tests of the tests for Object.values/entries functions. * stress/object-entries.js: (Object.getOwnPropertyDescriptor): * stress/object-values.js: (Object.getOwnPropertyDescriptor): * test262.yaml: 2016-08-12 Saam Barati Inline store loop for CopyRest in DFG and FTL for certain array modes https://bugs.webkit.org/show_bug.cgi?id=159612 Reviewed by Filip Pizlo. * stress/rest-parameter-having-a-bad-time.js: Added. * stress/rest-parameter-many-arguments.js: Added. * stress/rest-parameter-various-types.js: Added. 2016-08-12 Skachkov Oleksandr [ES2016] Implement Object.entries https://bugs.webkit.org/show_bug.cgi?id=160412 Reviewed by Saam Barati. Patch contains tests for Object.entries function and fix of wrong tests for Object.values function. * stress/object-entries.js: (compare): (string_appeared_here.forEach): (const.getInvokedFunctions.): (const.getInvokedFunctions): (Array.prototype.push): * stress/object-values.js: 2016-08-11 Mark Lam OverridesHasInstance should not branch across register allocations. https://bugs.webkit.org/show_bug.cgi?id=160792 Reviewed by Benjamin Poulain. * stress/OverrideHasInstance-should-not-branch-across-register-allocations.js: Added. 2016-08-11 Mark Lam The jsc shell's Element host constructor should throw if it fails to construct an object. https://bugs.webkit.org/show_bug.cgi?id=160773 Reviewed by Saam Barati. * stress/generational-opaque-roots.js: 2016-08-11 Mark Lam Disallow synchronous sweeping for eden GCs. https://bugs.webkit.org/show_bug.cgi?id=160716 Reviewed by Geoffrey Garen. * stress/eden-gc-with-retired-blocks.js: Added. - This test is just in case we add back support for eden GCs with synchronous sweeping in the future. 2016-08-10 Michael Saboff Baseline GetByVal and PutByVal for cache ID stubs need to handle exceptions https://bugs.webkit.org/show_bug.cgi?id=160749 Reviewed by Filip Pizlo. New test that causes baseline GetByValWithCachedId and PutByValWithCachedId stubs to be generated and then throws exceptions for those stub to handle to verify that they are properly handled. * stress/regress-160749.js: Added. (testCachedGetByVal.): (testCachedGetByVal.get for): (testCachedGetByVal): (testCachedPutByVal.): (testCachedPutByVal.set for): (testCachedPutByVal): 2016-08-10 Mark Lam DFG's flushForTerminal() needs to add PhantomLocals for bytecode live locals. https://bugs.webkit.org/show_bug.cgi?id=160755 Reviewed by Filip Pizlo. * stress/need-bytecode-liveness-for-unreachable-blocks-at-dfg-time.js: Added. 2016-08-09 Skachkov Oleksandr [ES2016] Implement Object.values https://bugs.webkit.org/show_bug.cgi?id=160410 Reviewed by Saam Barati, Yusuke Suzuki. * stress/object-values.js: Added. (compare): (string_appeared_here.forEach): (const.getInvokedFunctions.): (const.getInvokedFunctions): (Array.prototype.push): 2016-08-09 Saam Barati JSBoundFunction should lazily generate its name string https://bugs.webkit.org/show_bug.cgi?id=160678 Reviewed by Mark Lam. * stress/bound-function-lazy-name-generation.js: Added. (assert): (test.let.f): (test.f): (test): 2016-08-08 Mark Lam ASSERTION FAILED: hasInlineStorage() in JSFinalObject::visitChildren(). https://bugs.webkit.org/show_bug.cgi?id=160666 Reviewed by Keith Miller. * stress/object-constructor-should-be-new-target-aware.js: 2016-08-07 Yusuke Suzuki [ES6] Module namespace object should not allow unset IC https://bugs.webkit.org/show_bug.cgi?id=160553 Reviewed by Saam Barati. * modules/namespace-object-get-property.js: Added. (import.as.ns.from.string_appeared_here.shouldThrow): * modules/namespace-object-has-property.js: Added. * modules/namespace-object-inline-caching.js: Added. (import.as.A.from.string_appeared_here.import.as.B.from.string_appeared_here.lookup): (shouldBe.lookup.lookup): (shouldBe.lookup): * modules/namespace-object-inline-caching/a.js: Added. * modules/namespace-object-inline-caching/b.js: Added. * modules/namespace-object-try-get.js: Added. (import.as.ns.from.string_appeared_here.tryGetByIdText): (tryGetByIdTextStrict): * modules/namespace-object-typed-array-fast-path.js: Added. * test262.yaml: 2016-08-05 Saam Barati various math operations don't properly check for an exception after calling toNumber() on the lhs https://bugs.webkit.org/show_bug.cgi?id=160154 Reviewed by Mark Lam. * stress/to-number-throws-correct-exception.js: Added. (test.let.test.runTest.): (test.let.test.runTest.get f): (test.let.test.runTest): (test.let.test): (test): (test2.runTest.): (test2.runTest.get f): (test2.runTest): (test2): 2016-08-05 Saam Barati Assertion failure when accessing TDZ variable in catch through eval https://bugs.webkit.org/show_bug.cgi?id=160554 Reviewed by Mark Lam and Keith Miller. * stress/catch-variables-under-tdz.js: Added. (test): 2016-08-04 Yusuke Suzuki [ES6] JSModuleNamespaceObject's Symbol.iterator function should have name https://bugs.webkit.org/show_bug.cgi?id=160549 Reviewed by Saam Barati. * modules/namespace-object-symbol-iterator-name.js: Added. * test262.yaml: 2016-08-04 Keith Miller ASSERTION FAILED: !hasInstanceValueNode->isCellConstant() || defaultHasInstanceFunction == hasInstanceValueNode->asCell() https://bugs.webkit.org/show_bug.cgi?id=160562 Reviewed by Mark Lam. * stress/instanceof-late-constant-folding.js: Added. (Constructor): (value): (body): 2016-08-04 Caitlin Potter [JSC] fix generator-syntax.js JSTest again after yield grammar fix https://bugs.webkit.org/show_bug.cgi?id=160550 Reviewed by Yusuke Suzuki. * stress/generator-syntax.js: (testYieldBindingIdentifier): 2016-08-03 Caitlin Potter Clarify SyntaxErrors around yield and unskip tests https://bugs.webkit.org/show_bug.cgi?id=158460 Reviewed by Saam Barati. Fix and unskip tests which erroneously asserted that `yield` is not a valid BindingIdentifier, and improve error message for YieldExpressions occuring in Arrow formal parameters. * stress/generator-syntax.js: * stress/yield-out-of-generator.js: 2016-08-03 Filip Pizlo REGRESSION(r203368): broke some test262 tests https://bugs.webkit.org/show_bug.cgi?id=160479 Reviewed by Mark Lam. Added a stress test for this case, since we don't always run test262. * stress/freeze-setter.js: Added. (let.o.set foo): 2016-08-03 Saam Barati Implement nested rest destructuring w.r.t the ES7 spec https://bugs.webkit.org/show_bug.cgi?id=160423 Reviewed by Filip Pizlo. * stress/destructuring-rest-element.js: Added. (assert): (test): (arr): (eq): (gen): (fakeGen.return.Symbol.iterator): (fakeGen): * stress/rest-elements.js: (testSyntaxError.String.raw): * stress/rest-parameter-is-destructuring.js: Added. (assert): (test): (foo): (bar): * test262.yaml: 2016-08-02 Saam Barati Rename Changelog to ChangeLog Rubber stamped by Keith Miller. * Changelog: Removed. 2016-08-02 Saam Barati update a class extending null w.r.t the ES7 spec https://bugs.webkit.org/show_bug.cgi?id=160417 Reviewed by Keith Miller. * Changelog: * stress/class-derived-from-null.js: Added. (assert): (test): (test1.C): (test1): (jsNull): (test2.C): (test2): (test3.C): (test3.D): (test3.E): (test3): (test4.E): (test4): (test5.E): (test5): (test6.Base): (test6.D): (test6.E): (test6.F): (test6.G): (test6): * test262.yaml: 2016-08-01 Filip Pizlo Rationalize varargs stack overflow checks https://bugs.webkit.org/show_bug.cgi?id=160425 Reviewed by Michael Saboff. * stress/arity-check-ftl-throw-more-args.js: Added. (catch): 2016-08-01 Keith Miller We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory. https://bugs.webkit.org/show_bug.cgi?id=160372 Rubber stamped by Geoffrey Garen. This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to a new top level directory, JSTests. Having the tests in the Source directory was both confusing an inconvenient for people that just want to checkout the source code of WebKit. Since there is no other obvious place to put all the JavaScript tests a new top level directory seemed the most sensible. * tests/: Deleted.