* bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
[WebKit-https.git] / JSTests / ChangeLog
1 2016-08-15  Ryan Haddad  <ryanhaddad@apple.com>
2
3         Skip failing test mozilla/ecma/LexicalConventions/7.7.3.js
4         https://bugs.webkit.org/show_bug.cgi?id=160662
5
6         Unreviewed test gardening.
7
8         * mozilla/ecma/LexicalConventions/7.7.3.js:
9
10 2016-08-14  Skachkov Oleksandr  <gskachkov@gmail.com>
11
12         [2016] Set correct status for test262 after implementation of Object.values&Object.entries
13         https://bugs.webkit.org/show_bug.cgi?id=160844
14
15         Reviewed by Saam Barati.
16
17         Patch contains fix statuses of specs in the test262 test collection after implementation of 
18         Object.values and Object.entries functions. Also patch contains small fixes in tests of the 
19         tests for Object.values/entries functions.
20
21         * stress/object-entries.js:
22         (Object.getOwnPropertyDescriptor):
23         * stress/object-values.js:
24         (Object.getOwnPropertyDescriptor):
25         * test262.yaml:
26
27 2016-08-12  Saam Barati  <sbarati@apple.com>
28
29         Inline store loop for CopyRest in DFG and FTL for certain array modes
30         https://bugs.webkit.org/show_bug.cgi?id=159612
31
32         Reviewed by Filip Pizlo.
33
34         * stress/rest-parameter-having-a-bad-time.js: Added.
35         * stress/rest-parameter-many-arguments.js: Added.
36         * stress/rest-parameter-various-types.js: Added.
37
38 2016-08-12  Skachkov Oleksandr  <gskachkov@gmail.com>
39
40         [ES2016] Implement Object.entries
41         https://bugs.webkit.org/show_bug.cgi?id=160412
42
43         Reviewed by Saam Barati.
44
45         Patch contains tests for Object.entries function and 
46         fix of wrong tests for Object.values function.
47
48         * stress/object-entries.js: 
49         (compare):
50         (string_appeared_here.forEach):
51         (const.getInvokedFunctions.):
52         (const.getInvokedFunctions):
53         (Array.prototype.push):
54         * stress/object-values.js:
55
56 2016-08-11  Mark Lam  <mark.lam@apple.com>
57
58         OverridesHasInstance should not branch across register allocations.
59         https://bugs.webkit.org/show_bug.cgi?id=160792
60         <rdar://problem/27361778>
61
62         Reviewed by Benjamin Poulain.
63
64         * stress/OverrideHasInstance-should-not-branch-across-register-allocations.js: Added.
65
66 2016-08-11  Mark Lam  <mark.lam@apple.com>
67
68         The jsc shell's Element host constructor should throw if it fails to construct an object.
69         https://bugs.webkit.org/show_bug.cgi?id=160773
70         <rdar://problem/27328608>
71
72         Reviewed by Saam Barati.
73
74         * stress/generational-opaque-roots.js:
75
76 2016-08-11  Mark Lam  <mark.lam@apple.com>
77
78         Disallow synchronous sweeping for eden GCs.
79         https://bugs.webkit.org/show_bug.cgi?id=160716
80
81         Reviewed by Geoffrey Garen.
82
83         * stress/eden-gc-with-retired-blocks.js: Added.
84         - This test is just in case we add back support for eden GCs with synchronous
85           sweeping in the future.
86
87 2016-08-10  Michael Saboff  <msaboff@apple.com>
88
89         Baseline GetByVal and PutByVal for cache ID stubs need to handle exceptions
90         https://bugs.webkit.org/show_bug.cgi?id=160749
91
92         Reviewed by Filip Pizlo.
93
94         New test that causes baseline GetByValWithCachedId and PutByValWithCachedId
95         stubs to be generated and then throws exceptions for those stub to handle
96         to verify that they are properly handled.
97
98         * stress/regress-160749.js: Added.
99         (testCachedGetByVal.):
100         (testCachedGetByVal.get for):
101         (testCachedGetByVal):
102         (testCachedPutByVal.):
103         (testCachedPutByVal.set for):
104         (testCachedPutByVal):
105
106 2016-08-10  Mark Lam  <mark.lam@apple.com>
107
108         DFG's flushForTerminal() needs to add PhantomLocals for bytecode live locals.
109         https://bugs.webkit.org/show_bug.cgi?id=160755
110         <rdar://problem/27488507>
111
112         Reviewed by Filip Pizlo.
113
114         * stress/need-bytecode-liveness-for-unreachable-blocks-at-dfg-time.js: Added.
115
116 2016-08-09  Skachkov Oleksandr  <gskachkov@gmail.com>
117
118         [ES2016] Implement Object.values
119         https://bugs.webkit.org/show_bug.cgi?id=160410
120
121         Reviewed by Saam Barati, Yusuke Suzuki.
122
123         * stress/object-values.js: Added.
124         (compare):
125         (string_appeared_here.forEach):
126         (const.getInvokedFunctions.):
127         (const.getInvokedFunctions):
128         (Array.prototype.push):
129
130 2016-08-09  Saam Barati  <sbarati@apple.com>
131
132         JSBoundFunction should lazily generate its name string
133         https://bugs.webkit.org/show_bug.cgi?id=160678
134         <rdar://problem/27043194>
135
136         Reviewed by Mark Lam.
137
138         * stress/bound-function-lazy-name-generation.js: Added.
139         (assert):
140         (test.let.f):
141         (test.f):
142         (test):
143
144 2016-08-08  Mark Lam  <mark.lam@apple.com>
145
146         ASSERTION FAILED: hasInlineStorage() in JSFinalObject::visitChildren().
147         https://bugs.webkit.org/show_bug.cgi?id=160666
148
149         Reviewed by Keith Miller.
150
151         * stress/object-constructor-should-be-new-target-aware.js:
152
153 2016-08-07  Yusuke Suzuki  <utatane.tea@gmail.com>
154
155         [ES6] Module namespace object should not allow unset IC
156         https://bugs.webkit.org/show_bug.cgi?id=160553
157
158         Reviewed by Saam Barati.
159
160         * modules/namespace-object-get-property.js: Added.
161         (import.as.ns.from.string_appeared_here.shouldThrow):
162         * modules/namespace-object-has-property.js: Added.
163         * modules/namespace-object-inline-caching.js: Added.
164         (import.as.A.from.string_appeared_here.import.as.B.from.string_appeared_here.lookup):
165         (shouldBe.lookup.lookup):
166         (shouldBe.lookup):
167         * modules/namespace-object-inline-caching/a.js: Added.
168         * modules/namespace-object-inline-caching/b.js: Added.
169         * modules/namespace-object-try-get.js: Added.
170         (import.as.ns.from.string_appeared_here.tryGetByIdText):
171         (tryGetByIdTextStrict):
172         * modules/namespace-object-typed-array-fast-path.js: Added.
173         * test262.yaml:
174
175 2016-08-05  Saam Barati  <sbarati@apple.com>
176
177         various math operations don't properly check for an exception after calling toNumber() on the lhs
178         https://bugs.webkit.org/show_bug.cgi?id=160154
179
180         Reviewed by Mark Lam.
181
182         * stress/to-number-throws-correct-exception.js: Added.
183         (test.let.test.runTest.):
184         (test.let.test.runTest.get f):
185         (test.let.test.runTest):
186         (test.let.test):
187         (test):
188         (test2.runTest.):
189         (test2.runTest.get f):
190         (test2.runTest):
191         (test2):
192
193 2016-08-05  Saam Barati  <sbarati@apple.com>
194
195         Assertion failure when accessing TDZ variable in catch through eval
196         https://bugs.webkit.org/show_bug.cgi?id=160554
197
198         Reviewed by Mark Lam and Keith Miller.
199
200         * stress/catch-variables-under-tdz.js: Added.
201         (test):
202
203 2016-08-04  Yusuke Suzuki  <utatane.tea@gmail.com>
204
205         [ES6] JSModuleNamespaceObject's Symbol.iterator function should have name
206         https://bugs.webkit.org/show_bug.cgi?id=160549
207
208         Reviewed by Saam Barati.
209
210         * modules/namespace-object-symbol-iterator-name.js: Added.
211         * test262.yaml:
212
213 2016-08-04  Keith Miller  <keith_miller@apple.com>
214
215         ASSERTION FAILED: !hasInstanceValueNode->isCellConstant() || defaultHasInstanceFunction == hasInstanceValueNode->asCell()
216         https://bugs.webkit.org/show_bug.cgi?id=160562
217
218         Reviewed by Mark Lam.
219
220         * stress/instanceof-late-constant-folding.js: Added.
221         (Constructor):
222         (value):
223         (body):
224
225 2016-08-04  Caitlin Potter  <caitp@igalia.com>
226
227         [JSC] fix generator-syntax.js JSTest again after yield grammar fix
228         https://bugs.webkit.org/show_bug.cgi?id=160550
229
230         Reviewed by Yusuke Suzuki.
231
232         * stress/generator-syntax.js:
233         (testYieldBindingIdentifier):
234
235 2016-08-03  Caitlin Potter  <caitp@igalia.com>
236
237         Clarify SyntaxErrors around yield and unskip tests
238         https://bugs.webkit.org/show_bug.cgi?id=158460
239
240         Reviewed by Saam Barati.
241
242         Fix and unskip tests which erroneously asserted that `yield` is not a
243         valid BindingIdentifier, and improve error message for YieldExpressions
244         occuring in Arrow formal parameters.
245
246         * stress/generator-syntax.js:
247         * stress/yield-out-of-generator.js:
248
249 2016-08-03  Filip Pizlo  <fpizlo@apple.com>
250
251         REGRESSION(r203368): broke some test262 tests
252         https://bugs.webkit.org/show_bug.cgi?id=160479
253
254         Reviewed by Mark Lam.
255         
256         Added a stress test for this case, since we don't always run test262.
257
258         * stress/freeze-setter.js: Added.
259         (let.o.set foo):
260
261 2016-08-03  Saam Barati  <sbarati@apple.com>
262
263         Implement nested rest destructuring w.r.t the ES7 spec
264         https://bugs.webkit.org/show_bug.cgi?id=160423
265
266         Reviewed by Filip Pizlo.
267
268         * stress/destructuring-rest-element.js: Added.
269         (assert):
270         (test):
271         (arr):
272         (eq):
273         (gen):
274         (fakeGen.return.Symbol.iterator):
275         (fakeGen):
276         * stress/rest-elements.js:
277         (testSyntaxError.String.raw):
278         * stress/rest-parameter-is-destructuring.js: Added.
279         (assert):
280         (test):
281         (foo):
282         (bar):
283         * test262.yaml:
284
285 2016-08-02  Saam Barati  <sbarati@apple.com>
286
287         Rename Changelog to ChangeLog
288
289         Rubber stamped by Keith Miller.
290
291         * Changelog: Removed.
292
293 2016-08-02  Saam Barati  <sbarati@apple.com>
294
295         update a class extending null w.r.t the ES7 spec
296         https://bugs.webkit.org/show_bug.cgi?id=160417
297
298         Reviewed by Keith Miller.
299
300         * Changelog:
301         * stress/class-derived-from-null.js: Added.
302         (assert):
303         (test):
304         (test1.C):
305         (test1):
306         (jsNull):
307         (test2.C):
308         (test2):
309         (test3.C):
310         (test3.D):
311         (test3.E):
312         (test3):
313         (test4.E):
314         (test4):
315         (test5.E):
316         (test5):
317         (test6.Base):
318         (test6.D):
319         (test6.E):
320         (test6.F):
321         (test6.G):
322         (test6):
323         * test262.yaml:
324
325 2016-08-01  Filip Pizlo  <fpizlo@apple.com>
326
327         Rationalize varargs stack overflow checks
328         https://bugs.webkit.org/show_bug.cgi?id=160425
329
330         Reviewed by Michael Saboff.
331
332         * stress/arity-check-ftl-throw-more-args.js: Added.
333         (catch):
334
335 2016-08-01  Keith Miller  <keith_miller@apple.com>
336
337         We should not keep the JavaScript tests inside the Source/JavaScriptCore/ directory.
338         https://bugs.webkit.org/show_bug.cgi?id=160372
339
340         Rubber stamped by Geoffrey Garen.
341
342         This patch moves all the JavaScript tests from Source/JavaScriptCore/tests to
343         a new top level directory, JSTests. Having the tests in the Source directory
344         was both confusing an inconvenient for people that just want to checkout the
345         source code of WebKit. Since there is no other obvious place to put all the
346         JavaScript tests a new top level directory seemed the most sensible.
347
348         * tests/: Deleted.