[JSC] Make FRound work with any type
[WebKit-https.git] / JSTests / ChangeLog
1 2016-08-24  Benjamin Poulain  <benjamin@webkit.org>
2
3         [JSC] Make FRound work with any type
4         https://bugs.webkit.org/show_bug.cgi?id=161129
5
6         Reviewed by Geoffrey Garen.
7
8         * stress/arith-fround-on-various-types.js: Added.
9
10 2016-08-24  Filip Pizlo  <fpizlo@apple.com>
11
12         Unreviewed, roll out r204901, r204897, r204866, r204856, r204854.
13
14         * stress/array-storage-array-unshift.js: Removed.
15         * stress/contiguous-array-unshift.js: Removed.
16         * stress/double-array-unshift.js: Removed.
17         * stress/int32-array-unshift.js: Removed.
18
19 2016-08-24  Skachkov Oleksandr  <gskachkov@gmail.com>
20
21         [ES2016] Allow assignment in for-in head in not-strict mode
22         https://bugs.webkit.org/show_bug.cgi?id=160955
23
24         Reviewed by Saam Barati.
25
26         * stress/for-in-tests.js:
27         (foo):
28         (boo):
29         (catch):
30
31 2016-08-23  Benjamin Poulain  <benjamin@webkit.org>
32
33         [JSC] Make ArithLog works with any type
34         https://bugs.webkit.org/show_bug.cgi?id=161110
35
36         Reviewed by Geoffrey Garen.
37
38         * stress/arith-log-on-various-types.js: Added.
39
40 2016-08-23  Saam Barati  <sbarati@apple.com>
41
42         JSC should have a "microbenchmarks" directory instead of "regress" directory
43         https://bugs.webkit.org/show_bug.cgi?id=161096
44
45         Rubber stamped by Mark Lam.
46
47         * microbenchmarks: Copied from LayoutTests/js/regress/script-tests.
48
49 2016-08-23  Keith Miller  <keith_miller@apple.com>
50
51         %TypedArray%.prototype.slice needs to check that the source and destination have not been detached.
52         https://bugs.webkit.org/show_bug.cgi?id=161031
53         <rdar://problem/27937019>
54
55         Reviewed by Geoffrey Garen.
56
57         * stress/typedarray-slice.js:
58         (get let):
59         (get try):
60         (testSpeciesWithTransferring):
61
62 2016-08-22  Filip Pizlo  <fpizlo@apple.com>
63
64         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
65         https://bugs.webkit.org/show_bug.cgi?id=160125
66
67         Reviewed by Geoffrey Garen.
68         
69         Most of the things I did properly covered by existing tests, but I found some simple cases of
70         unshifting that had sketchy coverage.
71
72         * stress/array-storage-array-unshift.js: Added.
73         * stress/contiguous-array-unshift.js: Added.
74         * stress/double-array-unshift.js: Added.
75         * stress/int32-array-unshift.js: Added.
76
77 2016-08-23  Keith Miller  <keith_miller@apple.com>
78
79         Update/add new test262 tests
80         https://bugs.webkit.org/show_bug.cgi?id=161098
81
82         Reviewed by Saam Barati.
83
84         * test262.yaml:
85         * test262/test/annexB/language/statements/for-in/bare-initializer.js: Added.
86         * test262/test/annexB/language/statements/for-in/const-initializer.js: Added.
87         * test262/test/annexB/language/statements/for-in/let-initializer.js: Added.
88         * test262/test/annexB/language/statements/for-in/nonstrict-initializer.js: Added.
89         (a):
90         * test262/test/annenxB/language/statements/for-in/strict-initializer.js: Added.
91         * test262/test/annexB/language/statements/for-in/var-arraybindingpattern-initializer.js: Added.
92         * test262/test/annexB/language/statements/for-in/var-objectbindingpattern-initializer.js: Added.
93         * test262/test/built-ins/AsyncFunction/AsyncFunction-construct.js: Added.
94         (AsyncFunction.async.foo):
95         * test262/test/built-ins/AsyncFunction/AsyncFunction-is-extensible.js: Added.
96         (AsyncFunction.async):
97         * test262/test/built-ins/AsyncFunction/AsyncFunction-is-subclass.js: Added.
98         (async.foo):
99         * test262/test/built-ins/AsyncFunction/AsyncFunction-length.js: Added.
100         (AsyncFunction.async.foo):
101         * test262/test/built-ins/AsyncFunction/AsyncFunction-name.js: Added.
102         (AsyncFunction.async.foo):
103         * test262/test/built-ins/AsyncFunction/AsyncFunction-prototype.js: Added.
104         (AsyncFunction.async.foo):
105         * test262/test/built-ins/AsyncFunction/AsyncFunction.js: Added.
106         (AsyncFunction.async.foo):
107         * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-is-extensible.js: Added.
108         (AsyncFunction.async.foo):
109         * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-prototype.js: Added.
110         (AsyncFunction.async.foo):
111         * test262/test/built-ins/AsyncFunction/AsyncFunctionPrototype-to-string.js: Added.
112         (AsyncFunction.async.foo):
113         * test262/test/built-ins/AsyncFunction/instance-construct.js: Added.
114         (async.foo):
115         * test262/test/built-ins/AsyncFunction/instance-has-name.js: Added.
116         (async.foo):
117         * test262/test/built-ins/AsyncFunction/instance-length.js: Added.
118         (async.l0):
119         (async.l1):
120         (async.l2):
121         * test262/test/built-ins/AsyncFunction/instance-prototype-property.js: Added.
122         (async.foo):
123         * test262/test/built-ins/AsyncFunction/is-not-a-global.js: Added.
124         * 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.
125         * test262/test/built-ins/DataView/prototype/getFloat32/detached-buffer-before-outofrange-byteoffset.js:
126         * 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.
127         * test262/test/built-ins/DataView/prototype/getFloat64/detached-buffer-before-outofrange-byteoffset.js:
128         * 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.
129         * test262/test/built-ins/DataView/prototype/getInt16/detached-buffer-before-outofrange-byteoffset.js:
130         * 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.
131         * test262/test/built-ins/DataView/prototype/getInt32/detached-buffer-before-outofrange-byteoffset.js:
132         * 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.
133         * test262/test/built-ins/DataView/prototype/getInt8/detached-buffer-before-outofrange-byteoffset.js:
134         * 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.
135         * test262/test/built-ins/DataView/prototype/getUint16/detached-buffer-before-outofrange-byteoffset.js:
136         * 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.
137         * test262/test/built-ins/DataView/prototype/getUint32/detached-buffer-before-outofrange-byteoffset.js:
138         * 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.
139         * test262/test/built-ins/DataView/prototype/getUint8/detached-buffer-before-outofrange-byteoffset.js:
140         * 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.
141         * test262/test/built-ins/DataView/prototype/setFloat32/detached-buffer-before-outofrange-byteoffset.js:
142         * test262/test/built-ins/DataView/prototype/setFloat32/index-check-before-value-conversion.js:
143         * test262/test/built-ins/DataView/prototype/setFloat32/range-check-after-value-conversion.js:
144         * 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.
145         * test262/test/built-ins/DataView/prototype/setFloat64/detached-buffer-before-outofrange-byteoffset.js:
146         * test262/test/built-ins/DataView/prototype/setFloat64/index-check-before-value-conversion.js:
147         * test262/test/built-ins/DataView/prototype/setFloat64/range-check-after-value-conversion.js:
148         * 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.
149         * test262/test/built-ins/DataView/prototype/setInt16/detached-buffer-before-outofrange-byteoffset.js:
150         * test262/test/built-ins/DataView/prototype/setInt16/index-check-before-value-conversion.js:
151         * test262/test/built-ins/DataView/prototype/setInt16/range-check-after-value-conversion.js:
152         * 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.
153         * test262/test/built-ins/DataView/prototype/setInt32/detached-buffer-before-outofrange-byteoffset.js:
154         * test262/test/built-ins/DataView/prototype/setInt32/index-check-before-value-conversion.js:
155         * test262/test/built-ins/DataView/prototype/setInt32/range-check-after-value-conversion.js:
156         * 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.
157         * test262/test/built-ins/DataView/prototype/setInt8/detached-buffer-before-outofrange-byteoffset.js:
158         * test262/test/built-ins/DataView/prototype/setInt8/index-check-before-value-conversion.js:
159         * test262/test/built-ins/DataView/prototype/setInt8/range-check-after-value-conversion.js:
160         * 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.
161         * test262/test/built-ins/DataView/prototype/setUint16/detached-buffer-before-outofrange-byteoffset.js:
162         * test262/test/built-ins/DataView/prototype/setUint16/index-check-before-value-conversion.js:
163         * test262/test/built-ins/DataView/prototype/setUint16/range-check-after-value-conversion.js:
164         * 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.
165         * test262/test/built-ins/DataView/prototype/setUint32/detached-buffer-before-outofrange-byteoffset.js:
166         * test262/test/built-ins/DataView/prototype/setUint32/index-check-before-value-conversion.js:
167         * test262/test/built-ins/DataView/prototype/setUint32/range-check-after-value-conversion.js:
168         * 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.
169         * test262/test/built-ins/DataView/prototype/setUint8/detached-buffer-before-outofrange-byteoffset.js:
170         * test262/test/built-ins/DataView/prototype/setUint8/index-check-before-value-conversion.js:
171         * test262/test/built-ins/DataView/prototype/setUint8/range-check-after-value-conversion.js:
172         * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget-bound.js: Added.
173         (A):
174         * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-boundtarget.js: Added.
175         (A):
176         * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-new.js: Added.
177         (A):
178         * test262/test/built-ins/Function/prototype/bind/instance-construct-newtarget-self-reflect.js: Added.
179         (A):
180         * test262/test/built-ins/Function/prototype/toString/AsyncFunction.js: Added.
181         (async.f):
182         * test262/test/built-ins/Function/prototype/toString/async-function-declaration.js: Added.
183         (async.f):
184         * test262/test/built-ins/Function/prototype/toString/async-function-expression.js: Added.
185         (let.f.async.f):
186         * test262/test/built-ins/Function/prototype/toString/async-method.js: Added.
187         (let.f.async.f):
188         (let.g.async.string_appeared_here):
189         * test262/test/built-ins/JSON/parse/reviver-array-define-prop-err.js: Added.
190         (defineProperty):
191         * test262/test/built-ins/JSON/parse/reviver-array-delete-err.js: Added.
192         (deleteProperty):
193         * test262/test/built-ins/JSON/parse/reviver-array-length-coerce-err.js: Added.
194         (uncoercible.valueOf):
195         (get if):
196         * test262/test/built-ins/JSON/parse/reviver-array-length-get-err.js: Added.
197         (get if):
198         * test262/test/built-ins/JSON/parse/reviver-call-err.js: Added.
199         * test262/test/built-ins/JSON/parse/reviver-get-name-err.js: Added.
200         (thrower):
201         * test262/test/built-ins/JSON/parse/reviver-object-define-prop-err.js: Added.
202         (defineProperty):
203         * test262/test/built-ins/JSON/parse/reviver-object-delete-err.js: Added.
204         (deleteProperty):
205         * test262/test/built-ins/JSON/parse/reviver-object-own-keys-err.js: Added.
206         (ownKeys):
207         * test262/test/built-ins/Number/prototype/toExponential/infinity.js: Added.
208         * test262/test/built-ins/Number/prototype/toExponential/nan.js: Added.
209         * test262/test/built-ins/Number/prototype/toExponential/prop-desc.js: Added.
210         * test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits-symbol.js: Added.
211         * test262/test/built-ins/Number/prototype/toExponential/return-abrupt-tointeger-fractiondigits.js: Added.
212         (fd1.valueOf):
213         (fd2.toString):
214         * test262/test/built-ins/Number/prototype/toExponential/return-values.js: Added.
215         * test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-0.js: Added.
216         * test262/test/built-ins/Number/prototype/toExponential/this-is-0-fractiondigits-is-not-0.js: Added.
217         * test262/test/built-ins/Number/prototype/toExponential/this-type-not-number-or-number-object.js: Added.
218         * test262/test/built-ins/Number/prototype/toExponential/tointeger-fractiondigits.js: Added.
219         * test262/test/built-ins/Number/prototype/toExponential/undefined-fractiondigits.js: Added.
220         * test262/test/built-ins/Object/getOwnPropertyDescriptors/duplicate-keys.js:
221         * test262/test/built-ins/Object/getOwnPropertyDescriptors/proxy-undefined-descriptor.js: Added.
222         (badProxyHandlers.allowProxyTraps.getOwnPropertyDescriptor):
223         (badProxyHandlers.allowProxyTraps.ownKeys):
224         * test262/test/built-ins/Proxy/setPrototypeOf/boolean-trap-result-extensible-target.js: Removed.
225         (setPrototypeOf): Deleted.
226         * test262/test/built-ins/Proxy/setPrototypeOf/internals-call-order.js: Added.
227         (target.new.Proxy.Object.create.isExtensible):
228         (target.new.Proxy.Object.create.getPrototypeOf):
229         (target.new.Proxy.Object.create):
230         (setPrototypeOf):
231         * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-not-same-target-prototype.js:
232         (setPrototypeOf):
233         * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-target-same-target-prototype.js:
234         (setPrototypeOf):
235         * test262/test/built-ins/Proxy/setPrototypeOf/not-extensible-trap-is-false-return-false.js: Removed.
236         (setPrototypeOf): Deleted.
237         * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-get-trap.js: Added.
238         * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-isextensible-target.js: Added.
239         (isExtensible):
240         (setPrototypeOf):
241         * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-target-getprototypeof.js: Added.
242         (getPrototypeOf):
243         (setPrototypeOf):
244         * test262/test/built-ins/Proxy/setPrototypeOf/return-abrupt-from-trap.js: Renamed from JSTests/test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js.
245         (setPrototypeOf):
246         * test262/test/built-ins/Proxy/setPrototypeOf/return-is-abrupt.js:
247         (setPrototypeOf): Deleted.
248         * test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-false.js: Added.
249         (isExtensible):
250         (setPrototypeOf):
251         * test262/test/built-ins/Proxy/setPrototypeOf/toboolean-trap-result-true-target-is-extensible.js: Added.
252         (isExtensible):
253         (getPrototypeOf):
254         (setPrototypeOf):
255         * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-not-callable.js:
256         * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined-or-null.js: Added.
257         (setPrototypeOf):
258         * test262/test/built-ins/Proxy/setPrototypeOf/trap-is-undefined.js: Removed.
259         * test262/test/built-ins/RegExp/lastIndex.js: Added.
260         * test262/test/built-ins/RegExp/prototype/global/15.10.7.2-1.js: Removed.
261         * test262/test/built-ins/RegExp/prototype/global/this-val-invalid-obj.js: Added.
262         (get Object):
263         * test262/test/built-ins/RegExp/prototype/global/this-val-non-obj.js: Added.
264         (get Object):
265         * test262/test/built-ins/RegExp/prototype/global/this-val-regexp-prototype.js: Added.
266         * test262/test/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-1.js: Removed.
267         * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-invalid-obj.js: Added.
268         (get Object):
269         * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-non-obj.js: Added.
270         (get Object):
271         * test262/test/built-ins/RegExp/prototype/ignoreCase/this-val-regexp-prototype.js: Added.
272         * test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-1.js: Removed.
273         * test262/test/built-ins/RegExp/prototype/lastIndex/15.10.7.5-2.js: Removed.
274         * test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A8.js: Removed.
275         (__re.hasOwnProperty): Deleted.
276         (__re.propertyIsEnumerable): Deleted.
277         (count.0): Deleted.
278         * test262/test/built-ins/RegExp/prototype/lastIndex/S15.10.7.5_A9.js: Removed.
279         (__re.hasOwnProperty): Deleted.
280         (catch): Deleted.
281         * test262/test/built-ins/RegExp/prototype/multiline/15.10.7.4-1.js: Removed.
282         * test262/test/built-ins/RegExp/prototype/multiline/this-val-invalid-obj.js: Added.
283         (get Object):
284         * test262/test/built-ins/RegExp/prototype/multiline/this-val-non-obj.js: Added.
285         (get Object):
286         * test262/test/built-ins/RegExp/prototype/multiline/this-val-regexp-prototype.js: Added.
287         * test262/test/built-ins/RegExp/prototype/no-regexp-matcher.js: Added.
288         * test262/test/built-ins/RegExp/prototype/source/15.10.7.1-1.js: Removed.
289         * test262/test/built-ins/RegExp/prototype/source/this-val-invalid-obj.js: Added.
290         (get Object):
291         * test262/test/built-ins/RegExp/prototype/source/this-val-non-obj.js: Added.
292         (get Object):
293         * test262/test/built-ins/RegExp/prototype/source/this-val-regexp-prototype.js: Added.
294         * test262/test/built-ins/RegExp/prototype/source/value-empty.js: Added.
295         * test262/test/built-ins/RegExp/prototype/source/value-line-terminator.js: Added.
296         * test262/test/built-ins/RegExp/prototype/source/value-u.js: Added.
297         * test262/test/built-ins/RegExp/prototype/source/value.js: Added.
298         * 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.
299         * 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.
300         * test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp-prototype.js: Added.
301         * test262/test/built-ins/RegExp/prototype/sticky/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/sticky/this-regexp.js.
302         * 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.
303         * 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.
304         * test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp-prototype.js: Added.
305         * test262/test/built-ins/RegExp/prototype/unicode/this-val-regexp.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/unicode/this-regexp.js.
306         * test262/test/built-ins/String/numeric-properties.js: Added.
307         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-infinity-throws.js: Added.
308         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/date-is-nan-throws.js: Added.
309         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/formatToParts.js: Added.
310         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/length.js: Added.
311         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/main.js: Added.
312         (reduce):
313         (compareFTPtoFormat):
314         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/name.js: Added.
315         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/return-abrupt-tonumber-date.js: Added.
316         (obj1.valueOf):
317         (obj2.toString):
318         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added.
319         * test262/test/intl402/DateTimeFormat/prototype/formatToParts/this-is-not-object-throws.js: Added.
320         * test262/test/intl402/NumberFormat/prototype/formatToParts/formatToParts.js: Added.
321         * test262/test/intl402/NumberFormat/prototype/formatToParts/length.js: Added.
322         * test262/test/intl402/NumberFormat/prototype/formatToParts/main.js: Added.
323         (reduce):
324         (compareFTPtoFormat):
325         * test262/test/intl402/NumberFormat/prototype/formatToParts/name.js: Added.
326         * test262/test/intl402/NumberFormat/prototype/formatToParts/return-abrupt-tonumber.js: Added.
327         (obj1.valueOf):
328         (obj2.toString):
329         * test262/test/intl402/NumberFormat/prototype/formatToParts/this-has-not-internal-throws.js: Added.
330         * test262/test/intl402/NumberFormat/prototype/formatToParts/this-is-not-object-throws.js: Added.
331         * test262/test/language/arguments-object/10.6-10-c-ii-2-s.js:
332         (foo): Deleted.
333         * test262/test/language/arguments-object/unmapped/via-params-dflt.js: Added.
334         (dflt):
335         * test262/test/language/arguments-object/unmapped/via-params-dstr.js: Added.
336         (dstr):
337         * test262/test/language/arguments-object/unmapped/via-params-rest.js: Added.
338         (rest):
339         * 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.
340         (foo):
341         * test262/test/language/block-scope/syntax/redeclaration-global/allowed-to-redeclare-function-declaration-with-function-declaration.js:
342         (f): Deleted.
343         * test262/test/language/eval-code/direct/super-call-arrow.js: Added.
344         (catch):
345         * test262/test/language/eval-code/direct/super-call-fn.js: Added.
346         (f):
347         * test262/test/language/eval-code/direct/super-call.js: Added.
348         (catch):
349         * test262/test/language/eval-code/direct/super-prop-arrow.js: Added.
350         (catch):
351         * test262/test/language/eval-code/direct/super-prop-method.js: Added.
352         (o.method):
353         * test262/test/language/eval-code/direct/super-prop.js: Added.
354         (catch):
355         * test262/test/language/eval-code/indirect/super-call.js: Added.
356         (catch):
357         (try.m):
358         * test262/test/language/eval-code/indirect/super-prop.js: Added.
359         (catch):
360         (try.m):
361         * test262/test/language/expressions/arrow-function/params-trailing-comma-length.js: Added.
362         (assert.sameValue):
363         * test262/test/language/expressions/arrow-function/params-trailing-comma.js: Added.
364         * test262/test/language/expressions/async-arrow-function/arrow-returns-promise.js: Added.
365         (p.then):
366         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-NSPL-with-USD.js: Added.
367         (async):
368         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-arguments-in-formal-parameters.js: Added.
369         (async):
370         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals-default.js: Added.
371         (async):
372         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-await-in-formals.js: Added.
373         (async):
374         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-call.js: Added.
375         (async):
376         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-body-contains-super-property.js: Added.
377         (async):
378         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-duplicate-parameters.js: Added.
379         (async):
380         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-eval-in-formal-parameters.js: Added.
381         (async):
382         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-body-duplicate.js: Added.
383         (async):
384         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js: Added.
385         (async.foo.super):
386         * test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-property.js: Added.
387         (async):
388         * test262/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js: Added.
389         (async):
390         * test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-arguments.js: Added.
391         (async.arguments):
392         * test262/test/language/expressions/async-function/early-errors-expression-binding-identifier-eval.js: Added.
393         (async.eval):
394         * test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-call.js: Added.
395         (async.foo):
396         * test262/test/language/expressions/async-function/early-errors-expression-body-contains-super-property.js: Added.
397         (async.foo):
398         * test262/test/language/expressions/async-function/early-errors-expression-eval-in-formal-parameters.js: Added.
399         (async.foo):
400         * test262/test/language/expressions/async-function/early-errors-expression-formals-body-duplicate.js: Added.
401         (async.foo):
402         * test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-call.js: Added.
403         (async.foo):
404         * test262/test/language/expressions/async-function/early-errors-expression-formals-contains-super-property.js: Added.
405         (async.foo):
406         * test262/test/language/expressions/async-function/early-errors-expression-not-simple-assignment-target.js: Added.
407         (async.foo):
408         * test262/test/language/expressions/async-function/expression-returns-promise.js: Added.
409         (p.async):
410         * test262/test/language/expressions/async-function/syntax-expression-is-PrimaryExpression.js: Added.
411         (async.foo):
412         * test262/test/language/expressions/await/await-BindingIdentifier-in-global.js: Added.
413         (async.await):
414         * test262/test/language/expressions/await/await-BindingIdentifier-nested.js: Added.
415         (async.foo.await):
416         (async.foo):
417         * test262/test/language/expressions/await/await-awaits-thenable-not-callable.js: Added.
418         (async.foo):
419         * test262/test/language/expressions/await/await-awaits-thenables-that-throw.js: Added.
420         (thenable.then):
421         (async.foo):
422         * test262/test/language/expressions/await/await-awaits-thenables.js: Added.
423         (thenable.then):
424         (async.foo):
425         * test262/test/language/expressions/await/await-in-function.js: Added.
426         (foo):
427         * test262/test/language/expressions/await/await-in-generator.js: Added.
428         (foo):
429         * test262/test/language/expressions/await/await-in-global.js: Added.
430         * test262/test/language/expressions/await/await-in-nested-function.js: Added.
431         (async.foo.bar):
432         (async.foo):
433         * test262/test/language/expressions/await/await-in-nested-generator.js: Added.
434         (async.foo.bar):
435         (async.foo):
436         * test262/test/language/expressions/await/await-throws-rejections.js: Added.
437         (async.foo):
438         * test262/test/language/expressions/await/early-errors-await-not-simple-assignment-target.js: Added.
439         (async.foo):
440         * test262/test/language/expressions/await/no-operand.js: Added.
441         (async.foo):
442         * test262/test/language/expressions/await/syntax-await-has-UnaryExpression-with-MultiplicativeExpression.js: Added.
443         (async.foo):
444         * test262/test/language/expressions/await/syntax-await-has-UnaryExpression.js: Added.
445         (async.foo):
446         * test262/test/language/expressions/call/trailing-comma.js: Added.
447         (foo):
448         * test262/test/language/expressions/function/arguments-with-arguments-fn.js: Added.
449         (f):
450         * test262/test/language/expressions/function/arguments-with-arguments-lex.js: Added.
451         (f):
452         * test262/test/language/expressions/function/params-trailing-comma-arguments.js: Added.
453         (f1):
454         (f2):
455         * test262/test/language/expressions/function/params-trailing-comma-length.js: Added.
456         (assert.sameValue):
457         * test262/test/language/expressions/function/params-trailing-comma.js: Added.
458         * test262/test/language/expressions/generators/arguments-with-arguments-fn.js: Added.
459         (g):
460         * test262/test/language/expressions/generators/arguments-with-arguments-lex.js: Added.
461         (g):
462         * test262/test/language/expressions/generators/params-trailing-comma-arguments.js: Added.
463         (f1):
464         (f2):
465         * test262/test/language/expressions/generators/params-trailing-comma-length.js: Added.
466         (assert.sameValue):
467         * test262/test/language/expressions/generators/params-trailing-comma.js: Added.
468         * test262/test/language/expressions/object/computed-property-evaluation-order.js: Added.
469         * test262/test/language/expressions/object/method-definition/async-super-call-body.js: Added.
470         (sup.method):
471         (child.async.method):
472         * test262/test/language/expressions/object/method-definition/async-super-call-param.js: Added.
473         (sup.method):
474         (child.async.method.x.super.method):
475         * test262/test/language/expressions/object/method-definition/early-errors-object-method-NSPL-with-USD.js: Added.
476         (foo):
477         * test262/test/language/expressions/object/method-definition/early-errors-object-method-arguments-in-formal-parameters.js: Added.
478         (async.foo):
479         * test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals-default.js: Added.
480         (async.foo):
481         * test262/test/language/expressions/object/method-definition/early-errors-object-method-await-in-formals.js: Added.
482         (async.foo):
483         * test262/test/language/expressions/object/method-definition/early-errors-object-method-body-contains-super-call.js: Added.
484         (async.foo):
485         * test262/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js: Added.
486         (async.foo):
487         * test262/test/language/expressions/object/method-definition/early-errors-object-method-eval-in-formal-parameters.js: Added.
488         (async.foo):
489         * test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-body-duplicate.js: Added.
490         (async.foo):
491         * test262/test/language/expressions/object/method-definition/early-errors-object-method-formals-contains-super-call.js: Added.
492         (async.foo.foo.super):
493         * test262/test/language/expressions/object/method-definition/object-method-returns-promise.js: Added.
494         (obj.async.method):
495         * test262/test/language/expressions/object/method-definition/params-trailing-comma-arguments.js: Added.
496         (obj.f1):
497         (obj.f2):
498         * test262/test/language/expressions/object/method-definition/params-trailing-comma-length.js: Added.
499         (obj.one):
500         (obj.two):
501         * test262/test/language/expressions/object/method-definition/params-trailing-comma-rest.js: Added.
502         (m):
503         * test262/test/language/expressions/object/method-definition/params-trailing-comma.js: Added.
504         (one):
505         (two):
506         * 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.
507         (f):
508         * test262/test/language/global-code/decl-func.js: Added.
509         (brandNew):
510         * test262/test/language/global-code/decl-lex-configurable-global.js: Added.
511         * test262/test/language/global-code/decl-lex-deletion.js: Added.
512         (test262class):
513         * test262/test/language/global-code/decl-lex-restricted-global.js: Added.
514         * test262/test/language/global-code/decl-lex.js: Added.
515         (test262class):
516         * test262/test/language/global-code/decl-var.js: Added.
517         * test262/test/language/global-code/return.js: Added.
518         * test262/test/language/global-code/script-decl-func-dups.js: Added.
519         * test262/test/language/global-code/script-decl-func-err-non-configurable.js: Added.
520         * test262/test/language/global-code/script-decl-func-err-non-extensible.js: Added.
521         * test262/test/language/global-code/script-decl-func.js: Added.
522         * test262/test/language/global-code/script-decl-lex-deletion.js: Added.
523         * test262/test/language/global-code/script-decl-lex-lex.js: Added.
524         (test262Class):
525         * test262/test/language/global-code/script-decl-lex-restricted-global.js: Added.
526         * test262/test/language/global-code/script-decl-lex-var.js: Added.
527         (test262Fn):
528         * test262/test/language/global-code/script-decl-lex.js: Added.
529         * test262/test/language/global-code/script-decl-var-collision.js: Added.
530         (test262Class):
531         * test262/test/language/global-code/script-decl-var-err.js: Added.
532         * test262/test/language/global-code/script-decl-var.js: Added.
533         * test262/test/language/global-code/super-call-arrow.js: Added.
534         * test262/test/language/global-code/super-call.js: Added.
535         * test262/test/language/global-code/super-prop-arrow.js: Added.
536         * test262/test/language/global-code/super-prop.js: Added.
537         * test262/test/language/global-code/yield-non-strict.js: Added.
538         (catch):
539         * test262/test/language/global-code/yield-strict.js: Added.
540         * test262/test/language/literals/regexp/lastIndex.js: Added.
541         * test262/test/language/literals/regexp/u-unicode-esc-bounds.js:
542         * test262/test/language/literals/regexp/y-assertion-start.js: Added.
543         * test262/test/language/module-code/instn-star-err-not-found-faulty_FIXTURE.js:
544         * test262/test/language/module-code/instn-star-err-not-found.js:
545         * test262/test/language/module-code/namespace/internals/get-own-property-str-found-init.js:
546         * test262/test/language/module-code/parse-err-return.js: Added.
547         * test262/test/language/module-code/parse-err-yield.js: Added.
548         * test262/test/language/rest-parameters/params-trailing-comma-rest.js: Added.
549         * test262/test/language/statements/async-function/declaration-returns-promise.js: Added.
550         (async.foo):
551         * test262/test/language/statements/async-function/early-errors-declaration-NSPL-with-USD.js: Added.
552         (async.foo):
553         * test262/test/language/statements/async-function/early-errors-declaration-arguments-in-formal-parameters.js: Added.
554         (async.foo):
555         * test262/test/language/statements/async-function/early-errors-declaration-await-in-formals-default.js: Added.
556         (async.foo):
557         * test262/test/language/statements/async-function/early-errors-declaration-await-in-formals.js: Added.
558         (async.foo):
559         * test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-arguments.js: Added.
560         (async.arguments):
561         * test262/test/language/statements/async-function/early-errors-declaration-binding-identifier-eval.js: Added.
562         (async.eval):
563         * test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-call.js: Added.
564         (async.foo):
565         * test262/test/language/statements/async-function/early-errors-declaration-body-contains-super-property.js: Added.
566         (async.foo):
567         * test262/test/language/statements/async-function/early-errors-declaration-duplicate-parameters.js: Added.
568         (async.foo):
569         * test262/test/language/statements/async-function/early-errors-declaration-eval-in-formal-parameters.js: Added.
570         (async.foo):
571         * test262/test/language/statements/async-function/early-errors-declaration-formals-body-duplicate.js: Added.
572         (async.foo):
573         * test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-call.js: Added.
574         (async.foo):
575         * test262/test/language/statements/async-function/early-errors-declaration-formals-contains-super-property.js: Added.
576         (async.foo):
577         * test262/test/language/statements/async-function/early-errors-no-async-generator.js: Added.
578         (async.foo):
579         * test262/test/language/statements/async-function/evaluation-body-that-returns-after-await.js: Added.
580         (async.foo):
581         (foo.then):
582         * test262/test/language/statements/async-function/evaluation-body-that-returns.js: Added.
583         (async.foo):
584         (foo.then):
585         * test262/test/language/statements/async-function/evaluation-body-that-throws-after-await.js: Added.
586         (async.foo):
587         (foo.then):
588         * test262/test/language/statements/async-function/evaluation-body-that-throws.js: Added.
589         (async.foo):
590         (foo.then):
591         * test262/test/language/statements/async-function/evaluation-body.js: Added.
592         (async.foo):
593         * test262/test/language/statements/async-function/evaluation-default-that-throws.js: Added.
594         (async.foo):
595         (foo.then):
596         * test262/test/language/statements/async-function/evaluation-mapped-arguments.js: Added.
597         (async.foo):
598         * test262/test/language/statements/async-function/evaluation-this-value-global.js: Added.
599         (async.foo):
600         * test262/test/language/statements/async-function/evaluation-this-value-passed.js: Added.
601         (async.foo):
602         * test262/test/language/statements/async-function/evaluation-unmapped-arguments.js: Added.
603         (async.foo):
604         * test262/test/language/statements/async-function/syntax-declaration-line-terminators-allowed.js: Added.
605         (async.foo):
606         * test262/test/language/statements/async-function/syntax-declaration-no-line-terminator.js: Added.
607         (async.foo):
608         * test262/test/language/statements/async-function/syntax-declaration.js: Added.
609         (async.foo):
610         (foo.then):
611         * test262/test/language/statements/class/definition/class-method-returns-promise.js: Added.
612         (Foo.prototype.async.method):
613         (Foo):
614         * test262/test/language/statements/class/definition/early-errors-class-method-NSPL-with-USD.js: Added.
615         (Foo.prototype.async.bar):
616         (Foo):
617         * test262/test/language/statements/class/definition/early-errors-class-method-arguments-in-formal-parameters.js: Added.
618         (Foo.prototype.async.foo):
619         (Foo):
620         * test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals-default.js: Added.
621         (Foo.prototype.async.foo):
622         (Foo):
623         * test262/test/language/statements/class/definition/early-errors-class-method-await-in-formals.js: Added.
624         (Foo.prototype.async.foo):
625         (Foo):
626         * test262/test/language/statements/class/definition/early-errors-class-method-body-contains-super-call.js: Added.
627         (Foo.prototype.async.foo):
628         (Foo):
629         * test262/test/language/statements/class/definition/early-errors-class-method-duplicate-parameters.js: Added.
630         (Foo.prototype.async.foo):
631         (Foo):
632         * test262/test/language/statements/class/definition/early-errors-class-method-eval-in-formal-parameters.js: Added.
633         (Foo.prototype.async.foo):
634         (Foo):
635         * test262/test/language/statements/class/definition/early-errors-class-method-formals-body-duplicate.js: Added.
636         (Foo.async.foo):
637         (Foo):
638         * test262/test/language/statements/class/definition/early-errors-class-method-formals-contains-super-call.js: Added.
639         (Foo.prototype.async.foo):
640         (Foo):
641         * test262/test/language/statements/class/definition/methods-async-super-call-body.js: Added.
642         (A.prototype.async.method):
643         (A):
644         (B.prototype.async.method):
645         (B):
646         * test262/test/language/statements/class/definition/methods-async-super-call-param.js: Added.
647         (A.prototype.async.method):
648         (A):
649         (B.prototype.async.method):
650         (B):
651         * test262/test/language/statements/class/definition/params-trailing-comma-arguments.js: Added.
652         (C.prototype.f1):
653         (C.prototype.f2):
654         (C):
655         * test262/test/language/statements/class/definition/params-trailing-comma-length.js: Added.
656         (C.prototype.one):
657         (C.prototype.two):
658         (C):
659         * test262/test/language/statements/class/definition/params-trailing-comma-rest.js: Added.
660         (C.prototype.m):
661         (C):
662         * test262/test/language/statements/class/definition/params-trailing-comma.js: Added.
663         (C.prototype.one):
664         (C.prototype.two):
665         (C):
666         * test262/test/language/statements/function/arguments-with-arguments-fn.js: Added.
667         (f):
668         * test262/test/language/statements/function/arguments-with-arguments-lex.js: Added.
669         (f):
670         * test262/test/language/statements/function/params-trailing-comma-arguments.js: Added.
671         (f1):
672         (f2):
673         * test262/test/language/statements/function/params-trailing-comma-length.js: Added.
674         (one):
675         (two):
676         * test262/test/language/statements/function/params-trailing-comma.js: Added.
677         (one):
678         (two):
679         * test262/test/language/statements/generators/arguments-with-arguments-fn.js: Added.
680         (g):
681         * test262/test/language/statements/generators/arguments-with-arguments-lex.js: Added.
682         (g):
683         * test262/test/language/statements/generators/params-trailing-comma-length.js: Added.
684         (one):
685         (two):
686         * test262/test/language/statements/generators/params-trailing-comma.js: Added.
687         (one):
688         (two):
689         * test262/test262-Revision.txt:
690
691 2016-08-23  Benjamin Poulain  <bpoulain@apple.com>
692
693         [JSC] Make Math.cos() and Math.sin() work with any argument type
694         https://bugs.webkit.org/show_bug.cgi?id=161069
695
696         Reviewed by Geoffrey Garen.
697
698         * stress/arith-cos-on-various-types.js: Added.
699         * stress/arith-sin-on-various-types.js: Added.
700
701 2016-08-23  Yusuke Suzuki  <utatane.tea@gmail.com>
702
703         [ES6] Module namespace object's Symbol.iterator method should only accept module namespace objects
704         https://bugs.webkit.org/show_bug.cgi?id=161097
705
706         Reviewed by Keith Miller.
707
708         * test262.yaml:
709
710 2016-08-22  Yusuke Suzuki  <utatane.tea@gmail.com>
711
712         [ES6] Modules' `export default function/class` should be declaration
713         https://bugs.webkit.org/show_bug.cgi?id=160499
714
715         Reviewed by Saam Barati.
716
717         Add several module tests. And flip the failed tests flags in test262.
718
719         * modules/export-default-function-name-in-assignment-expression.js: Added.
720         (export.default):
721         * modules/export-default-function-name-in-class-declaration.js: Added.
722         * modules/export-default-function-name-in-function-declaration.js: Added.
723         (export.default):
724         * modules/export-default-function-name-in-generator-declaration.js: Added.
725         (export.default):
726         * stress/method-name.js: Added.
727         (testSyntax):
728         (testSyntaxError):
729         (testSyntaxError.Hello.prototype.hello.hello):
730         (testSyntaxError.Hello):
731         (SyntaxError.Unexpected.identifier.string_appeared_here.Expected.an.opening.string_appeared_here.before.a.method.testSyntaxError.let.obj.hello.hello):
732         (testSyntaxError.Hello.prototype.get hello):
733         (testSyntaxError.Hello.prototype.set hello):
734         * test262.yaml:
735
736 2016-08-22  Yusuke Suzuki  <utatane.tea@gmail.com>
737
738         [ES6] Module should not allow HTML comments
739         https://bugs.webkit.org/show_bug.cgi?id=161041
740
741         Reviewed by Saam Barati.
742
743         * modules/html-comments.js: Added.
744         (shouldThrow):
745         * test262.yaml:
746
747 2016-08-21  Yusuke Suzuki  <utatane.tea@gmail.com>
748
749         [DFG] Should not fixup AnyIntUse in 32_64
750         https://bugs.webkit.org/show_bug.cgi?id=161029
751
752         Reviewed by Saam Barati.
753
754         * typeProfiler/int52-dfg.js: Added.
755         (test):
756
757 2016-08-21  Yusuke Suzuki  <utatane.tea@gmail.com>
758
759         Unreviewed, rolling out r204697
760         https://bugs.webkit.org/show_bug.cgi?id=161029
761
762         * typeProfiler/int52-dfg.js: Removed.
763         (test): Deleted.
764         * typeProfiler/number-filter-dfg.js: Removed.
765         (test): Deleted.
766
767 2016-08-21  Yusuke Suzuki  <utatane.tea@gmail.com>
768
769         [DFG] Should not fixup AnyIntUse in 32_64
770         https://bugs.webkit.org/show_bug.cgi?id=161029
771
772         Reviewed by Saam Barati.
773
774         * typeProfiler/int52-dfg.js: Added.
775         (test):
776         * typeProfiler/number-filter-dfg.js: Added.
777         (test):
778
779 2016-08-19  Benjamin Poulain  <bpoulain@apple.com>
780
781         [JSC] ArithSqrt should work with any argument type
782         https://bugs.webkit.org/show_bug.cgi?id=160954
783
784         Reviewed by Saam Barati.
785
786         * stress/arith-sqrt-on-various-types.js: Added.
787         (let.validInputTypedTestCases.validInputTestCases.map):
788         (isIdentical):
789         (opaqueAllTypesSqrt):
790         (testAllTypesCall):
791         (testSingleTypeCall):
792         (opaqueSqrtForSideEffects):
793         (testSideEffect.let.testObject.valueOf):
794         (testSideEffect):
795         (opaqueSqrtForCSE):
796         (testCSE.let.testObject.valueOf):
797         (testCSE):
798         (testException.opaqueSqrtWithException):
799         (testException):
800
801 2016-08-19  Joseph Pecoraro  <pecoraro@apple.com>
802
803         Make custom Error properties (line, column, sourceURL) configurable and writable
804         https://bugs.webkit.org/show_bug.cgi?id=160984
805         <rdar://problem/27905979>
806
807         Reviewed by Saam Barati.
808
809         * stress/native-error-properties.js: Added.
810         (assert):
811         (shouldNotThrow):
812
813         (checkEmptyErrorPropertiesDescriptors):
814         (checkNonEmptyErrorPropertiesDescriptors):
815         The spec only describes the "message" property, so
816         ensure it has the right descriptor attributes.
817
818         (checkErrorPropertiesWritable):
819         Ensure common error property names are writable.
820         In strict mode this would have thrown an exception
821         if they were readonly.
822
823 2016-08-18  Mark Lam  <mark.lam@apple.com>
824
825         ScopedArguments is using the wrong owner object for a write barrier.
826         https://bugs.webkit.org/show_bug.cgi?id=160976
827         <rdar://problem/27328506>
828
829         Reviewed by Keith Miller.
830
831         * stress/scoped-arguments-write-barrier-should-be-on-scope-object.js: Added.
832
833 2016-08-17  JF Bastien  <jfbastien@apple.com>
834
835         We allow assignments to const variables when in a for-in/for-of loop
836         https://bugs.webkit.org/show_bug.cgi?id=156673
837
838         Reviewed by Filip Pizlo.
839
840         * stress/for-in-of-const.js: Added.
841         (expect_nothrow):
842         (expect_throw):
843         (capture):
844
845 2016-08-17  Mark Lam  <mark.lam@apple.com>
846
847         Remove an invalid assertion in the DFG backend's GetById emitter.
848         https://bugs.webkit.org/show_bug.cgi?id=160925
849         <rdar://problem/27248961>
850
851         Reviewed by Filip Pizlo.
852
853         * stress/dfg-get-by-id-should-not-assert-non-null-prediction.js: Added.
854
855 2016-08-16  Ryan Haddad  <ryanhaddad@apple.com>
856
857         Unreviewed, rolling out r204464.
858
859         This is no longer needed after r204495.
860
861         Reverted changeset:
862
863         "Skip failing test mozilla/ecma/LexicalConventions/7.7.3.js"
864         https://bugs.webkit.org/show_bug.cgi?id=160662
865         http://trac.webkit.org/changeset/204464
866
867 2016-08-15  Ryan Haddad  <ryanhaddad@apple.com>
868
869         Skip failing test mozilla/ecma/LexicalConventions/7.7.3.js
870         https://bugs.webkit.org/show_bug.cgi?id=160662
871
872         Unreviewed test gardening.
873
874         * mozilla/ecma/LexicalConventions/7.7.3.js:
875
876 2016-08-14  Skachkov Oleksandr  <gskachkov@gmail.com>
877
878         [2016] Set correct status for test262 after implementation of Object.values&Object.entries
879         https://bugs.webkit.org/show_bug.cgi?id=160844
880
881         Reviewed by Saam Barati.
882
883         Patch contains fix statuses of specs in the test262 test collection after implementation of 
884         Object.values and Object.entries functions. Also patch contains small fixes in tests of the 
885         tests for Object.values/entries functions.
886
887         * stress/object-entries.js:
888         (Object.getOwnPropertyDescriptor):
889         * stress/object-values.js:
890         (Object.getOwnPropertyDescriptor):
891         * test262.yaml:
892
893 2016-08-12  Saam Barati  <sbarati@apple.com>
894
895         Inline store loop for CopyRest in DFG and FTL for certain array modes
896         https://bugs.webkit.org/show_bug.cgi?id=159612
897
898         Reviewed by Filip Pizlo.
899
900         * stress/rest-parameter-having-a-bad-time.js: Added.
901         * stress/rest-parameter-many-arguments.js: Added.
902         * stress/rest-parameter-various-types.js: Added.
903
904 2016-08-12  Skachkov Oleksandr  <gskachkov@gmail.com>
905
906         [ES2016] Implement Object.entries
907         https://bugs.webkit.org/show_bug.cgi?id=160412
908
909         Reviewed by Saam Barati.
910
911         Patch contains tests for Object.entries function and 
912         fix of wrong tests for Object.values function.
913
914         * stress/object-entries.js: 
915         (compare):
916         (string_appeared_here.forEach):
917         (const.getInvokedFunctions.):
918         (const.getInvokedFunctions):
919         (Array.prototype.push):
920         * stress/object-values.js:
921
922 2016-08-11  Mark Lam  <mark.lam@apple.com>
923
924         OverridesHasInstance should not branch across register allocations.
925         https://bugs.webkit.org/show_bug.cgi?id=160792
926         <rdar://problem/27361778>
927
928         Reviewed by Benjamin Poulain.
929
930         * stress/OverrideHasInstance-should-not-branch-across-register-allocations.js: Added.
931
932 2016-08-11  Mark Lam  <mark.lam@apple.com>
933
934         The jsc shell's Element host constructor should throw if it fails to construct an object.
935         https://bugs.webkit.org/show_bug.cgi?id=160773
936         <rdar://problem/27328608>
937
938         Reviewed by Saam Barati.
939
940         * stress/generational-opaque-roots.js:
941
942 2016-08-11  Mark Lam  <mark.lam@apple.com>
943
944         Disallow synchronous sweeping for eden GCs.
945         https://bugs.webkit.org/show_bug.cgi?id=160716
946
947         Reviewed by Geoffrey Garen.
948
949         * stress/eden-gc-with-retired-blocks.js: Added.
950         - This test is just in case we add back support for eden GCs with synchronous
951           sweeping in the future.
952
953 2016-08-10  Michael Saboff  <msaboff@apple.com>
954
955         Baseline GetByVal and PutByVal for cache ID stubs need to handle exceptions
956         https://bugs.webkit.org/show_bug.cgi?id=160749
957
958         Reviewed by Filip Pizlo.
959
960         New test that causes baseline GetByValWithCachedId and PutByValWithCachedId
961         stubs to be generated and then throws exceptions for those stub to handle
962         to verify that they are properly handled.
963
964         * stress/regress-160749.js: Added.
965         (testCachedGetByVal.):
966         (testCachedGetByVal.get for):
967         (testCachedGetByVal):
968         (testCachedPutByVal.):
969         (testCachedPutByVal.set for):
970         (testCachedPutByVal):
971
972 2016-08-10  Mark Lam  <mark.lam@apple.com>
973
974         DFG's flushForTerminal() needs to add PhantomLocals for bytecode live locals.
975         https://bugs.webkit.org/show_bug.cgi?id=160755
976         <rdar://problem/27488507>
977
978         Reviewed by Filip Pizlo.
979
980         * stress/need-bytecode-liveness-for-unreachable-blocks-at-dfg-time.js: Added.
981
982 2016-08-09  Skachkov Oleksandr  <gskachkov@gmail.com>
983
984         [ES2016] Implement Object.values
985         https://bugs.webkit.org/show_bug.cgi?id=160410
986
987         Reviewed by Saam Barati, Yusuke Suzuki.
988
989         * stress/object-values.js: Added.
990         (compare):
991         (string_appeared_here.forEach):
992         (const.getInvokedFunctions.):
993         (const.getInvokedFunctions):
994         (Array.prototype.push):
995
996 2016-08-09  Saam Barati  <sbarati@apple.com>
997
998         JSBoundFunction should lazily generate its name string
999         https://bugs.webkit.org/show_bug.cgi?id=160678
1000         <rdar://problem/27043194>
1001
1002         Reviewed by Mark Lam.
1003
1004         * stress/bound-function-lazy-name-generation.js: Added.
1005         (assert):
1006         (test.let.f):
1007         (test.f):
1008         (test):
1009
1010 2016-08-08  Mark Lam  <mark.lam@apple.com>
1011
1012         ASSERTION FAILED: hasInlineStorage() in JSFinalObject::visitChildren().
1013         https://bugs.webkit.org/show_bug.cgi?id=160666
1014
1015         Reviewed by Keith Miller.
1016
1017         * stress/object-constructor-should-be-new-target-aware.js:
1018
1019 2016-08-07  Yusuke Suzuki  <utatane.tea@gmail.com>
1020
1021         [ES6] Module namespace object should not allow unset IC
1022         https://bugs.webkit.org/show_bug.cgi?id=160553
1023
1024         Reviewed by Saam Barati.
1025
1026         * modules/namespace-object-get-property.js: Added.
1027         (import.as.ns.from.string_appeared_here.shouldThrow):
1028         * modules/namespace-object-has-property.js: Added.
1029         * modules/namespace-object-inline-caching.js: Added.
1030         (import.as.A.from.string_appeared_here.import.as.B.from.string_appeared_here.lookup):
1031         (shouldBe.lookup.lookup):
1032         (shouldBe.lookup):
1033         * modules/namespace-object-inline-caching/a.js: Added.
1034         * modules/namespace-object-inline-caching/b.js: Added.
1035         * modules/namespace-object-try-get.js: Added.
1036         (import.as.ns.from.string_appeared_here.tryGetByIdText):
1037         (tryGetByIdTextStrict):
1038         * modules/namespace-object-typed-array-fast-path.js: Added.
1039         * test262.yaml:
1040
1041 2016-08-05  Saam Barati  <sbarati@apple.com>
1042
1043         various math operations don't properly check for an exception after calling toNumber() on the lhs
1044         https://bugs.webkit.org/show_bug.cgi?id=160154
1045
1046         Reviewed by Mark Lam.
1047
1048         * stress/to-number-throws-correct-exception.js: Added.
1049         (test.let.test.runTest.):
1050         (test.let.test.runTest.get f):
1051         (test.let.test.runTest):
1052         (test.let.test):
1053         (test):
1054         (test2.runTest.):
1055         (test2.runTest.get f):
1056         (test2.runTest):
1057         (test2):
1058
1059 2016-08-05  Saam Barati  <sbarati@apple.com>
1060
1061         Assertion failure when accessing TDZ variable in catch through eval
1062         https://bugs.webkit.org/show_bug.cgi?id=160554
1063
1064         Reviewed by Mark Lam and Keith Miller.
1065
1066         * stress/catch-variables-under-tdz.js: Added.
1067         (test):
1068
1069 2016-08-04  Yusuke Suzuki  <utatane.tea@gmail.com>
1070
1071         [ES6] JSModuleNamespaceObject's Symbol.iterator function should have name
1072         https://bugs.webkit.org/show_bug.cgi?id=160549
1073
1074         Reviewed by Saam Barati.
1075
1076         * modules/namespace-object-symbol-iterator-name.js: Added.
1077         * test262.yaml:
1078
1079 2016-08-04  Keith Miller  <keith_miller@apple.com>
1080
1081         ASSERTION FAILED: !hasInstanceValueNode->isCellConstant() || defaultHasInstanceFunction == hasInstanceValueNode->asCell()
1082         https://bugs.webkit.org/show_bug.cgi?id=160562
1083
1084         Reviewed by Mark Lam.
1085
1086         * stress/instanceof-late-constant-folding.js: Added.
1087         (Constructor):
1088         (value):
1089         (body):
1090
1091 2016-08-04  Caitlin Potter  <caitp@igalia.com>
1092
1093         [JSC] fix generator-syntax.js JSTest again after yield grammar fix
1094         https://bugs.webkit.org/show_bug.cgi?id=160550
1095
1096         Reviewed by Yusuke Suzuki.
1097
1098         * stress/generator-syntax.js:
1099         (testYieldBindingIdentifier):
1100
1101 2016-08-03  Caitlin Potter  <caitp@igalia.com>
1102
1103         Clarify SyntaxErrors around yield and unskip tests
1104         https://bugs.webkit.org/show_bug.cgi?id=158460
1105
1106         Reviewed by Saam Barati.
1107
1108         Fix and unskip tests which erroneously asserted that `yield` is not a
1109         valid BindingIdentifier, and improve error message for YieldExpressions
1110         occuring in Arrow formal parameters.
1111
1112         * stress/generator-syntax.js:
1113         * stress/yield-out-of-generator.js:
1114
1115 2016-08-03  Filip Pizlo  <fpizlo@apple.com>
1116
1117         REGRESSION(r203368): broke some test262 tests
1118         https://bugs.webkit.org/show_bug.cgi?id=160479
1119
1120         Reviewed by Mark Lam.
1121         
1122         Added a stress test for this case, since we don't always run test262.
1123
1124         * stress/freeze-setter.js: Added.
1125         (let.o.set foo):
1126
1127 2016-08-03  Saam Barati  <sbarati@apple.com>
1128
1129         Implement nested rest destructuring w.r.t the ES7 spec
1130         https://bugs.webkit.org/show_bug.cgi?id=160423
1131
1132         Reviewed by Filip Pizlo.
1133
1134         * stress/destructuring-rest-element.js: Added.
1135         (assert):
1136         (test):
1137         (arr):
1138         (eq):
1139         (gen):
1140         (fakeGen.return.Symbol.iterator):
1141         (fakeGen):
1142         * stress/rest-elements.js:
1143         (testSyntaxError.String.raw):
1144         * stress/rest-parameter-is-destructuring.js: Added.
1145         (assert):
1146         (test):
1147         (foo):
1148         (bar):
1149         * test262.yaml:
1150
1151 2016-08-02  Saam Barati  <sbarati@apple.com>
1152
1153         Rename Changelog to ChangeLog
1154
1155         Rubber stamped by Keith Miller.
1156
1157         * Changelog: Removed.
1158
1159 2016-08-02  Saam Barati  <sbarati@apple.com>
1160
1161         update a class extending null w.r.t the ES7 spec
1162         https://bugs.webkit.org/show_bug.cgi?id=160417
1163
1164         Reviewed by Keith Miller.
1165
1166         * Changelog:
1167         * stress/class-derived-from-null.js: Added.
1168         (assert):
1169         (test):
1170         (test1.C):
1171         (test1):
1172         (jsNull):
1173         (test2.C):
1174         (test2):
1175         (test3.C):
1176         (test3.D):
1177         (test3.E):
1178         (test3):
1179         (test4.E):
1180         (test4):
1181         (test5.E):
1182         (test5):
1183         (test6.Base):
1184         (test6.D):
1185         (test6.E):
1186         (test6.F):
1187         (test6.G):
1188         (test6):
1189         * test262.yaml:
1190
1191 2016-08-01  Filip Pizlo  <fpizlo@apple.com>
1192
1193         Rationalize varargs stack overflow checks
1194         https://bugs.webkit.org/show_bug.cgi?id=160425
1195
1196         Reviewed by Michael Saboff.
1197
1198         * stress/arity-check-ftl-throw-more-args.js: Added.
1199         (catch):
1200
1201 2016-08-01  Keith Miller  <keith_miller@apple.com>
1202
1203         We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory.
1204         https://bugs.webkit.org/show_bug.cgi?id=160372
1205
1206         Rubber stamped by Geoffrey Garen.
1207
1208         This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to
1209         a new top level directory, JSTests. Having the tests in the Source directory
1210         was both confusing an inconvenient for people that just want to checkout the
1211         source code of WebKit. Since there is no other obvious place to put all the
1212         JavaScript tests a new top level directory seemed the most sensible.
1213
1214         * tests/: Deleted.