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