Make string MaxLength for all WTF and JS strings consistently equal to INT_MAX.
[WebKit-https.git] / JSTests / ChangeLog
1 2018-10-03  Mark Lam  <mark.lam@apple.com>
2
3         Make string MaxLength for all WTF and JS strings consistently equal to INT_MAX.
4         https://bugs.webkit.org/show_bug.cgi?id=190187
5         <rdar://problem/42512909>
6
7         Reviewed by Michael Saboff.
8
9         * stress/regress-190187.js: Added.
10
11 2018-10-02  Caio Lima  <ticaiolima@gmail.com>
12
13         [BigInt] BigInt.proptotype.toString is broken when radix is power of 2
14         https://bugs.webkit.org/show_bug.cgi?id=190033
15
16         Reviewed by Yusuke Suzuki.
17
18         * stress/big-int-to-string.js:
19
20 2018-10-01  Mark Lam  <mark.lam@apple.com>
21
22         Function.toString() should also copy the source code Functions that are class definitions.
23         https://bugs.webkit.org/show_bug.cgi?id=190186
24         <rdar://problem/44733360>
25
26         Reviewed by Saam Barati.
27
28         * stress/regress-190186.js: Added.
29
30 2018-10-01  Dominik Infuehr  <dinfuehr@igalia.com>
31
32         Split NaN-check into separate test
33         https://bugs.webkit.org/show_bug.cgi?id=190010
34
35         Reviewed by Saam Barati.
36
37         DataView exposes NaN-representation, which is not necessarily the same on each
38         architecture. Therefore move the check of the NaN-representation into its own
39         file such that we can disable this test on MIPS where NaN-representation can be
40         different on older CPUs.
41
42         * stress/dataview-jit-set-nan.js: Added.
43         (assert):
44         (test.storeLittleEndian):
45         (test.storeBigEndian):
46         (test.store):
47         (test):
48         * stress/dataview-jit-set.js:
49         (test5):
50
51 2018-10-01  Commit Queue  <commit-queue@webkit.org>
52
53         Unreviewed, rolling out r236647.
54         https://bugs.webkit.org/show_bug.cgi?id=190124
55
56         Breaking test stress/big-int-to-string.js (Requested by
57         caiolima_ on #webkit).
58
59         Reverted changeset:
60
61         "[BigInt] BigInt.proptotype.toString is broken when radix is
62         power of 2"
63         https://bugs.webkit.org/show_bug.cgi?id=190033
64         https://trac.webkit.org/changeset/236647
65
66 2018-09-30  Caio Lima  <ticaiolima@gmail.com>
67
68         [BigInt] BigInt.proptotype.toString is broken when radix is power of 2
69         https://bugs.webkit.org/show_bug.cgi?id=190033
70
71         Reviewed by Yusuke Suzuki.
72
73         * stress/big-int-to-string.js:
74
75 2018-09-28  Caio Lima  <ticaiolima@gmail.com>
76
77         [ESNext][BigInt] Implement support for "&"
78         https://bugs.webkit.org/show_bug.cgi?id=186228
79
80         Reviewed by Yusuke Suzuki.
81
82         * stress/big-int-bitwise-and-general.js: Added.
83         (assert):
84         (assert.sameValue):
85         * stress/big-int-bitwise-and-jit.js: Added.
86         (let.assert.sameValue):
87         (bigIntBitAnd):
88         * stress/big-int-bitwise-and-memory-stress.js: Added.
89         (assert):
90         * stress/big-int-bitwise-and-to-primitive-precedence.js: Added.
91         (assert.sameValue):
92         (let.o.Symbol.toPrimitive):
93         (catch):
94         * stress/big-int-bitwise-and-type-error.js: Added.
95         (assert):
96         (assertThrowTypeError):
97         (let.o.valueOf):
98         (o.valueOf):
99         (o.toString):
100         (o.Symbol.toPrimitive):
101         * stress/big-int-bitwise-and-wrapped-value.js: Added.
102         (assert.sameValue):
103         (testBitAnd):
104         (let.o.Symbol.toPrimitive):
105         (o.valueOf):
106         (o.toString):
107
108 2018-09-28  Ross Kirsling  <ross.kirsling@sony.com>
109
110         JSC test stress/jsc-read.js doesn't support CRLF
111         https://bugs.webkit.org/show_bug.cgi?id=190063
112
113         Reviewed by Yusuke Suzuki.
114
115         In order to run this test via Windows command prompt, we can't assume that the final newline will be LF.
116
117         * stress/jsc-read.js:
118         (test):
119
120 2018-09-27  Saam barati  <sbarati@apple.com>
121
122         Verify the contents of AssemblerBuffer on arm64e
123         https://bugs.webkit.org/show_bug.cgi?id=190057
124         <rdar://problem/38916630>
125
126         Reviewed by Mark Lam.
127
128         * stress/regress-189132.js:
129
130 2018-09-27  Dominik Infuehr  <dinfuehr@igalia.com>
131
132         Disable test without LLInt on ARMv7
133         https://bugs.webkit.org/show_bug.cgi?id=190037
134
135         Reviewed by Mark Lam.
136
137         Test runs out of executable memory on ARMv7, do not run
138         this test without LLInt enabled.
139
140         * stress/regress-169445.js:
141
142 2018-09-26  Keith Miller  <keith_miller@apple.com>
143
144         We should zero unused property storage when rebalancing array storage.
145         https://bugs.webkit.org/show_bug.cgi?id=188151
146
147         Reviewed by Michael Saboff.
148
149         * stress/splice-should-zero-property-storage-when-rebalancing.js: Added.
150
151 2018-09-20  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
152
153         [JSC] Optimize Array#lastIndexOf
154         https://bugs.webkit.org/show_bug.cgi?id=189780
155
156         Reviewed by Saam Barati.
157
158         * stress/array-lastindexof-array-prototype-trap.js: Added.
159         (shouldBe):
160         (AncestorArray.prototype.get 2):
161         (AncestorArray):
162         * stress/array-lastindexof-have-a-bad-time-c-runtime.js: Added.
163         (shouldBe):
164         * stress/array-lastindexof-hole-nan.js: Added.
165         (shouldBe):
166         (throw.new.Error):
167         * stress/array-lastindexof-infinity.js: Added.
168         (shouldBe):
169         (throw.new.Error):
170         * stress/array-lastindexof-negative-zero.js: Added.
171         (shouldBe):
172         (throw.new.Error):
173         * stress/array-lastindexof-own-getter.js: Added.
174         (shouldBe):
175         (throw.new.Error.get array):
176         (get array):
177         * stress/array-lastindexof-prototype-trap.js: Added.
178         (shouldBe):
179         (DerivedArray.prototype.get 2):
180         (DerivedArray):
181
182 2018-09-25  Saam Barati  <sbarati@apple.com>
183
184         Calls to baselineCodeBlockForOriginAndBaselineCodeBlock in operationMaterializeObjectInOSR should actually pass in the baseline CodeBlock
185         https://bugs.webkit.org/show_bug.cgi?id=189940
186         <rdar://problem/43640987>
187
188         Reviewed by Mark Lam.
189
190         * stress/use-baseline-codeblock-materialize-osr-exit.js: Added.
191
192 2018-09-24  Saam Barati  <sbarati@apple.com>
193
194         Array.prototype.indexOf fast path needs to ensure the length is still valid after performing effects
195         https://bugs.webkit.org/show_bug.cgi?id=189922
196         <rdar://problem/44651275>
197
198         Reviewed by Mark Lam.
199
200         * stress/array-indexof-fast-path-effects.js: Added.
201         * stress/array-indexof-cached-length.js: Added.
202
203 2018-09-24  Saam barati  <sbarati@apple.com>
204
205         ArgumentsEliminationPhase should snip basic blocks after proven OSR exits
206         https://bugs.webkit.org/show_bug.cgi?id=189682
207         <rdar://problem/43557315>
208
209         Reviewed by Mark Lam.
210
211         * stress/arguments-elimination-will-generate-edge-without-result.js: Added.
212         (foo):
213
214 2018-09-22  Saam barati  <sbarati@apple.com>
215
216         The sampling should not use Strong<CodeBlock> in its machineLocation field
217         https://bugs.webkit.org/show_bug.cgi?id=189319
218
219         Reviewed by Filip Pizlo.
220
221         * stress/sampling-profiler-richards.js: Added.
222
223 2018-09-19  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
224
225         [JSC] Optimize Array#indexOf in C++ runtime
226         https://bugs.webkit.org/show_bug.cgi?id=189507
227
228         Reviewed by Saam Barati.
229
230         * stress/array-indexof-array-prototype-trap.js: Added.
231         (shouldBe):
232         (AncestorArray.prototype.get 2):
233         (AncestorArray):
234         * stress/array-indexof-have-a-bad-time-c-runtime.js: Added.
235         (shouldBe):
236         * stress/array-indexof-hole-nan.js: Added.
237         (shouldBe):
238         (throw.new.Error):
239         * stress/array-indexof-infinity.js: Added.
240         (shouldBe):
241         (throw.new.Error):
242         * stress/array-indexof-negative-zero.js: Added.
243         (shouldBe):
244         (throw.new.Error):
245         * stress/array-indexof-own-getter.js: Added.
246         (shouldBe):
247         (throw.new.Error.get array):
248         (get array):
249         * stress/array-indexof-prototype-trap.js: Added.
250         (shouldBe):
251         (DerivedArray.prototype.get 2):
252         (DerivedArray):
253
254 2018-09-19  Saam barati  <sbarati@apple.com>
255
256         AI rule for MultiPutByOffset executes its effects in the wrong order
257         https://bugs.webkit.org/show_bug.cgi?id=189757
258         <rdar://problem/43535257>
259
260         Reviewed by Michael Saboff.
261
262         * stress/multi-put-by-offset-must-filter-value-before-filtering-base.js: Added.
263         (foo):
264         (Foo):
265         (g):
266
267 2018-09-17  Mark Lam  <mark.lam@apple.com>
268
269         Ensure that ForInContexts are invalidated if their loop local is over-written.
270         https://bugs.webkit.org/show_bug.cgi?id=189571
271         <rdar://problem/44402277>
272
273         Reviewed by Saam Barati.
274
275         * stress/regress-189571.js: Added.
276
277 2018-09-17  Saam barati  <sbarati@apple.com>
278
279         We must convert ProfileType to CheckStructureOrEmpty instead of CheckStructure
280         https://bugs.webkit.org/show_bug.cgi?id=189676
281         <rdar://problem/39682897>
282
283         Reviewed by Michael Saboff.
284
285         * typeProfiler/check-structure-or-empty-in-fixup.js: Added.
286         (A):
287         (K):
288         (i.catch):
289
290 2018-09-14  Saam barati  <sbarati@apple.com>
291
292         Don't dump OSRAvailabilityData in Graph::dump because a stale Availability may point to a Node that is already freed
293         https://bugs.webkit.org/show_bug.cgi?id=189628
294         <rdar://problem/39481690>
295
296         Reviewed by Mark Lam.
297
298         * stress/verbose-failure-dont-graph-dump-availability-already-freed.js: Added.
299         (foo):
300
301 2018-09-11  Mark Lam  <mark.lam@apple.com>
302
303         Test for array initialization in arrayProtoFuncSplice.
304         https://bugs.webkit.org/show_bug.cgi?id=170253
305         <rdar://problem/31328773>
306
307         Rubber-stamped by Saam Barati.
308
309         * stress/regress-170253.js: Added.
310
311 2018-09-11  Mark Lam  <mark.lam@apple.com>
312
313         Test for IntlObject initialization.
314         https://bugs.webkit.org/show_bug.cgi?id=170251
315         <rdar://problem/31328419>
316
317         Rubber-stamped by Saam Barati.
318
319         * stress/regress-170251.js: Added.
320
321 2018-09-11  Mark Lam  <mark.lam@apple.com>
322
323         Test for array memcpy'ing when JSGlobalObject::haveABadTime.
324         https://bugs.webkit.org/show_bug.cgi?id=169889
325         <rdar://problem/31155607>
326
327         Reviewed by Saam Barati.
328
329         * stress/regress-169889-array-concat.js: Added.
330         * stress/regress-169889-array-concat1.js: Added.
331         * stress/regress-169889-array-slice.js: Added.
332
333 2018-09-11  Mark Lam  <mark.lam@apple.com>
334
335         Test for incorrect check in emitPutDerivedConstructorToArrowFunctionContextScope.
336         https://bugs.webkit.org/show_bug.cgi?id=169445
337         <rdar://problem/30957435>
338
339         Reviewed by Saam Barati.
340
341         * stress/regress-169445.js: Added.
342         (let.gun.eval.A):
343         (let.gun.eval.B.C):
344         (let.gun.eval.B.C.prototype.trigger):
345         (let.gun.eval.B.C.prototype.triggerWithRestParameters):
346         (let.gun.eval.B):
347         (let.gun.eval):
348
349 == Rolled over to ChangeLog-2018-09-11 ==