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