fa5c6d6e6deae01486dc83986661ee1e5bd0c536
[WebKit-https.git] / JSTests / ChangeLog
1 2018-08-31  Mark Lam  <mark.lam@apple.com>
2
3         Add missing exception check in arrayProtoFuncLastIndexOf().
4         https://bugs.webkit.org/show_bug.cgi?id=189184
5         <rdar://problem/39785959>
6
7         Reviewed by Yusuke Suzuki.
8
9         * stress/regress-189184.js: Added.
10
11 2018-08-31  Saam barati  <sbarati@apple.com>
12
13         convertToRegExpMatchFastGlobal must use KnownString as the child use kind
14         https://bugs.webkit.org/show_bug.cgi?id=189173
15         <rdar://problem/43501645>
16
17         Reviewed by Michael Saboff.
18
19         * stress/may-exit-should-be-false-regexp-constant-folding.js: Added.
20         (foo):
21         (bar):
22
23 2018-08-30  Saam barati  <sbarati@apple.com>
24
25         CSE DataViewGet* DFG nodes
26         https://bugs.webkit.org/show_bug.cgi?id=188768
27
28         Reviewed by Yusuke Suzuki.
29
30         * microbenchmarks/dataview-cse.js: Added.
31         (assert):
32         (test):
33         * stress/dataview-get-cse.js: Added.
34         (assert):
35         (test1.foo):
36         (test1):
37         (test2.foo):
38         (test2):
39         (test3.foo):
40         (test3):
41         (test4.foo):
42         (test4):
43         (test5.foo):
44         (test5):
45         (test6.foo):
46         (test6):
47
48 2018-08-30  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
49
50         output of toString() of Generator is wrong
51         https://bugs.webkit.org/show_bug.cgi?id=188952
52
53         Reviewed by Saam Barati.
54
55         * stress/function-to-string.js: Added.
56         (shouldBe):
57         (shouldBe.test):
58         (test):
59         (shouldBe.async.test):
60         (async.test):
61         (shouldBe.async):
62         (async):
63         * test262/expectations.yaml:
64
65 2018-08-29  Mark Lam  <mark.lam@apple.com>
66
67         Add some missing exception checks in JSRopeString::resolveRopeToAtomicString().
68         https://bugs.webkit.org/show_bug.cgi?id=189132
69         <rdar://problem/42513068>
70
71         Reviewed by Saam Barati.
72
73         * stress/regress-189132.js: Added.
74
75 2018-08-27  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
76
77         [WebAssembly] Parse wasm modules in a streaming fashion
78         https://bugs.webkit.org/show_bug.cgi?id=188943
79
80         Reviewed by Mark Lam.
81
82         Wasm parsing error should not report the total byte size since streaming parsing does not
83         want to load all the bytes.
84         Add a simple test wasm/stress/streaming-basic.js for initial streaming parsing implementation.
85
86         * wasm/function-tests/invalid-duplicate-export.js:
87         * wasm/function-tests/memory-alignment.js:
88         (const.op.of.WASM.opcodes):
89         * wasm/function-tests/memory-section-and-import.js:
90         * wasm/function-tests/void-argument-type-should-be-a-validation-error.js:
91         * wasm/js-api/Module-compile.js:
92         (async.testPromiseAPI):
93         * wasm/js-api/element.js:
94         (assert.throws.new.WebAssembly.Module.builder.WebAssembly):
95         (assert.throws):
96         * wasm/js-api/global-error.js:
97         (assert.throws.new.WebAssembly.Module.bin):
98         (assert.throws):
99         * wasm/js-api/table.js:
100         (new.WebAssembly.Module):
101         (assert.throws):
102         (assertBadTableImport):
103         * wasm/js-api/test_Data.js:
104         (DataSectionWithoutMemory):
105         * wasm/js-api/test_Start.js:
106         (InvalidStartFunctionIndex):
107         * wasm/js-api/test_basic_api.js:
108         (const.c.in.constructorProperties.switch):
109         * wasm/js-api/version.js:
110         * wasm/stress/nameSection.wasm: Added.
111         * wasm/stress/streaming-basic.js: Added.
112         (check):
113
114 2018-08-27  Mark Lam  <mark.lam@apple.com>
115
116         Fix exception throwing code so that topCallFrame and topEntryFrame stay true to their names.
117         https://bugs.webkit.org/show_bug.cgi?id=188577
118         <rdar://problem/42985684>
119
120         Reviewed by Saam Barati.
121
122         * stress/regress-188577.js: Added.
123
124 2018-08-24  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
125
126         [JSC] Array.prototype.reverse modifies JSImmutableButterfly
127         https://bugs.webkit.org/show_bug.cgi?id=188794
128
129         Reviewed by Saam Barati.
130
131         * stress/reverse-with-immutable-butterfly.js: Added.
132         (shouldBe):
133         (reverseInt):
134         (reverseDouble):
135         (reverseContiguous):
136
137 2018-08-22  Saam barati  <sbarati@apple.com>
138
139         Make data-view-access.js run less time to prevent timeouts on 32-bit
140
141         * microbenchmarks/data-view-accesses.js:
142
143 2018-08-22  Mark Lam  <mark.lam@apple.com>
144
145         The DFG CFGSimplification phase shouldn’t jettison a block when it’s the target of both branch directions.
146         https://bugs.webkit.org/show_bug.cgi?id=188298
147         <rdar://problem/42888427>
148
149         Reviewed by Saam Barati.
150
151         * stress/bug-188298.js: Added.
152
153 2018-08-20  Saam barati  <sbarati@apple.com>
154
155         Inline DataView accesses into DFG/FTL
156         https://bugs.webkit.org/show_bug.cgi?id=188573
157         <rdar://problem/43286746>
158
159         Reviewed by Michael Saboff.
160
161         * microbenchmarks/data-view-accesses-2.js: Added.
162         (assert):
163         (let.p.of.Object.keys.let.str):
164         (let.p.of.Object.keys):
165         (test):
166         * microbenchmarks/data-view-accesses.js: Added.
167         (assert):
168         (let.p.of.Object.keys.let.str):
169         (let.p.of.Object.keys):
170         * stress/dataview-jit-bounds-checks.js: Added.
171         (assert):
172         (let.p.of.Object.keys.let.str):
173         (let.p.of.Object.keys):
174         * stress/dataview-jit-get.js: Added.
175         (assert):
176         (test1.bigEndian):
177         (test1.littleEndian):
178         (test1.biEndian):
179         (test1):
180         (test2.bigEndian):
181         (test2.littleEndian):
182         (test2.biEndian):
183         (test2):
184         (test3.bigEndian):
185         (test3.littleEndian):
186         (test3.biEndian):
187         (test3):
188         (test4.bigEndian):
189         (test4.littleEndian):
190         (test4.biEndian):
191         (test4):
192         (test5.bigEndian):
193         (test5.littleEndian):
194         (test5.biEndian):
195         (test5):
196         (test6.bigEndian):
197         (test6.littleEndian):
198         (test6.biEndian):
199         (test6):
200         (test7.load):
201         (test7):
202         (test8.load):
203         (test8):
204         * stress/dataview-jit-neuter.js: Added.
205         (assert):
206         (test.load):
207         (test):
208         (test2.load):
209         (test2):
210         * stress/dataview-jit-set.js: Added.
211         (assert):
212         (isLittleEndian):
213         (readByte):
214         (readHex):
215         (test.storeLittleEndian):
216         (test.storeBigEndian):
217         (test.store):
218         (test):
219         (test2.storeLittleEndian):
220         (test2.storeBigEndian):
221         (test2.store):
222         (test2):
223         (test3.storeLittleEndian):
224         (test3.storeBigEndian):
225         (test3.store):
226         (test3):
227         (test4.storeLittleEndian):
228         (test4.storeBigEndian):
229         (test4.store):
230         (test4):
231         (test5.storeLittleEndian):
232         (test5.storeBigEndian):
233         (test5.store):
234         (test5):
235         (test6.storeLittleEndian):
236         (test6.storeBigEndian):
237         (test6.store):
238         (test6):
239         (test7.store):
240         (test7):
241         (test8.store):
242         (test8):
243         * stress/dataview-jit-unaligned-accesses.js: Added.
244         (assert):
245         (let.p.of.Object.keys.let.str):
246         (let.p.of.Object.keys):
247
248 2018-08-20  Yusuke Suzuki  <utatane.tea@gmail.com>
249
250         [YARR] Extend size of fixed characters bulk matching in 64bit platform
251         https://bugs.webkit.org/show_bug.cgi?id=181989
252
253         Reviewed by Michael Saboff.
254
255         * stress/characters-regexp-ignore-case.js: Added.
256         (shouldBe):
257         (testH):
258         (testHe):
259         (testHel):
260         (testHell):
261         (testHello):
262         (testHelloW):
263         (testHelloWo):
264         (testHelloWor):
265         (testHelloWorl):
266         (testHelloWorld):
267         * stress/characters-regexp.js: Added.
268         (shouldBe):
269         (testH):
270         (testHe):
271         (testHel):
272         (testHell):
273         (testHello):
274         (testHelloW):
275         (testHelloWo):
276         (testHelloWor):
277         (testHelloWorl):
278         (testHelloWorld):
279
280 2018-08-17  Saam barati  <sbarati@apple.com>
281
282         intersectionOfPastValuesAtHead must filter values after they've observed an invalidation point
283         https://bugs.webkit.org/show_bug.cgi?id=188707
284         <rdar://problem/43015442>
285
286         Reviewed by Mark Lam.
287
288         * stress/cfa-expected-values-must-set-clobbered-to-false.js: Added.
289         (foo):
290         (let.comp.valueOf):
291         (result):
292
293 2018-08-10  Keith Miller  <keith_miller@apple.com>
294
295         Slicing an ArrayBuffer with a long number returns an ArrayBuffer with byteLength zero
296         https://bugs.webkit.org/show_bug.cgi?id=185127
297
298         Reviewed by Saam Barati.
299
300         Rebaseline the expectations.
301
302         * test262/expectations.yaml:
303
304 2018-08-10  Yusuke Suzuki  <yusukesuzuki@slowstart.org>
305
306         Date.UTC should not return NaN with only Year param
307         https://bugs.webkit.org/show_bug.cgi?id=188378
308
309         Reviewed by Keith Miller.
310
311         * ChakraCore.yaml:
312         * ChakraCore/test/Date/dateutc.baseline-jsc: Added.
313         * stress/date-utc-optional.js: Added.
314         (shouldBe):
315         * test262/expectations.yaml:
316
317 2018-08-08  Keith Miller  <keith_miller@apple.com>
318
319         Array.prototype.sort should call @toLength instead of ">>> 0"
320         https://bugs.webkit.org/show_bug.cgi?id=188430
321
322         Reviewed by Saam Barati.
323
324         * test262/expectations.yaml:
325
326 2018-08-08  Keith Miller  <keith_miller@apple.com>
327
328         Array.prototype.sort should throw TypeError if param is a not callable object
329         https://bugs.webkit.org/show_bug.cgi?id=188382
330
331         Reviewed by Saam Barati.
332
333         * test262/expectations.yaml:
334
335 2018-08-01  Andy VanWagoner  <andy@vanwagoner.family>
336
337         [INTL] Implement hourCycle in DateTimeFormat
338         https://bugs.webkit.org/show_bug.cgi?id=188006
339
340         Reviewed by Darin Adler.
341
342         Removed fixed hourCycle expectations.
343
344         * test262/expectations.yaml:
345
346 2018-07-25  Yusuke Suzuki  <utatane.tea@gmail.com>
347
348         [JSC] Record CoW status in ArrayProfile correctly
349         https://bugs.webkit.org/show_bug.cgi?id=187949
350
351         Reviewed by Saam Barati.
352
353         * stress/array-profile-should-record-copy-on-write.js: Added.
354         (shouldBe):
355         (test1):
356         (test2):
357         (test3):
358
359 2018-07-26  Mark Lam  <mark.lam@apple.com>
360
361         arrayProtoPrivateFuncConcatMemcpy() should handle copying from an Undecided type array.
362         https://bugs.webkit.org/show_bug.cgi?id=188065
363         <rdar://problem/42515726>
364
365         Reviewed by Saam Barati.
366
367         * stress/regress-188065.js: Added.
368
369 2018-07-25  Andy VanWagoner  <andy@vanwagoner.family>
370
371         [INTL] Call Typed Array elements toLocaleString with locale and options
372         https://bugs.webkit.org/show_bug.cgi?id=185796
373
374         Reviewed by Keith Miller.
375
376         Remove now passing TypedArray toLocaleString expectation.
377
378         * test262/expectations.yaml:
379
380 2018-07-25  Andy VanWagoner  <andy@vanwagoner.family>
381
382         [INTL] Intl constructor lengths should be configurable
383         https://bugs.webkit.org/show_bug.cgi?id=187960
384
385         Reviewed by Saam Barati.
386
387         Removed fixed length expectations, and updated Intl.Locale expectations
388         that error differently since r234127.
389
390         * test262/expectations.yaml:
391
392 2018-07-24  Commit Queue  <commit-queue@webkit.org>
393
394         Unreviewed, rolling out r234183.
395         https://bugs.webkit.org/show_bug.cgi?id=187983
396
397         cause regression in Kraken gaussian blur and desaturate
398         (Requested by yusukesuzuki on #webkit).
399
400         Reverted changeset:
401
402         "[JSC] Record CoW status in ArrayProfile"
403         https://bugs.webkit.org/show_bug.cgi?id=187949
404         https://trac.webkit.org/changeset/234183
405
406 2018-07-24  Yusuke Suzuki  <utatane.tea@gmail.com>
407
408         [JSC] Record CoW status in ArrayProfile
409         https://bugs.webkit.org/show_bug.cgi?id=187949
410
411         Reviewed by Saam Barati.
412
413         * stress/array-profile-should-record-copy-on-write.js: Added.
414         (shouldBe):
415         (test1):
416         (test2):
417         (test3):
418
419 2018-07-23  Saam Barati  <sbarati@apple.com>
420
421         need to didFoldClobberWorld when we constant fold GetByVal
422         https://bugs.webkit.org/show_bug.cgi?id=187917
423         <rdar://problem/42505095>
424
425         Reviewed by Yusuke Suzuki.
426
427         * stress/get-by-val-fold-did-clobber-world.js: Added.
428         (__f_443):
429
430 2018-07-23  Andy VanWagoner  <andy@vanwagoner.family>
431
432         [INTL] Language tags are not canonicalized
433         https://bugs.webkit.org/show_bug.cgi?id=185836
434
435         Reviewed by Keith Miller.
436
437         Remove expected failures that have been fixed.
438
439         * test262/expectations.yaml:
440
441 2018-07-22  Yusuke Suzuki  <utatane.tea@gmail.com>
442
443         [JSC] GetByIdVariant and InByIdVariant do not need slot base if they are not "hit" variants
444         https://bugs.webkit.org/show_bug.cgi?id=187891
445
446         Reviewed by Saam Barati.
447
448         * stress/in-miss-variant-merge.js: Added.
449         (shouldBe):
450         (test):
451         * stress/miss-variant-merge.js: Added.
452         (shouldBe):
453         (test):
454
455 2018-07-22  Yusuke Suzuki  <utatane.tea@gmail.com>
456
457         [DFG] Fold GetByVal if the indexed value is non configurable and non writable
458         https://bugs.webkit.org/show_bug.cgi?id=186462
459
460         Reviewed by Saam Barati.
461
462         * stress/folding-get-by-val-with-read-only-dont-delete-object.js: Added.
463         (shouldBe):
464         (test1):
465         (test2):
466         (test3):
467         (test4):
468         (test5):
469         * stress/folding-get-by-val-with-read-only-dont-delete-runtime-array.js: Added.
470         (shouldBe):
471         (test1):
472         (test2):
473         (test5):
474         * stress/folding-get-by-val-with-read-only-dont-delete.js: Added.
475         (shouldBe):
476         (test1):
477         (test2):
478         (test3):
479         (test4):
480         (test5):
481
482 2018-06-02  Filip Pizlo  <fpizlo@apple.com>
483
484         We should support CreateThis in the FTL
485         https://bugs.webkit.org/show_bug.cgi?id=164904
486
487         Reviewed by Yusuke Suzuki.
488
489         * microbenchmarks/polyvariant-get-by-id-shorter-tower.js: Added.
490         (polyvariant):
491         (Foo.prototype.func):
492         (Foo):
493         (foo):
494         (Bar.prototype.func):
495         (Bar):
496         (bar):
497         * microbenchmarks/polyvariant-get-by-id-tower.js: Added.
498         (polyvariant):
499         (Foo.prototype.func):
500         (Foo):
501         (foo):
502         (Bar.prototype.func):
503         (Bar):
504         (bar):
505         (Baz.prototype.func):
506         (Baz):
507         (baz):
508
509 2018-07-20  Michael Saboff  <msaboff@apple.com>
510
511         DFG AbstractInterpreter: CheckArray filters array modes for DirectArguments/ScopedArguments using only NonArray
512         https://bugs.webkit.org/show_bug.cgi?id=187827
513         rdar://problem/42146858
514
515         Reviewed by Saam Barati.
516
517         New regression tests.
518
519         * stress/direct-arguments-check-array.js: Added.
520         (setup.f2):
521         (setup):
522         (forOfArray):
523         (forOfArgs):
524         (callEveryOnArgs):
525         * stress/scoped-arguments-check-array.js: Added.
526         (setup.foo):
527         (setup.f2):
528         (setup):
529         (forOfArray):
530         (forOfArgs):
531         (callEveryOnArgs):
532
533 2018-07-20  Yusuke Suzuki  <utatane.tea@gmail.com>
534
535         [DFG] Fold GetByVal if Array is CoW
536         https://bugs.webkit.org/show_bug.cgi?id=186459
537
538         Reviewed by Saam Barati.
539
540         * stress/folding-get-by-val-with-immutable-butterfly-out-of-bounds-foldable.js: Added.
541         (shouldBe):
542         (test0):
543         (test1):
544         (test2):
545         (test3):
546         (test4):
547         (test5):
548         * stress/folding-get-by-val-with-immutable-butterfly-out-of-bounds.js: Added.
549         (shouldBe):
550         (test0):
551         (test1):
552         (test2):
553         (test3):
554         (test4):
555         (test5):
556         * stress/folding-get-by-val-with-immutable-butterfly-with-types.js: Added.
557         (shouldBe):
558         (test0):
559         (test1):
560         (test2):
561         (test3):
562         (test4):
563         (test5):
564         * stress/folding-get-by-val-with-immutable-butterfly.js: Added.
565         (shouldBe):
566         (checking):
567         (test):
568
569 2018-07-20  Saam Barati  <sbarati@apple.com>
570
571         CompareEq should be using KnownOtherUse instead of OtherUse
572         https://bugs.webkit.org/show_bug.cgi?id=186814
573         <rdar://problem/39720030>
574
575         Reviewed by Filip Pizlo.
576
577         * stress/compare-eq-should-use-known-other-use.js: Added.
578         (bar):
579         (i.func):
580
581 2018-07-20  David Fenton  <david_fenton@apple.com>
582
583         stress/spread-forward-varargs-stack-overflow.js is timing out in 32 bit JSC tests.
584         https://bugs.webkit.org/show_bug.cgi?id=187698
585
586         Unreviewed test gardening, skipped test in 32 Bit JSC.
587
588         * stress/spread-forward-varargs-stack-overflow.js:
589
590 2018-07-18  Yusuke Suzuki  <utatane.tea@gmail.com>
591
592         JSON.stringify should emit non own properties if second array argument includes
593         https://bugs.webkit.org/show_bug.cgi?id=187724
594
595         Reviewed by Mark Lam.
596
597         * stress/json-stringify-getter-call.js: Added.
598         (shouldBe):
599         (A.prototype.get cocoa):
600         (A.prototype.get cappuccino):
601         (A):
602         (shouldBe.JSON.stringify):
603
604 2018-07-18  Yusuke Suzuki  <utatane.tea@gmail.com>
605
606         [JSC] JSON.stringify's replacer should use `isArray` instead of JSArray checks
607         https://bugs.webkit.org/show_bug.cgi?id=187755
608
609         Reviewed by Mark Lam.
610
611         * stress/json-stringify-gap-calculation-should-be-after-replacer-check.js: Added.
612         (shouldThrow):
613         (shouldThrow.string.toString):
614         * test262/expectations.yaml:
615
616 2018-07-12  Yusuke Suzuki  <utatane.tea@gmail.com>
617
618         [JSC] Generator and AsyncGeneratorMethod's prototype is incorrect
619         https://bugs.webkit.org/show_bug.cgi?id=187585
620
621         Reviewed by Darin Adler.
622
623         * stress/default-proto-for-async-generator.js: Added.
624         (shouldBe):
625         (async.asyncGenerator):
626         * stress/default-proto-for-generator.js: Added.
627         (shouldBe):
628         (generator):
629         * stress/prototype-for-async-generator.js: Added.
630         (shouldBe):
631         (async.asyncGenerator):
632         (A.prototype.async.asyncGenerator):
633         (A):
634         * test262/expectations.yaml:
635
636 2018-07-11  Ryan Haddad  <ryanhaddad@apple.com>
637
638         Skip JSC test stress/keep-checks-when-converting-to-lazy-js-constant-in-strength-reduction.js
639         https://bugs.webkit.org/show_bug.cgi?id=187559
640
641         Unreviewed test gardening.
642
643         * stress/keep-checks-when-converting-to-lazy-js-constant-in-strength-reduction.js:
644
645 2018-07-11  Yusuke Suzuki  <utatane.tea@gmail.com>
646
647         Iterator of Array.keys() returns object in wrong order
648         https://bugs.webkit.org/show_bug.cgi?id=185197
649
650         Reviewed by Keith Miller.
651
652         We align the shape of our iterator result to the spec: {value,done} instead of {done,value}.
653
654         * stress/iterator-field-order.js: Added.
655         (shouldBe):
656         (shouldBe.JSON.stringify.array.values.next):
657         (shouldBe.JSON.stringify.array.keys.next):
658         (shouldBe.JSON.stringify.array.entries.next):
659         (async.asyncIterator):
660         (iterator.next.then):
661         (generator):
662         (shouldBe.JSON.stringify.generator.next):
663         (shouldBe.JSON.stringify.map.keys.next):
664         (shouldBe.JSON.stringify.map.values.next):
665         (shouldBe.JSON.stringify.map.entries.next):
666         (set new):
667
668 2018-07-11  Yusuke Suzuki  <utatane.tea@gmail.com>
669
670         Unreviewed, clean up test262 expectations
671
672         * test262/expectations.yaml:
673
674 2018-07-10  Mark Lam  <mark.lam@apple.com>
675
676         constructArray() should always allocate the requested length.
677         https://bugs.webkit.org/show_bug.cgi?id=187543
678         <rdar://problem/41947884>
679
680         Reviewed by Saam Barati.
681
682         * stress/regress-187543-2.js: Added.
683         * stress/regress-187543-3.js: Added.
684         * stress/regress-187543.js: Added.
685
686 2018-07-10  Keith Miller  <keith_miller@apple.com>
687
688         hasOwnProperty returns true for out of bounds property index on TypedArray
689         https://bugs.webkit.org/show_bug.cgi?id=187520
690
691         Reviewed by Saam Barati.
692
693         getOwnPropertySlot returns true on out of bounds indicies for
694         TypedArrays, which is incorrect.
695
696         * stress/typedarray-hasOwnProperty-out-of-bounds.js: Added.
697         (test):
698
699 2018-07-10  Michael Saboff  <msaboff@apple.com>
700
701         DFG JIT: compileMathIC produces incorrect machine code
702         https://bugs.webkit.org/show_bug.cgi?id=187537
703
704         Reviewed by Saam Barati.
705
706         Added new test case.
707
708         * stress/arith-mul-with-constants.js:
709         (testArithMulWithTypeConfusedConstant.testMult):
710         (testArithMulWithTypeConfusedConstant):
711
712 2018-07-10  Michael Saboff  <msaboff@apple.com>
713
714         YARR: . doesn't match non-BMP Unicode characters in some cases
715         https://bugs.webkit.org/show_bug.cgi?id=187248
716
717         Reviewed by Geoffrey Garen.
718
719         New regression test.
720
721         * stress/regexp-with-nonBMP-any.js: Added.
722
723 2018-07-09  Michael Saboff  <msaboff@apple.com>
724
725         REGRESSION (ICU-62100.0.1): JSC test mozilla-tests.yaml/ecma/String/15.5.4.12-3.js is failing
726         https://bugs.webkit.org/show_bug.cgi?id=187495
727
728         Reviewed by Saam Barati.
729
730         Commented out the Georgian section of this toUpper() test since Unicode 11 added new upper case characters for
731         most of this range.
732
733         * mozilla/ecma/String/15.5.4.12-3.js:
734         (getTestCases):
735         (DecimalToHexString):
736
737 2018-07-02  Sukolsak Sakshuwong  <sukolsak@gmail.com>
738
739         RegExp.exec returns wrong value with a long integer quantifier
740         https://bugs.webkit.org/show_bug.cgi?id=187042
741
742         Reviewed by Saam Barati.
743
744         * stress/regexp-large-quantifier.js: Added.
745         (testRegExp):
746         * stress/regress-159744.js:
747
748 2018-07-02  Ryosuke Niwa  <rniwa@webkit.org>
749
750         Repository fix after r233427 and r233443.
751         Added back the test which got erroneously deleted in r233443.
752
753         * stress/instanceof-non-object-prototype.js:
754
755 2018-07-02  Keith Miller  <keith_miller@apple.com>
756
757         InstanceOf IC should do generic if the prototype is not an object.
758         https://bugs.webkit.org/show_bug.cgi?id=187250
759
760         Reviewed by Mark Lam.
761
762         * stress/instanceof-non-object-prototype.js: Added.
763         (let):
764         (test):
765         (i.catch):
766
767 2018-06-30  Mark Lam  <mark.lam@apple.com>
768
769         Builtins and host functions should get their own structures.
770         https://bugs.webkit.org/show_bug.cgi?id=187211
771         <rdar://problem/41646336>
772
773         Reviewed by Saam Barati.
774
775         * stress/regress-187211.js: Added.
776
777 2018-06-29  Saam Barati  <sbarati@apple.com>
778
779         We shouldn't recurse into the parser when gathering metadata about various function offsets
780         https://bugs.webkit.org/show_bug.cgi?id=184074
781         <rdar://problem/37165897>
782
783         Reviewed by Mark Lam.
784
785         * microbenchmarks/try-get-by-id-basic.js:
786         (const.bench.f.const.fooPlusBar.createBuiltin):
787         * microbenchmarks/try-get-by-id-polymorphic.js:
788         (fooPlusBar.createBuiltin):
789         * stress/array-push-with-force-exit.js:
790         * stress/dont-crash-on-stack-overflow-when-parsing-builtin.js: Added.
791         (f):
792         * stress/dont-crash-on-stack-overflow-when-parsing-default-constructor.js: Added.
793         (foo):
794         (prototype.runNearStackLimit):
795         * stress/is-constructor.js:
796         * stress/tailCallForwardArguments.js:
797         (putFuncToPrivateName.createBuiltin):
798
799 2018-06-27  Mark Lam  <mark.lam@apple.com>
800
801         DFG's compileReallocatePropertyStorage() and compileAllocatePropertyStorage() slow paths should also clear unused properties.
802         https://bugs.webkit.org/show_bug.cgi?id=187091
803         <rdar://problem/41395624>
804
805         Reviewed by Yusuke Suzuki.
806
807         * stress/regress-187091.js: Added.
808
809 2018-06-27  Yusuke Suzuki  <utatane.tea@gmail.com>
810
811         [JSC] ArrayPatternNode::emitDirectBinding does not return assignment target value if dst is nullptr
812         https://bugs.webkit.org/show_bug.cgi?id=185943
813
814         Reviewed by Mark Lam.
815
816         * stress/direct-binding-return-result.js: Added.
817         (shouldBe):
818         (test):
819
820 2018-06-26  Mark Lam  <mark.lam@apple.com>
821
822         eval() is wrong about the LiteralParser never throwing any exceptions.
823         https://bugs.webkit.org/show_bug.cgi?id=187074
824         <rdar://problem/41461099>
825
826         Reviewed by Saam Barati.
827
828         * stress/regress-187074.js: Added.
829
830 2018-06-26  Mark Lam  <mark.lam@apple.com>
831
832         ASSERTION FAILED: length > butterfly->vectorLength() in JSObject::ensureLengthSlow().
833         https://bugs.webkit.org/show_bug.cgi?id=187060
834         <rdar://problem/41452767>
835
836         Reviewed by Keith Miller.
837
838         * stress/regress-187060.js: Added.
839
840 2018-06-25  Mark Lam  <mark.lam@apple.com>
841
842         constructArray() should set m_numValuesInVector to the specified length.
843         https://bugs.webkit.org/show_bug.cgi?id=187010
844         <rdar://problem/41392167>
845
846         Reviewed by Filip Pizlo.
847
848         * stress/regress-187010.js: Added.
849
850 2018-06-25  Mark Lam  <mark.lam@apple.com>
851
852         Add missing exception check in RegExpObjectInlines.h's collectMatches.
853         https://bugs.webkit.org/show_bug.cgi?id=187006
854         <rdar://problem/41418412>
855
856         Reviewed by Keith Miller.
857
858         * stress/regress-187006.js: Added.
859
860 2018-06-22  Keith Miller  <keith_miller@apple.com>
861
862         unshift should zero unused property storage
863         https://bugs.webkit.org/show_bug.cgi?id=186960
864
865         Reviewed by Saam Barati.
866
867         * stress/array-unshift-zero-property-storage.js: Added.
868         (run):
869         (test):
870
871 2018-06-22  Mark Lam  <mark.lam@apple.com>
872
873         PropertyCondition::isValidValueForAttributes() should also consider deleted values.
874         https://bugs.webkit.org/show_bug.cgi?id=186943
875         <rdar://problem/41370337>
876
877         Reviewed by Saam Barati.
878
879         * stress/regress-186943.js: Added.
880
881 2018-06-22  Keith Miller  <keith_miller@apple.com>
882
883         performProxyCall should toThis the value passed to its handler
884         https://bugs.webkit.org/show_bug.cgi?id=186951
885
886         Reviewed by Mark Lam.
887
888         * stress/proxy-call-apply-handler-to-this.js: Added.
889         (applyHandler):
890         (let.f.new.Proxy):
891         (withScope):
892         (lexicalScope):
893         (strictEvalScope):
894         (BigInt):
895
896 2018-06-20  Keith Miller  <keith_miller@apple.com>
897
898         flattenDictionaryStruture needs to zero inline storage.
899         https://bugs.webkit.org/show_bug.cgi?id=186869
900
901         Reviewed by Saam Barati.
902
903         * stress/flatten-object-zero-unused-inline-properties.js: Added.
904
905 2018-06-19  Saam Barati  <sbarati@apple.com>
906
907         DirectArguments::create needs to initialize to undefined instead of the empty value
908         https://bugs.webkit.org/show_bug.cgi?id=186818
909         <rdar://problem/38415177>
910
911         Reviewed by Filip Pizlo.
912
913         * stress/create-direct-arguments-in-osr-should-initialize-to-undefined.js: Added.
914         (foo):
915         (bar):
916
917 2018-06-19  Tadeu Zagallo  <tzagallo@apple.com>
918
919         ShadowChicken crashes with stack overflow in the LLInt
920         https://bugs.webkit.org/show_bug.cgi?id=186540
921         <rdar://problem/39682133>
922
923         Reviewed by Saam Barati.
924
925         Add test that stack overflows and crashes on ShadowChicken when JIT is
926         disabled and forceDebuggerBytecodeGeneration is enabled.
927
928         * stress/llint-stack-overflow-debugging-opcodes.js: Added.
929         (foo):
930         (catch):
931
932 2018-06-19  Leo Balter  <leonardo.balter@gmail.com>
933
934         [test262-runner] More updates to the skip list
935         https://bugs.webkit.org/show_bug.cgi?id=186786
936
937         Reviewed by Michael Saboff.
938
939         * test262/config.yaml:
940         * test262/expectations.yaml:
941
942 2018-06-19  Saam Barati  <sbarati@apple.com>
943
944         Wasm: Any function argument of type Void should be a validation error
945         https://bugs.webkit.org/show_bug.cgi?id=186794
946         <rdar://problem/41140257>
947
948         Reviewed by Keith Miller.
949
950         * wasm/Builder.js:
951         (const._normalizeFunctionSignature):
952         * wasm/function-tests/void-argument-type-should-be-a-validation-error.js: Added.
953         (getBinary):
954         * wasm/self-test/test_BuilderJSON.js:
955
956 2018-06-18  Keith Miller  <keith_miller@apple.com>
957
958         Properly zero unused property storage offsets
959         https://bugs.webkit.org/show_bug.cgi?id=186692
960
961         Reviewed by Filip Pizlo.
962
963         * stress/butterfly-zero-unused-butterfly-properties.js: Added.
964
965 2018-06-18  Michael Saboff  <msaboff@apple.com>
966
967         Support Unicode 11 in RegExp
968         https://bugs.webkit.org/show_bug.cgi?id=186685
969
970         Reviewed by Mark Lam.
971
972         * test262/config.yaml: Removed from skip list Unicode 11 property tests as they
973         are now supported.  Added new bug reference for still failing
974         test/built-ins/RegExp/property-escapes/character-class.js test.
975
976         * test262/test/built-ins/RegExp/property-escapes/unsupported-binary-properties.js:
977         Removed "Extended_Pictographic" from unsupported properties since Unicode 11 now supports them.
978
979 2018-06-16  Leo Balter  <leonardo.balter@gmail.com>
980
981         Update Test262 2018-06-15
982         https://bugs.webkit.org/show_bug.cgi?id=186695
983
984         Reviewed by Michael Saboff.
985
986         Also update the skip list - in the config file - with new failures
987         * test262/config.yaml:
988         * test262/expectations.yaml:
989         * test262/harness/testIntl.js:
990         (getInvalidLanguageTags):
991         * test262/latest-changes-summary.txt:
992         * test262/test/built-ins/Date/parse/time-value-maximum-range.js: Added.
993         * test262/test/built-ins/Date/parse/zero.js: Added.
994         * test262/test/built-ins/JSON/stringify/bigint-cross-realm.js: Added.
995         (other.BigInt.prototype.toJSON):
996         * test262/test/built-ins/Object/prototype/toString/symbol-tag-non-str-bigint.js: Added.
997         * test262/test/built-ins/Object/prototype/toString/symbol-tag-override-bigint.js: Added.
998         * test262/test/built-ins/Reflect/ownKeys/return-on-corresponding-order-large-index.js: Added.
999         * test262/test/built-ins/RegExp/property-escapes/character-class.js:
1000         * test262/test/built-ins/RegExp/property-escapes/generated/ASCII.js:
1001         * test262/test/built-ins/RegExp/property-escapes/generated/ASCII_Hex_Digit.js:
1002         * test262/test/built-ins/RegExp/property-escapes/generated/Alphabetic.js:
1003         * test262/test/built-ins/RegExp/property-escapes/generated/Any.js:
1004         * test262/test/built-ins/RegExp/property-escapes/generated/Assigned.js:
1005         * test262/test/built-ins/RegExp/property-escapes/generated/Bidi_Control.js:
1006         * test262/test/built-ins/RegExp/property-escapes/generated/Bidi_Mirrored.js:
1007         * test262/test/built-ins/RegExp/property-escapes/generated/Case_Ignorable.js:
1008         * test262/test/built-ins/RegExp/property-escapes/generated/Cased.js:
1009         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_Casefolded.js:
1010         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_Casemapped.js:
1011         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_Lowercased.js:
1012         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_NFKC_Casefolded.js:
1013         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_Titlecased.js:
1014         * test262/test/built-ins/RegExp/property-escapes/generated/Changes_When_Uppercased.js:
1015         * test262/test/built-ins/RegExp/property-escapes/generated/Dash.js:
1016         * test262/test/built-ins/RegExp/property-escapes/generated/Default_Ignorable_Code_Point.js:
1017         * test262/test/built-ins/RegExp/property-escapes/generated/Deprecated.js:
1018         * test262/test/built-ins/RegExp/property-escapes/generated/Diacritic.js:
1019         * test262/test/built-ins/RegExp/property-escapes/generated/Emoji.js:
1020         * test262/test/built-ins/RegExp/property-escapes/generated/Emoji_Component.js:
1021         * test262/test/built-ins/RegExp/property-escapes/generated/Emoji_Modifier.js:
1022         * test262/test/built-ins/RegExp/property-escapes/generated/Emoji_Modifier_Base.js:
1023         * test262/test/built-ins/RegExp/property-escapes/generated/Emoji_Presentation.js:
1024         * test262/test/built-ins/RegExp/property-escapes/generated/Extended_Pictographic.js: Added.
1025         * test262/test/built-ins/RegExp/property-escapes/generated/Extender.js:
1026         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Cased_Letter.js:
1027         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Close_Punctuation.js:
1028         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Connector_Punctuation.js:
1029         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Control.js:
1030         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Currency_Symbol.js:
1031         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Dash_Punctuation.js:
1032         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Decimal_Number.js:
1033         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Enclosing_Mark.js:
1034         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Final_Punctuation.js:
1035         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Format.js:
1036         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Initial_Punctuation.js:
1037         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Letter.js:
1038         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Letter_Number.js:
1039         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Line_Separator.js:
1040         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Lowercase_Letter.js:
1041         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Mark.js:
1042         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Math_Symbol.js:
1043         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Letter.js:
1044         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Symbol.js:
1045         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Nonspacing_Mark.js:
1046         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Number.js:
1047         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Open_Punctuation.js:
1048         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Other.js:
1049         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Letter.js:
1050         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Number.js:
1051         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Punctuation.js:
1052         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Symbol.js:
1053         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Paragraph_Separator.js:
1054         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Private_Use.js:
1055         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Punctuation.js:
1056         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Separator.js:
1057         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Space_Separator.js:
1058         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Spacing_Mark.js:
1059         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Surrogate.js:
1060         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Symbol.js:
1061         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Titlecase_Letter.js:
1062         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Unassigned.js:
1063         * test262/test/built-ins/RegExp/property-escapes/generated/General_Category_-_Uppercase_Letter.js:
1064         * test262/test/built-ins/RegExp/property-escapes/generated/Grapheme_Base.js:
1065         * test262/test/built-ins/RegExp/property-escapes/generated/Grapheme_Extend.js:
1066         * test262/test/built-ins/RegExp/property-escapes/generated/Hex_Digit.js:
1067         * test262/test/built-ins/RegExp/property-escapes/generated/IDS_Binary_Operator.js:
1068         * test262/test/built-ins/RegExp/property-escapes/generated/IDS_Trinary_Operator.js:
1069         * test262/test/built-ins/RegExp/property-escapes/generated/ID_Continue.js:
1070         * test262/test/built-ins/RegExp/property-escapes/generated/ID_Start.js:
1071         * test262/test/built-ins/RegExp/property-escapes/generated/Ideographic.js:
1072         * test262/test/built-ins/RegExp/property-escapes/generated/Join_Control.js:
1073         * test262/test/built-ins/RegExp/property-escapes/generated/Logical_Order_Exception.js:
1074         * test262/test/built-ins/RegExp/property-escapes/generated/Lowercase.js:
1075         * test262/test/built-ins/RegExp/property-escapes/generated/Math.js:
1076         * test262/test/built-ins/RegExp/property-escapes/generated/Noncharacter_Code_Point.js:
1077         * test262/test/built-ins/RegExp/property-escapes/generated/Pattern_Syntax.js:
1078         * test262/test/built-ins/RegExp/property-escapes/generated/Pattern_White_Space.js:
1079         * test262/test/built-ins/RegExp/property-escapes/generated/Quotation_Mark.js:
1080         * test262/test/built-ins/RegExp/property-escapes/generated/Radical.js:
1081         * test262/test/built-ins/RegExp/property-escapes/generated/Regional_Indicator.js:
1082         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Adlam.js:
1083         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ahom.js:
1084         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Anatolian_Hieroglyphs.js:
1085         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Arabic.js:
1086         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Armenian.js:
1087         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Avestan.js:
1088         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Balinese.js:
1089         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Bamum.js:
1090         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Bassa_Vah.js:
1091         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Batak.js:
1092         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Bengali.js:
1093         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Bhaiksuki.js:
1094         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Bopomofo.js:
1095         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Brahmi.js:
1096         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Braille.js:
1097         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Buginese.js:
1098         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Buhid.js:
1099         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Canadian_Aboriginal.js:
1100         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Carian.js:
1101         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Caucasian_Albanian.js:
1102         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Chakma.js:
1103         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Cham.js:
1104         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Cherokee.js:
1105         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Common.js:
1106         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Coptic.js:
1107         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Cuneiform.js:
1108         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Cypriot.js:
1109         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Cyrillic.js:
1110         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Deseret.js:
1111         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Devanagari.js:
1112         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Dogra.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Kaithi.js.
1113         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Duployan.js:
1114         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Egyptian_Hieroglyphs.js:
1115         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Elbasan.js:
1116         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ethiopic.js:
1117         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Georgian.js:
1118         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Glagolitic.js:
1119         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Gothic.js:
1120         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Grantha.js:
1121         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Greek.js:
1122         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Gujarati.js:
1123         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Gunjala_Gondi.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Chakma.js.
1124         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Gurmukhi.js:
1125         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Han.js:
1126         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hangul.js:
1127         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hanifi_Rohingya.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ahom.js.
1128         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hanunoo.js:
1129         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hatran.js:
1130         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hebrew.js:
1131         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Hiragana.js:
1132         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Imperial_Aramaic.js:
1133         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Inherited.js:
1134         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Inscriptional_Pahlavi.js:
1135         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Inscriptional_Parthian.js:
1136         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Javanese.js:
1137         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Kaithi.js:
1138         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Kannada.js:
1139         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Katakana.js:
1140         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Kayah_Li.js:
1141         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Kharoshthi.js:
1142         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Khmer.js:
1143         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Khojki.js:
1144         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Khudawadi.js:
1145         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lao.js:
1146         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Latin.js:
1147         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lepcha.js:
1148         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Limbu.js:
1149         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Linear_A.js:
1150         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Linear_B.js:
1151         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lisu.js:
1152         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lycian.js:
1153         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lydian.js:
1154         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Mahajani.js:
1155         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Makasar.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lycian.js.
1156         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Malayalam.js:
1157         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Mandaic.js:
1158         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Manichaean.js:
1159         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Marchen.js:
1160         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Masaram_Gondi.js:
1161         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Medefaidrin.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Carian.js.
1162         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Meetei_Mayek.js:
1163         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Mende_Kikakui.js:
1164         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Meroitic_Cursive.js:
1165         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Meroitic_Hieroglyphs.js:
1166         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Miao.js:
1167         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Modi.js:
1168         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Mongolian.js:
1169         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Mro.js:
1170         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Multani.js:
1171         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Myanmar.js:
1172         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Nabataean.js:
1173         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_New_Tai_Lue.js:
1174         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Newa.js:
1175         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Nko.js:
1176         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Nushu.js:
1177         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ogham.js:
1178         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ol_Chiki.js:
1179         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Hungarian.js:
1180         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Italic.js:
1181         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_North_Arabian.js:
1182         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Permic.js:
1183         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Persian.js:
1184         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Sogdian.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Gothic.js.
1185         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_South_Arabian.js:
1186         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Old_Turkic.js:
1187         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Oriya.js:
1188         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Osage.js:
1189         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Osmanya.js:
1190         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Pahawh_Hmong.js:
1191         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Palmyrene.js:
1192         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Pau_Cin_Hau.js:
1193         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Phags_Pa.js:
1194         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Phoenician.js:
1195         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Psalter_Pahlavi.js:
1196         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Rejang.js:
1197         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Runic.js:
1198         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Samaritan.js:
1199         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Saurashtra.js:
1200         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sharada.js:
1201         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Shavian.js:
1202         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Siddham.js:
1203         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_SignWriting.js:
1204         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sinhala.js:
1205         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sogdian.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Lycian.js.
1206         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sora_Sompeng.js:
1207         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Soyombo.js:
1208         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Sundanese.js:
1209         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Syloti_Nagri.js:
1210         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Syriac.js:
1211         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tagalog.js:
1212         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tagbanwa.js:
1213         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Le.js:
1214         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Tham.js:
1215         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tai_Viet.js:
1216         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Takri.js:
1217         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tamil.js:
1218         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tangut.js:
1219         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Telugu.js:
1220         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Thaana.js:
1221         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Thai.js:
1222         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tibetan.js:
1223         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tifinagh.js:
1224         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Tirhuta.js:
1225         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Ugaritic.js:
1226         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Vai.js:
1227         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Warang_Citi.js:
1228         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Yi.js:
1229         * test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Zanabazar_Square.js:
1230         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js:
1231         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ahom.js:
1232         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Anatolian_Hieroglyphs.js:
1233         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Arabic.js:
1234         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Armenian.js:
1235         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Avestan.js:
1236         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Balinese.js:
1237         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Bamum.js:
1238         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Bassa_Vah.js:
1239         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Batak.js:
1240         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Bengali.js:
1241         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Bhaiksuki.js:
1242         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Bopomofo.js:
1243         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Brahmi.js:
1244         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Braille.js:
1245         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Buginese.js:
1246         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Buhid.js:
1247         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Canadian_Aboriginal.js:
1248         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Carian.js:
1249         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Caucasian_Albanian.js:
1250         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Chakma.js:
1251         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Cham.js:
1252         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Cherokee.js:
1253         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Common.js:
1254         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Coptic.js:
1255         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Cuneiform.js:
1256         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Cypriot.js:
1257         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Cyrillic.js:
1258         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Deseret.js:
1259         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Devanagari.js:
1260         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Dogra.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mahajani.js.
1261         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Duployan.js:
1262         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Egyptian_Hieroglyphs.js:
1263         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Elbasan.js:
1264         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ethiopic.js:
1265         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Georgian.js:
1266         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Glagolitic.js:
1267         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Gothic.js:
1268         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Grantha.js:
1269         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Greek.js:
1270         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Gujarati.js:
1271         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Gunjala_Gondi.js: Added.
1272         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Gurmukhi.js:
1273         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Han.js:
1274         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hangul.js:
1275         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hanifi_Rohingya.js: Added.
1276         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hanunoo.js:
1277         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hatran.js:
1278         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hebrew.js:
1279         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hiragana.js:
1280         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Imperial_Aramaic.js:
1281         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Inherited.js:
1282         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Inscriptional_Pahlavi.js:
1283         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Inscriptional_Parthian.js:
1284         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Javanese.js:
1285         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kaithi.js:
1286         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kannada.js:
1287         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Katakana.js:
1288         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kayah_Li.js:
1289         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kharoshthi.js:
1290         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Khmer.js:
1291         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Khojki.js:
1292         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Khudawadi.js:
1293         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Lao.js:
1294         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Latin.js:
1295         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Lepcha.js:
1296         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Limbu.js:
1297         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Linear_A.js:
1298         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Linear_B.js:
1299         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Lisu.js:
1300         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Lycian.js:
1301         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Lydian.js:
1302         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mahajani.js:
1303         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Makasar.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Adlam.js.
1304         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Malayalam.js:
1305         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mandaic.js:
1306         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Manichaean.js:
1307         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Marchen.js:
1308         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Masaram_Gondi.js:
1309         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Medefaidrin.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Avestan.js.
1310         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Meetei_Mayek.js:
1311         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mende_Kikakui.js:
1312         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Meroitic_Cursive.js:
1313         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Meroitic_Hieroglyphs.js:
1314         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Miao.js:
1315         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Modi.js:
1316         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mongolian.js:
1317         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mro.js:
1318         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Multani.js:
1319         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Myanmar.js:
1320         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Nabataean.js:
1321         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_New_Tai_Lue.js:
1322         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Newa.js:
1323         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Nko.js:
1324         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Nushu.js:
1325         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ogham.js:
1326         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ol_Chiki.js:
1327         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Hungarian.js:
1328         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Italic.js:
1329         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_North_Arabian.js:
1330         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Permic.js:
1331         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Persian.js:
1332         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Sogdian.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_-_Khojki.js.
1333         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_South_Arabian.js:
1334         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Old_Turkic.js:
1335         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Oriya.js:
1336         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Osage.js:
1337         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Osmanya.js:
1338         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Pahawh_Hmong.js:
1339         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Palmyrene.js:
1340         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Pau_Cin_Hau.js:
1341         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Phags_Pa.js:
1342         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Phoenician.js:
1343         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Psalter_Pahlavi.js:
1344         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Rejang.js:
1345         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Runic.js:
1346         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Samaritan.js:
1347         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Saurashtra.js:
1348         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sharada.js:
1349         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Shavian.js:
1350         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Siddham.js:
1351         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_SignWriting.js:
1352         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sinhala.js:
1353         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sogdian.js: Copied from JSTests/test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Manichaean.js.
1354         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sora_Sompeng.js:
1355         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Soyombo.js:
1356         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Sundanese.js:
1357         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Syloti_Nagri.js:
1358         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Syriac.js:
1359         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tagalog.js:
1360         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tagbanwa.js:
1361         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Le.js:
1362         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Tham.js:
1363         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tai_Viet.js:
1364         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Takri.js:
1365         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tamil.js:
1366         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tangut.js:
1367         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Telugu.js:
1368         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Thaana.js:
1369         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Thai.js:
1370         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tibetan.js:
1371         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tifinagh.js:
1372         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tirhuta.js:
1373         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ugaritic.js:
1374         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Vai.js:
1375         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Warang_Citi.js:
1376         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Yi.js:
1377         * test262/test/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Zanabazar_Square.js:
1378         * test262/test/built-ins/RegExp/property-escapes/generated/Sentence_Terminal.js:
1379         * test262/test/built-ins/RegExp/property-escapes/generated/Soft_Dotted.js:
1380         * test262/test/built-ins/RegExp/property-escapes/generated/Terminal_Punctuation.js:
1381         * test262/test/built-ins/RegExp/property-escapes/generated/Unified_Ideograph.js:
1382         * test262/test/built-ins/RegExp/property-escapes/generated/Uppercase.js:
1383         * test262/test/built-ins/RegExp/property-escapes/generated/Variation_Selector.js:
1384         * test262/test/built-ins/RegExp/property-escapes/generated/White_Space.js:
1385         * test262/test/built-ins/RegExp/property-escapes/generated/XID_Continue.js:
1386         * test262/test/built-ins/RegExp/property-escapes/generated/XID_Start.js:
1387         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/internal-regexp-lastindex-not-zero.js: Removed.
1388         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-called-once.js: Renamed from JSTests/test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-is-false.js.
1389         (o.get Symbol):
1390         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-throws.js: Removed.
1391         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/regexpcreate-this-throws.js:
1392         * test262/test/built-ins/Symbol/matchAll/prop-desc.js:
1393         * test262/test/built-ins/Symbol/prototype/description/description-symboldescriptivestring.js: Added.
1394         * test262/test/built-ins/Symbol/prototype/description/descriptor.js: Added.
1395         * test262/test/built-ins/Symbol/prototype/description/get.js: Added.
1396         * test262/test/built-ins/Symbol/prototype/description/is-not-own-property.js: Added.
1397         * test262/test/built-ins/Symbol/prototype/description/this-val-non-symbol.js: Added.
1398         * test262/test/built-ins/Symbol/prototype/description/this-val-symbol.js: Added.
1399         * test262/test/built-ins/Symbol/prototype/description/wrapper.js: Added.
1400         * test262/test/intl402/Intl/getCanonicalLocales/Locale-object.js: Added.
1401         * test262/test/intl402/Locale/constructor-options-collation-invalid.js:
1402         * test262/test/intl402/Locale/constructor-options-collation-valid.js:
1403         * test262/test/intl402/Locale/constructor-options-hourcycle-valid.js:
1404         * test262/test/intl402/Locale/constructor-options-language-invalid.js:
1405         * test262/test/intl402/Locale/constructor-options-numberingsystem-invalid.js:
1406         * test262/test/intl402/Locale/constructor-options-numberingsystem-valid.js:
1407         * test262/test/intl402/Locale/constructor-tag.js: Added.
1408         (canonical.of.Object.entries):
1409         * test262/test/intl402/Locale/likely-subtags.js: Added.
1410         (maximal.of.Object.entries):
1411         (minimal.of.Object.entries):
1412         * test262/test/intl402/Locale/prototype/baseName/branding.js: Added.
1413         * test262/test/intl402/Locale/prototype/baseName/name.js: Added.
1414         * test262/test/intl402/Locale/prototype/baseName/prop-desc.js:
1415         * test262/test/intl402/Locale/prototype/calendar/branding.js: Added.
1416         * test262/test/intl402/Locale/prototype/calendar/name.js: Added.
1417         * test262/test/intl402/Locale/prototype/calendar/prop-desc.js:
1418         * test262/test/intl402/Locale/prototype/caseFirst/branding.js: Added.
1419         * test262/test/intl402/Locale/prototype/caseFirst/name.js: Added.
1420         * test262/test/intl402/Locale/prototype/caseFirst/prop-desc.js:
1421         * test262/test/intl402/Locale/prototype/collation/branding.js: Added.
1422         * test262/test/intl402/Locale/prototype/collation/name.js: Added.
1423         * test262/test/intl402/Locale/prototype/collation/prop-desc.js:
1424         * test262/test/intl402/Locale/prototype/hourCycle/branding.js: Added.
1425         * test262/test/intl402/Locale/prototype/hourCycle/name.js: Added.
1426         * test262/test/intl402/Locale/prototype/hourCycle/prop-desc.js:
1427         * test262/test/intl402/Locale/prototype/language/branding.js: Added.
1428         * test262/test/intl402/Locale/prototype/language/name.js: Added.
1429         * test262/test/intl402/Locale/prototype/language/prop-desc.js:
1430         * test262/test/intl402/Locale/prototype/maximize/branding.js: Added.
1431         * test262/test/intl402/Locale/prototype/minimize/branding.js: Added.
1432         * test262/test/intl402/Locale/prototype/numberingSystem/branding.js: Added.
1433         * test262/test/intl402/Locale/prototype/numberingSystem/name.js: Added.
1434         * test262/test/intl402/Locale/prototype/numberingSystem/prop-desc.js:
1435         * test262/test/intl402/Locale/prototype/numeric/branding.js: Added.
1436         * test262/test/intl402/Locale/prototype/numeric/name.js: Added.
1437         * test262/test/intl402/Locale/prototype/numeric/prop-desc.js:
1438         * test262/test/intl402/Locale/prototype/region/branding.js: Added.
1439         * test262/test/intl402/Locale/prototype/region/name.js: Added.
1440         * test262/test/intl402/Locale/prototype/region/prop-desc.js:
1441         * test262/test/intl402/Locale/prototype/script/branding.js: Added.
1442         * test262/test/intl402/Locale/prototype/script/name.js: Added.
1443         * test262/test/intl402/Locale/prototype/script/prop-desc.js:
1444         * test262/test/intl402/Locale/prototype/toString/branding.js: Added.
1445         * test262/test/intl402/NumberFormat/length.js:
1446         * test262/test/intl402/PluralRules/prototype/resolvedOptions/pluralCategories.js: Added.
1447         * test262/test/language/expressions/tagged-template/template-object-template-map.js: Added.
1448         (tag):
1449         * test262/test/language/expressions/tagged-template/template-object.js:
1450         (templateObject.tag):
1451         * test262/test/language/literals/numeric/numeric-separator-literal-bil-bd-nsl-bd-err.js:
1452         * test262/test/language/literals/numeric/numeric-separator-literal-bil-nsl-bd-dunder-err.js:
1453         * test262/test/language/literals/numeric/numeric-separator-literal-bil-nsl-bd-err.js:
1454         * test262/test/language/literals/numeric/numeric-separator-literal-dd-nsl-dds-dunder-err.js:
1455         * test262/test/language/literals/numeric/numeric-separator-literal-dd-nsl-err.js:
1456         * test262/test/language/literals/numeric/numeric-separator-literal-dds-nsl-dds-dunder-err.js:
1457         * test262/test/language/literals/numeric/numeric-separator-literal-dds-nsl-err.js:
1458         * test262/test/language/literals/numeric/numeric-separator-literal-dil-dot-dds-nsl-ep-dd-err.js:
1459         * test262/test/language/literals/numeric/numeric-separator-literal-dil-dot-nsl-ep-err.js:
1460         * test262/test/language/literals/numeric/numeric-separator-literal-dil-dot-nsl-err.js:
1461         * test262/test/language/literals/numeric/numeric-separator-literal-dot-dds-nsl-ep-err.js:
1462         * test262/test/language/literals/numeric/numeric-separator-literal-dot-nsl-ep-err.js:
1463         * test262/test/language/literals/numeric/numeric-separator-literal-dot-nsl-err.js:
1464         * test262/test/language/literals/numeric/numeric-separator-literal-hil-hd-nsl-hd-err.js:
1465         * test262/test/language/literals/numeric/numeric-separator-literal-hil-nsl-hd-dunder-err.js:
1466         * test262/test/language/literals/numeric/numeric-separator-literal-hil-nsl-hd-err.js:
1467         * test262/test/language/literals/numeric/numeric-separator-literal-nzd-nsl-dds-dunder-err.js:
1468         * test262/test/language/literals/numeric/numeric-separator-literal-nzd-nsl-dds-leading-zero-err.js:
1469         * test262/test/language/literals/numeric/numeric-separator-literal-oil-nsl-od-dunder-err.js:
1470         * test262/test/language/literals/numeric/numeric-separator-literal-oil-nsl-od-err.js:
1471         * test262/test/language/literals/numeric/numeric-separator-literal-oil-od-nsl-od-err.js:
1472         * test262/test/language/literals/numeric/numeric-separator-literal-unicode-err.js:
1473         * test262/test262-Revision.txt:
1474
1475 2018-06-16  Yusuke Suzuki  <utatane.tea@gmail.com>
1476
1477         [DFG] Reduce OSRExit for Kraken/crypto-aes due to CoW array
1478         https://bugs.webkit.org/show_bug.cgi?id=186721
1479
1480         Reviewed by Keith Miller.
1481
1482         * stress/array-slice-cow.js: Added.
1483         (shouldBe):
1484         (testInt32):
1485         (testDouble):
1486         (testContiguous):
1487
1488 2018-06-15  Yusuke Suzuki  <utatane.tea@gmail.com>
1489
1490         [DFG][FTL] Spread onto PhantomNewArrayBuffer assumes JSFixedArray, but JSImmutableButterfly is returned
1491         https://bugs.webkit.org/show_bug.cgi?id=186460
1492
1493         Reviewed by Saam Barati.
1494
1495         * stress/spread-escapes-but-new-array-buffer-does-not-double.js: Added.
1496         (assert):
1497         (getProperties):
1498         (theFunc):
1499         (let.obj.valueOf):
1500
1501 2018-06-14  Leo Balter  <leonardo.balter@gmail.com>
1502
1503         Test262-Runner: Update config list with some failing tests
1504         https://bugs.webkit.org/show_bug.cgi?id=185628
1505
1506         Reviewed by Michael Saboff.
1507
1508         The config list is updated to match some slow / hanging tests that are currenctly failing
1509         due to the length used in Array or Array like objects.
1510
1511         This also adds matching bugs for known features that are still in progress and not enabled
1512         yet.
1513         * test262/config.yaml:
1514
1515 2018-06-12  Yusuke Suzuki  <utatane.tea@gmail.com>
1516
1517         Update test262 for Array#sort
1518         https://bugs.webkit.org/show_bug.cgi?id=186458
1519
1520         * test262/expectations.yaml:
1521
1522 2018-06-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1523
1524         [JSC] Array.prototype.sort should rejects null comparator
1525         https://bugs.webkit.org/show_bug.cgi?id=186458
1526
1527         Reviewed by Keith Miller.
1528
1529         * ChakraCore/test/Array/array_sort.baseline-jsc:
1530         * stress/array-sort-bad-comparator.js:
1531         (test):
1532         * stress/sort-null-comparator.js: Removed.
1533         * test262/expectations.yaml:
1534
1535 2018-06-07  Saam Barati  <sbarati@apple.com>
1536
1537         Make DFG to FTL OSR entry code more sane by removing bad RELEASE_ASSERTS and making it trigger compiles in outer loops before inner ones
1538         https://bugs.webkit.org/show_bug.cgi?id=186218
1539         <rdar://problem/38449540>
1540
1541         Reviewed by Filip Pizlo.
1542
1543         * stress/dont-crash-ftl-osr-entry.js: Added.
1544
1545 2018-06-06  Yusuke Suzuki  <utatane.tea@gmail.com>
1546
1547         [DFG] Compare operations do not respect negative zeros
1548         https://bugs.webkit.org/show_bug.cgi?id=183729
1549
1550         Reviewed by Saam Barati.
1551
1552         * stress/comparison-ignore-negative-zero.js: Added.
1553         (shouldBe):
1554         (zero):
1555         (negativeZero):
1556         (object.valueOf):
1557         (test):
1558
1559 2018-06-06  Saam Barati  <sbarati@apple.com>
1560
1561         generateConditionsForInstanceOf needs to see if the object has a poly proto structure before assuming it has a constant prototype
1562         https://bugs.webkit.org/show_bug.cgi?id=186363
1563
1564         Rubber-stamped by Filip Pizlo.
1565
1566         * stress/instance-of-on-poly-proto-opc-should-not-crash.js: Added.
1567
1568 2018-06-05  David Fenton  <david_fenton@apple.com>
1569
1570         Temporarily Skip JSC stress test failures that are consistently occurring.
1571         https://bugs.webkit.org/show_bug.cgi?id=186283
1572
1573         Unreviewed test gardening.
1574
1575         * executableAllocationFuzz.yaml:
1576         * slowMicrobenchmarks/default-derived-constructor.js:
1577         * stress/put-direct-index-broken-2.js:
1578         * stress/splay-flash-access.js:
1579         * stress/spread-forward-call-varargs-stack-overflow.js:
1580
1581 2018-06-04  Keith Miller  <keith_miller@apple.com>
1582
1583         Add test for CoW conversions in the DFG/FTL
1584         https://bugs.webkit.org/show_bug.cgi?id=186295
1585
1586         Reviewed by Saam Barati.
1587
1588         * stress/arrayprofile-should-not-convert-get-by-val-cow.js: Added.
1589         (assertEq):
1590         (withArrayArgInt32):
1591         (withArrayLiteralInt32):
1592         (withArrayArgDouble):
1593         (withArrayLiteralDouble):
1594         (withArrayArgContiguous):
1595         (withArrayLiteralContiguous):
1596         (test):
1597
1598 2018-06-02  Caio Lima  <ticaiolima@gmail.com>
1599
1600         [ESNext][BigInt] Implement support for addition operations
1601         https://bugs.webkit.org/show_bug.cgi?id=179002
1602
1603         Reviewed by Yusuke Suzuki.
1604
1605         * bigIntTests.yaml:
1606         * stress/addition-order-evaluation.js: Added.
1607         * stress/big-int-add-wrapped-value.js: Added.
1608         * stress/big-int-addition-basic.js: Added.
1609         * stress/big-int-addition-jit.js: Added.
1610         * stress/big-int-addition-memory-stress.js: Added.
1611         * stress/big-int-addition-string-coercion.js: Added.
1612         * stress/big-int-addition-to-primitive-precedence.js: Added.
1613         * stress/big-int-addition-to-primitive.js: Added.
1614         * stress/big-int-addition-type-error.js: Added.
1615         * stress/big-int-no-conversion-to-number.js:
1616         * stress/big-int-sub-wrapped-value.js: Added.
1617         * stress/big-int-subtraction-basic.js: Added.
1618         * stress/big-int-subtraction-jit.js: Added.
1619         * stress/big-int-subtraction-type-error.js: Added.
1620         * stress/sub-order-evaluation.js: Added.
1621
1622 2018-06-02  Commit Queue  <commit-queue@webkit.org>
1623
1624         Unreviewed, rolling out r232439.
1625         https://bugs.webkit.org/show_bug.cgi?id=186238
1626
1627         It breaks gtk-linux-32-release (Requested by caiolima on
1628         #webkit).
1629
1630         Reverted changeset:
1631
1632         "[ESNext][BigInt] Implement support for addition operations"
1633         https://bugs.webkit.org/show_bug.cgi?id=179002
1634         https://trac.webkit.org/changeset/232439
1635
1636 2018-06-01  Yusuke Suzuki  <utatane.tea@gmail.com>
1637
1638         Baseline op_jtrue emits an insane amount of code
1639         https://bugs.webkit.org/show_bug.cgi?id=185708
1640
1641         Reviewed by Filip Pizlo.
1642
1643         * stress/logical-not-masquerades-as-undefined.js: Added.
1644         (shouldBe):
1645         (test):
1646         * stress/logical-not.js: Added.
1647         (shouldBe):
1648         (test):
1649
1650 2018-06-02  Yusuke Suzuki  <utatane.tea@gmail.com>
1651
1652         [JSC] Remove WeakReferenceHarvester
1653         https://bugs.webkit.org/show_bug.cgi?id=186102
1654
1655         Reviewed by Filip Pizlo.
1656
1657         * microbenchmarks/create-many-weak-map.js: Added.
1658
1659 2018-06-02  Yusuke Suzuki  <utatane.tea@gmail.com>
1660
1661         [JSC] Object.create should have intrinsic
1662         https://bugs.webkit.org/show_bug.cgi?id=186200
1663
1664         Reviewed by Filip Pizlo.
1665
1666         * microbenchmarks/object-create-null.js: Added.
1667         (test):
1668         * microbenchmarks/object-create-unknown-object-prototype.js: Added.
1669         (test):
1670         * microbenchmarks/object-create-untyped-prototype.js: Added.
1671         (test):
1672         * stress/get-by-pname-only-prototype-properties.js: Added.
1673         (foo):
1674         * stress/object-create-define.js: Added.
1675         (shouldBe):
1676         (test):
1677         * stress/object-create-null-external.js: Added.
1678         (shouldBe):
1679         (test):
1680         * stress/object-create-null.js: Added.
1681         (shouldBe):
1682         (test):
1683         * stress/object-create-prototype.js: Added.
1684         (shouldBe):
1685         (test):
1686         * stress/object-create-undefined.js: Added.
1687         (shouldThrow):
1688         (i.shouldThrow):
1689
1690 2018-06-02  Caio Lima  <ticaiolima@gmail.com>
1691
1692         [ESNext][BigInt] Implement support for addition operations
1693         https://bugs.webkit.org/show_bug.cgi?id=179002
1694
1695         Reviewed by Yusuke Suzuki.
1696
1697         * bigIntTests.yaml:
1698         * stress/addition-order-evaluation.js: Added.
1699         * stress/big-int-add-wrapped-value.js: Added.
1700         * stress/big-int-addition-basic.js: Added.
1701         * stress/big-int-addition-jit.js: Added.
1702         * stress/big-int-addition-memory-stress.js: Added.
1703         * stress/big-int-addition-string-coercion.js: Added.
1704         * stress/big-int-addition-to-primitive-precedence.js: Added.
1705         * stress/big-int-addition-to-primitive.js: Added.
1706         * stress/big-int-addition-type-error.js: Added.
1707         * stress/big-int-no-conversion-to-number.js:
1708         * stress/big-int-sub-wrapped-value.js: Added.
1709         * stress/big-int-subtraction-basic.js: Added.
1710         * stress/big-int-subtraction-jit.js: Added.
1711         * stress/big-int-subtraction-type-error.js: Added.
1712         * stress/sub-order-evaluation.js: Added.
1713
1714 2018-05-29  Yusuke Suzuki  <utatane.tea@gmail.com>
1715
1716         [JSC] Add Symbol.prototype.description getter
1717         https://bugs.webkit.org/show_bug.cgi?id=186053
1718
1719         Reviewed by Keith Miller.
1720
1721         * stress/symbol-description.js: Added.
1722         (shouldBe):
1723         (shouldThrow):
1724
1725 2018-05-30  Yusuke Suzuki  <utatane.tea@gmail.com>
1726
1727         [DFG] InById should be converted to MatchStructure
1728         https://bugs.webkit.org/show_bug.cgi?id=185803
1729
1730         Reviewed by Keith Miller.
1731
1732         * microbenchmarks/in-by-id-match.js: Added.
1733         (test):
1734         * microbenchmarks/in-by-id-removed.js: Added.
1735         (test):
1736         * stress/in-by-id-constant.js: Added.
1737         (shouldBe):
1738         (test1):
1739         * stress/in-by-id-match-invalid.js: Added.
1740         (shouldBe):
1741         (test1):
1742         * stress/in-by-id-match.js: Added.
1743         (shouldBe):
1744         (test1):
1745
1746 2018-05-31  Caio Lima  <ticaiolima@gmail.com>
1747
1748         [ESNext][BigInt] Implement support for "=<" and ">=" relational operation
1749         https://bugs.webkit.org/show_bug.cgi?id=185929
1750
1751         Reviewed by Yusuke Suzuki.
1752
1753         * bigIntTests.yaml:
1754         * stress/big-int-greater-than-or-equal-jit.js: Added.
1755         * stress/big-int-greater-than-or-equal-order-of-evaluation.js: Added.
1756         * stress/big-int-greater-than-or-equal-wrapped-values.js: Added.
1757         * stress/big-int-greater-than-or-equal.js: Added.
1758         * stress/big-int-less-than-or-equal-general.js: Added.
1759         * stress/big-int-less-than-or-equal-jit.js: Added.
1760         * stress/big-int-less-than-or-equal-order-of-evaluation.js: Added.
1761         * stress/big-int-less-than-or-equal-wrapped-values.js: Added.
1762
1763 2018-05-31  Saam Barati  <sbarati@apple.com>
1764
1765         Cache toString results for CoW arrays
1766         https://bugs.webkit.org/show_bug.cgi?id=186160
1767
1768         Reviewed by Keith Miller.
1769
1770         * microbenchmarks/to-string-on-cow-array.js: Added.
1771         (foo):
1772
1773 2018-05-31  Keith Miller  <keith_miller@apple.com>
1774
1775         Rebaseline test for change in Error.stack behavior.
1776
1777         * stress/error-stack-trace-limit.js:
1778         (numberOfFrames):
1779
1780 2018-05-30  Saam Barati  <sbarati@apple.com>
1781
1782         DFG combined liveness needs to say that the machine CodeBlock's arguments are live
1783         https://bugs.webkit.org/show_bug.cgi?id=186121
1784         <rdar://problem/39377796>
1785
1786         Reviewed by Keith Miller.
1787
1788         * stress/combined-liveness-needs-to-say-arguments-are-live.js: Added.
1789         (baz):
1790         (foo):
1791
1792 2018-05-30  Keith Miller  <keith_miller@apple.com>
1793
1794         Unreviewed, uncomment erroneously commented test code.
1795
1796         * stress/error-stack-trace-limit.js:
1797
1798 2018-05-30  Keith Miller  <keith_miller@apple.com>
1799
1800         LLInt get_by_id prototype caching doesn't properly handle changes
1801         https://bugs.webkit.org/show_bug.cgi?id=186112
1802
1803         Reviewed by Filip Pizlo.
1804
1805         * stress/llint-proto-get-by-id-cache-change-prototype.js: Added.
1806         (foo):
1807         * stress/llint-proto-get-by-id-cache-intercept-value.js: Added.
1808         (foo):
1809
1810 2018-05-30  Caio Lima  <ticaiolima@gmail.com>
1811
1812         [ESNext][BigInt] Implement support for "%" operation
1813         https://bugs.webkit.org/show_bug.cgi?id=184327
1814
1815         Reviewed by Yusuke Suzuki.
1816
1817         * bigIntTests.yaml:
1818         * stress/big-int-mod-memory-stress.js: Added.
1819         * stress/big-int-mod-to-primitive-precedence.js: Added.
1820         * stress/big-int-mod-to-primitive.js: Added.
1821         * stress/big-int-mod-type-error.js: Added.
1822         * stress/big-int-mod-wrapped-value.js: Added.
1823         * stress/big-int-mod.js: Added.
1824
1825 2018-05-29  Caitlin Potter  <caitp@igalia.com>
1826
1827         [JSTests] update test262 expectations after r232261
1828         https://bugs.webkit.org/show_bug.cgi?id=184267
1829
1830         Reviewed by Saam Barati.
1831
1832         * test262/expectations.yaml:
1833
1834 2018-05-29  Caio Lima  <ticaiolima@gmail.com>
1835
1836         [ESNext][BigInt] Implement support for "<" and ">" relational operation
1837         https://bugs.webkit.org/show_bug.cgi?id=185379
1838
1839         Reviewed by Yusuke Suzuki.
1840
1841         * stress/big-int-greater-than-general.js: Added.
1842         * stress/big-int-greater-than-jit.js: Added.
1843         * stress/big-int-greater-than-order-of-evaluation.js: Added.
1844         * stress/big-int-greater-than-wrapped-values.js: Added.
1845         * stress/big-int-less-than-general.js: Added.
1846         * stress/big-int-less-than-jit.js: Added.
1847         * stress/big-int-less-than-order-of-evaluation.js: Added.
1848         * stress/big-int-less-than-wrapped-values.js: Added.
1849
1850 2018-05-29  Caitlin Potter  <caitp@igalia.com>
1851
1852         [JSC] Fix Array.prototype.concat fast case when single argument is Proxy
1853         https://bugs.webkit.org/show_bug.cgi?id=184267
1854
1855         Reviewed by Saam Barati.
1856
1857         * stress/array-concat-fast-spread-proxy.js: Copied from JSTests/stress/array-concat-spread-proxy.js.
1858         (arrayEq):
1859         (catch):
1860         * stress/array-concat-spread-proxy.js:
1861
1862 2018-05-27  Caio Lima  <ticaiolima@gmail.com>
1863
1864         [ESNext][BigInt] Implement "+" and "-" unary operation
1865         https://bugs.webkit.org/show_bug.cgi?id=182214
1866
1867         Reviewed by Yusuke Suzuki.
1868
1869         * stress/big-int-negate-basic.js: Added.
1870         * stress/big-int-negate-jit.js: Added.
1871         * stress/big-int-unary-plus.js: Added.
1872
1873 2018-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
1874
1875         [JSC] Rename Array#flatten to flat
1876         https://bugs.webkit.org/show_bug.cgi?id=186012
1877
1878         Reviewed by Saam Barati.
1879
1880         * stress/array-flatten.js:
1881         (shouldThrow):
1882         * test262/expectations.yaml:
1883
1884 2018-05-23  Yusuke Suzuki  <utatane.tea@gmail.com>
1885
1886         Upgrade test262 to May 24 version
1887         https://bugs.webkit.org/show_bug.cgi?id=185937
1888
1889         Reviewed by Darin Adler.
1890
1891         * test262/expectations.yaml:
1892         * test262/harness/doneprintHandle.js:
1893         (DONE):
1894         * test262/latest-changes-summary.txt:
1895         * test262/test/annexB/language/eval-code/direct/global-block-decl-eval-global-existing-global-init.js:
1896         * test262/test/annexB/language/eval-code/direct/global-block-decl-eval-global-existing-non-enumerable-global-init.js: Added.
1897         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-global-init.js:
1898         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-a-eval-global-existing-global-init.js.
1899         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-global-init.js:
1900         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-decl-b-eval-global-existing-global-init.js.
1901         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-global-init.js:
1902         * test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-else-stmt-eval-global-existing-global-init.js.
1903         * test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-global-init.js:
1904         * test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-decl-no-else-eval-global-existing-global-init.js.
1905         * test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-global-init.js:
1906         * test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/direct/global-if-stmt-else-decl-eval-global-existing-global-init.js.
1907         * test262/test/annexB/language/eval-code/direct/global-switch-case-eval-global-existing-global-init.js:
1908         * test262/test/annexB/language/eval-code/direct/global-switch-case-eval-global-existing-non-enumerable-global-init.js: Added.
1909         * test262/test/annexB/language/eval-code/direct/global-switch-dflt-eval-global-existing-global-init.js:
1910         * test262/test/annexB/language/eval-code/direct/global-switch-dflt-eval-global-existing-non-enumerable-global-init.js: Added.
1911         * test262/test/annexB/language/eval-code/indirect/global-block-decl-eval-global-existing-global-init.js:
1912         * test262/test/annexB/language/eval-code/indirect/global-block-decl-eval-global-existing-non-enumerable-global-init.js: Added.
1913         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-global-init.js:
1914         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-a-eval-global-existing-global-init.js.
1915         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-global-init.js:
1916         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-decl-b-eval-global-existing-global-init.js.
1917         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-global-init.js:
1918         * test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-else-stmt-eval-global-existing-global-init.js.
1919         * test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-global-init.js:
1920         * test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-decl-no-else-eval-global-existing-global-init.js.
1921         * test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-global-init.js:
1922         * test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-non-enumerable-global-init.js: Copied from JSTests/test262/test/annexB/language/eval-code/indirect/global-if-stmt-else-decl-eval-global-existing-global-init.js.
1923         * test262/test/annexB/language/eval-code/indirect/global-switch-case-eval-global-existing-global-init.js:
1924         * test262/test/annexB/language/eval-code/indirect/global-switch-case-eval-global-existing-non-enumerable-global-init.js: Added.
1925         * test262/test/annexB/language/eval-code/indirect/global-switch-dflt-eval-global-existing-global-init.js:
1926         * test262/test/annexB/language/eval-code/indirect/global-switch-dflt-eval-global-existing-non-enumerable-global-init.js: Added.
1927         * test262/test/annexB/language/global-code/block-decl-global-existing-global-init.js: Added.
1928         (262.evalScript.f):
1929         * test262/test/annexB/language/global-code/block-decl-global-existing-non-enumerable-global-init.js: Added.
1930         (262.evalScript.f):
1931         * test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-global-init.js: Added.
1932         (262.evalScript.true.f):
1933         (else._f):
1934         * test262/test/annexB/language/global-code/if-decl-else-decl-a-global-existing-non-enumerable-global-init.js: Added.
1935         (262.evalScript.true.f):
1936         (else._f):
1937         * test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-global-init.js: Added.
1938         (262.evalScript.false._f):
1939         (else.f):
1940         * test262/test/annexB/language/global-code/if-decl-else-decl-b-global-existing-non-enumerable-global-init.js: Added.
1941         (262.evalScript.false._f):
1942         (else.f):
1943         * test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-global-init.js: Added.
1944         (262.evalScript.true.f):
1945         * test262/test/annexB/language/global-code/if-decl-else-stmt-global-existing-non-enumerable-global-init.js: Added.
1946         (262.evalScript.true.f):
1947         * test262/test/annexB/language/global-code/if-decl-no-else-global-existing-global-init.js: Added.
1948         (262.evalScript.true.f):
1949         * test262/test/annexB/language/global-code/if-decl-no-else-global-existing-non-enumerable-global-init.js: Added.
1950         (262.evalScript.true.f):
1951         * test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-global-init.js: Added.
1952         (else.f):
1953         * test262/test/annexB/language/global-code/if-stmt-else-decl-global-existing-non-enumerable-global-init.js: Added.
1954         (else.f):
1955         * test262/test/annexB/language/global-code/switch-case-global-existing-global-init.js: Added.
1956         (262.evalScript.switch.case.1):
1957         (262.evalScript.switch):
1958         * test262/test/annexB/language/global-code/switch-case-global-existing-non-enumerable-global-init.js: Added.
1959         (262.evalScript.switch.case.1):
1960         (262.evalScript.switch):
1961         * test262/test/annexB/language/global-code/switch-dflt-global-existing-global-init.js: Added.
1962         (262.evalScript.switch.default):
1963         (262.evalScript.switch):
1964         * test262/test/annexB/language/global-code/switch-dflt-global-existing-non-enumerable-global-init.js: Added.
1965         (262.evalScript.switch.default):
1966         (262.evalScript.switch):
1967         * test262/test/built-ins/Array/prototype/flat/array-like-objects.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/array-like-objects.js.
1968         * test262/test/built-ins/Array/prototype/flat/bound-function-call.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/bound-function-call.js.
1969         * test262/test/built-ins/Array/prototype/flat/empty-array-elements.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/empty-array-elements.js.
1970         * test262/test/built-ins/Array/prototype/flat/empty-object-elements.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/empty-object-elements.js.
1971         * test262/test/built-ins/Array/prototype/flat/length.js: Added.
1972         * test262/test/built-ins/Array/prototype/flat/name.js: Added.
1973         * test262/test/built-ins/Array/prototype/flat/non-numeric-depth-should-not-throw.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/non-numeric-depth-should-not-throw.js.
1974         * test262/test/built-ins/Array/prototype/flat/non-object-ctor-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/non-object-ctor-throws.js.
1975         * test262/test/built-ins/Array/prototype/flat/null-undefined-elements.js: Added.
1976         * test262/test/built-ins/Array/prototype/flat/null-undefined-input-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/null-undefined-input-throws.js.
1977         * test262/test/built-ins/Array/prototype/flat/positive-infinity.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/positive-infinity.js.
1978         * test262/test/built-ins/Array/prototype/flat/prop-desc.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/prop-desc.js.
1979         * test262/test/built-ins/Array/prototype/flat/symbol-object-create-null-depth-throws.js: Renamed from JSTests/test262/test/built-ins/Array/prototype/flatten/symbol-object-create-null-depth-throws.js.
1980         * test262/test/built-ins/Array/prototype/flatten/length.js: Removed.
1981         * test262/test/built-ins/Array/prototype/flatten/name.js: Removed.
1982         * test262/test/built-ins/Array/prototype/flatten/null-undefined-elements.js: Removed.
1983         * test262/test/built-ins/AsyncGeneratorPrototype/next/name.js:
1984         * test262/test/built-ins/AsyncGeneratorPrototype/return/name.js:
1985         * test262/test/built-ins/AsyncGeneratorPrototype/throw/name.js:
1986         * test262/test/built-ins/Math/acosh/nan-returns.js:
1987         * test262/test/built-ins/Math/asinh/asinh-specialVals.js:
1988         * test262/test/built-ins/Math/atanh/atanh-specialVals.js:
1989         * test262/test/built-ins/Math/cbrt/cbrt-specialValues.js:
1990         * test262/test/built-ins/Math/cbrt/prop-desc.js:
1991         * test262/test/built-ins/Math/cosh/cosh-specialVals.js:
1992         * test262/test/built-ins/Math/expm1/expm1-specialVals.js:
1993         * test262/test/built-ins/Math/log10/Log10-specialVals.js:
1994         * test262/test/built-ins/Math/log2/log2-basicTests.js:
1995         * test262/test/built-ins/Math/sign/sign-specialVals.js:
1996         * test262/test/built-ins/Math/sinh/sinh-specialVals.js:
1997         * test262/test/built-ins/Math/tanh/tanh-specialVals.js:
1998         * test262/test/built-ins/Math/trunc/trunc-sampleTests.js:
1999         * test262/test/built-ins/Math/trunc/trunc-specialVals.js:
2000         * test262/test/built-ins/Object/internals/DefineOwnProperty/consistent-value-regexp-dollar1.js: Added.
2001         * test262/test/built-ins/Object/internals/DefineOwnProperty/consistent-writable-regexp-dollar1.js: Added.
2002         * test262/test/intl402/Intl/getCanonicalLocales/descriptor.js:
2003         * test262/test/intl402/Intl/getCanonicalLocales/duplicates.js:
2004         * test262/test/intl402/Locale/constructor-getter-order.js: Added.
2005         (new.Intl.Locale.toString):
2006         (get language):
2007         (get script):
2008         (get region):
2009         (get calendar):
2010         (get collation):
2011         (get hourCycle):
2012         (get caseFirst):
2013         (get numeric):
2014         (get numberingSystem):
2015         * test262/test/intl402/Locale/constructor-locale-object.js: Added.
2016         * test262/test/intl402/Locale/constructor-non-iana-canon.js: Added.
2017         * test262/test/intl402/Locale/constructor-options-casefirst-invalid.js: Added.
2018         (valueOf):
2019         (const.invalidCaseFirstOption.of.invalidCaseFirstOptions.new.Intl.Locale):
2020         * test262/test/intl402/Locale/constructor-options-casefirst-valid.js: Added.
2021         (toString):
2022         * test262/test/intl402/Locale/constructor-options-collation-invalid.js: Added.
2023         (const.invalidCollationOption.of.invalidCollationOptions.new.Intl.Locale):
2024         * test262/test/intl402/Locale/constructor-options-collation-valid.js: Added.
2025         * test262/test/intl402/Locale/constructor-options-hourcycle-invalid.js: Added.
2026         (const.invalidHourCycleOption.of.invalidHourCycleOptions.new.Intl.Locale):
2027         * test262/test/intl402/Locale/constructor-options-hourcycle-valid.js: Added.
2028         (toString):
2029         * test262/test/intl402/Locale/constructor-options-language-grandfathered.js: Added.
2030         * test262/test/intl402/Locale/constructor-options-language-valid.js:
2031         (toString):
2032         * test262/test/intl402/Locale/constructor-options-numberingsystem-invalid.js: Added.
2033         (const.invalidNumberingSystemOption.of.invalidNumberingSystemOptions.new.Intl.Locale):
2034         * test262/test/intl402/Locale/constructor-options-numberingsystem-valid.js: Added.
2035         * test262/test/intl402/Locale/constructor-options-numeric-valid.js: Added.
2036         (valueOf):
2037         * test262/test/intl402/Locale/constructor-options-region-valid.js:
2038         * test262/test/intl402/Locale/constructor-options-script-valid.js:
2039         (toString):
2040         * test262/test/intl402/Locale/constructor-parse-twice.js: Added.
2041         * test262/test/intl402/Locale/constructor-tag-tostring.js: Added.
2042         (CustomError):
2043         (WrongCustomError):
2044         (const.errors.get Symbol):
2045         (throw.new.CustomError):
2046         (throw.new.CustomError.get toString):
2047         (throw.new.CustomError.get valueOf):
2048         (throw.new.WrongCustomError.get valueOf):
2049         (throw.new.WrongCustomError):
2050         * test262/test/intl402/Locale/constructor-unicode-ext-invalid.js: Added.
2051         * test262/test/intl402/Locale/constructor-unicode-ext-valid.js: Added.
2052         (canonical.of.Object.entries):
2053         * test262/test/intl402/Locale/extensions-grandfathered.js: Added.
2054         (of.testData.value.of.Object.entries):
2055         * test262/test/intl402/Locale/extensions-private.js: Added.
2056         * test262/test/intl402/Locale/getters-grandfathered.js: Added.
2057         * test262/test/intl402/Locale/getters-missing.js: Added.
2058         * test262/test/intl402/Locale/getters-privateuse.js: Added.
2059         * test262/test/intl402/Locale/getters.js: Added.
2060         * test262/test/intl402/Locale/invalid-tag-throws-symbol.js:
2061         * test262/test/intl402/Locale/likely-subtags-grandfathered.js: Added.
2062         * test262/test/intl402/Locale/prop-desc.js:
2063         * test262/test/intl402/Locale/prototype/baseName/prop-desc.js: Added.
2064         * test262/test/intl402/Locale/prototype/calendar/prop-desc.js: Added.
2065         * test262/test/intl402/Locale/prototype/caseFirst/prop-desc.js: Added.
2066         * test262/test/intl402/Locale/prototype/collation/prop-desc.js: Added.
2067         * test262/test/intl402/Locale/prototype/constructor/prop-desc.js: Copied from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
2068         * test262/test/intl402/Locale/prototype/hourCycle/prop-desc.js: Added.
2069         * test262/test/intl402/Locale/prototype/language/prop-desc.js: Added.
2070         * test262/test/intl402/Locale/prototype/maximize/length.js:
2071         * test262/test/intl402/Locale/prototype/maximize/prop-desc.js:
2072         * test262/test/intl402/Locale/prototype/minimize/length.js: Copied from JSTests/test262/test/intl402/Locale/prototype/maximize/length.js.
2073         * test262/test/intl402/Locale/prototype/minimize/name.js: Added.
2074         * test262/test/intl402/Locale/prototype/minimize/prop-desc.js: Copied from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
2075         * test262/test/intl402/Locale/prototype/numberingSystem/prop-desc.js: Added.
2076         * test262/test/intl402/Locale/prototype/numeric/prop-desc.js: Added.
2077         * test262/test/intl402/Locale/prototype/region/prop-desc.js: Added.
2078         * test262/test/intl402/Locale/prototype/script/prop-desc.js: Added.
2079         * test262/test/intl402/Locale/prototype/toString/prop-desc.js: Renamed from JSTests/test262/test/intl402/Locale/prototype/constructor.js.
2080         * test262/test/intl402/Locale/prototype/toStringTag/toStringTag.js: Renamed from JSTests/test262/test/intl402/Locale/prototype/toStringTag.js.
2081         * test262/test/intl402/Number/prototype/toLocaleString/length.js:
2082         * test262/test/intl402/NumberFormat/length.js:
2083         * test262/test/intl402/NumberFormat/name.js:
2084         * test262/test/intl402/NumberFormat/prop-desc.js:
2085         * test262/test/intl402/PluralRules/length.js:
2086         * test262/test/intl402/PluralRules/name.js:
2087         * test262/test/intl402/PluralRules/prop-desc.js: Copied from JSTests/test262/test/intl402/NumberFormat/prop-desc.js.
2088         * test262/test/language/expressions/addition/bigint-and-number.js:
2089         * test262/test/language/expressions/addition/bigint-arithmetic.js:
2090         (testAdd): Deleted.
2091         * test262/test/language/expressions/addition/bigint-errors.js:
2092         (Symbol.toPrimitive):
2093         (0n.Symbol.toPrimitive):
2094         (valueOf):
2095         (0n.valueOf):
2096         (toString):
2097         (0n.toString):
2098         * test262/test/language/expressions/addition/bigint-toprimitive.js:
2099         * test262/test/language/expressions/addition/bigint-wrapped-values.js:
2100         * test262/test/language/expressions/bitwise-and/bigint-and-number.js:
2101         * test262/test/language/expressions/bitwise-and/bigint-errors.js:
2102         (Symbol.toPrimitive):
2103         (0n.Symbol.toPrimitive):
2104         (valueOf):
2105         (0n.valueOf):
2106         (toString):
2107         (0n.toString):
2108         * test262/test/language/expressions/bitwise-and/bigint-non-primitive.js:
2109         (assert.sameValue.Symbol.toPrimitive):
2110         (assert.sameValue.0b011n.Symbol.toPrimitive):
2111         (assert.sameValue.valueOf):
2112         (assert.sameValue.0b011n.valueOf):
2113         (assert.sameValue.toString):
2114         (assert.sameValue.0b011n.toString):
2115         * test262/test/language/expressions/bitwise-and/bigint-toprimitive.js:
2116         * test262/test/language/expressions/bitwise-and/bigint-wrapped-values.js:
2117         * test262/test/language/expressions/bitwise-not/bigint-non-primitive.js:
2118         (assert.sameValue.Symbol.toPrimitive):
2119         (assert.sameValue.valueOf):
2120         (assert.sameValue.toString):
2121         * test262/test/language/expressions/bitwise-or/bigint-and-number.js:
2122         * test262/test/language/expressions/bitwise-or/bigint-errors.js:
2123         (Symbol.toPrimitive):
2124         (0n.Symbol.toPrimitive):
2125         (valueOf):
2126         (0n.valueOf):
2127         (toString):
2128         (0n.toString):
2129         * test262/test/language/expressions/bitwise-or/bigint-non-primitive.js:
2130         (assert.sameValue.Symbol.toPrimitive):
2131         (assert.sameValue.0b011n.Symbol.toPrimitive):
2132         (assert.sameValue.valueOf):
2133         (assert.sameValue.0b011n.valueOf):
2134         (assert.sameValue.toString):
2135         (assert.sameValue.0b011n.toString):
2136         * test262/test/language/expressions/bitwise-or/bigint-toprimitive.js:
2137         * test262/test/language/expressions/bitwise-or/bigint-wrapped-values.js:
2138         * test262/test/language/expressions/bitwise-xor/bigint-and-number.js:
2139         * test262/test/language/expressions/bitwise-xor/bigint-errors.js:
2140         (Symbol.toPrimitive):
2141         (0n.Symbol.toPrimitive):
2142         (valueOf):
2143         (0n.valueOf):
2144         (toString):
2145         (0n.toString):
2146         * test262/test/language/expressions/bitwise-xor/bigint-non-primitive.js:
2147         (assert.sameValue.Symbol.toPrimitive):
2148         (assert.sameValue.0b011n.Symbol.toPrimitive):
2149         (assert.sameValue.valueOf):
2150         (assert.sameValue.0b011n.valueOf):
2151         (assert.sameValue.toString):
2152         (assert.sameValue.0b011n.toString):
2153         * test262/test/language/expressions/bitwise-xor/bigint-toprimitive.js:
2154         * test262/test/language/expressions/bitwise-xor/bigint-wrapped-values.js:
2155         * test262/test/language/expressions/division/bigint-and-number.js:
2156         * test262/test/language/expressions/division/bigint-arithmetic.js:
2157         (testDiv): Deleted.
2158         * test262/test/language/expressions/division/bigint-complex-infinity.js:
2159         * test262/test/language/expressions/division/bigint-errors.js:
2160         (Symbol.toPrimitive):
2161         (0n.Symbol.toPrimitive):
2162         (valueOf):
2163         (0n.valueOf):
2164         (toString):
2165         (0n.toString):
2166         * test262/test/language/expressions/division/bigint-toprimitive.js:
2167         * test262/test/language/expressions/division/bigint-wrapped-values.js:
2168         * test262/test/language/expressions/does-not-equals/bigint-and-bigint.js:
2169         * test262/test/language/expressions/does-not-equals/bigint-and-boolean.js:
2170         * test262/test/language/expressions/does-not-equals/bigint-and-incomparable-primitive.js:
2171         * test262/test/language/expressions/does-not-equals/bigint-and-non-finite.js:
2172         * test262/test/language/expressions/does-not-equals/bigint-and-number-extremes.js:
2173         * test262/test/language/expressions/does-not-equals/bigint-and-number.js:
2174         * test262/test/language/expressions/does-not-equals/bigint-and-object.js:
2175         (assert.sameValue.0n.valueOf):
2176         (assert.sameValue.valueOf):
2177         (assert.sameValue.0n.toString):
2178         (assert.sameValue.toString):
2179         (assert.sameValue.900719925474099101n.valueOf):
2180         (assert.sameValue.900719925474099101n.toString):
2181         * test262/test/language/expressions/does-not-equals/bigint-and-string.js:
2182         * test262/test/language/expressions/equals/bigint-and-bigint.js:
2183         * test262/test/language/expressions/equals/bigint-and-boolean.js:
2184         * test262/test/language/expressions/equals/bigint-and-incomparable-primitive.js:
2185         * test262/test/language/expressions/equals/bigint-and-non-finite.js:
2186         * test262/test/language/expressions/equals/bigint-and-number-extremes.js:
2187         * test262/test/language/expressions/equals/bigint-and-number.js:
2188         * test262/test/language/expressions/equals/bigint-and-object.js:
2189         (assert.sameValue.0n.valueOf):
2190         (assert.sameValue.valueOf):
2191         (assert.sameValue.0n.toString):
2192         (assert.sameValue.toString):
2193         (assert.sameValue.900719925474099101n.valueOf):
2194         (assert.sameValue.900719925474099101n.toString):
2195         * test262/test/language/expressions/equals/bigint-and-string.js:
2196         * test262/test/language/expressions/exponentiation/bigint-and-number.js:
2197         * test262/test/language/expressions/exponentiation/bigint-arithmetic.js:
2198         (testExpt): Deleted.
2199         * test262/test/language/expressions/exponentiation/bigint-errors.js:
2200         (Symbol.toPrimitive):
2201         (0n.Symbol.toPrimitive):
2202         (valueOf):
2203         (0n.valueOf):
2204         (toString):
2205         (0n.toString):
2206         * test262/test/language/expressions/exponentiation/bigint-negative-exponent-throws.js: Renamed from JSTests/test262/test/language/expressions/exponentiation/bigint-exp-operator-negative-throws.js.
2207         * test262/test/language/expressions/exponentiation/bigint-toprimitive.js:
2208         * test262/test/language/expressions/exponentiation/bigint-wrapped-values.js:
2209         * test262/test/language/expressions/exponentiation/bigint-zero-base-zero-exponent.js:
2210         * test262/test/language/expressions/greater-than-or-equal/bigint-and-bigint.js:
2211         * test262/test/language/expressions/greater-than-or-equal/bigint-and-incomparable-string.js:
2212         * test262/test/language/expressions/greater-than-or-equal/bigint-and-non-finite.js:
2213         * test262/test/language/expressions/greater-than-or-equal/bigint-and-number-extremes.js:
2214         * test262/test/language/expressions/greater-than-or-equal/bigint-and-number.js:
2215         * test262/test/language/expressions/greater-than-or-equal/bigint-and-string.js:
2216         * test262/test/language/expressions/greater-than/11.8.2-1.js:
2217         (obj1.valueOf):
2218         (obj2.valueOf):
2219         * test262/test/language/expressions/greater-than/11.8.2-2.js:
2220         (obj1.valueOf):
2221         (obj2.toString):
2222         * test262/test/language/expressions/greater-than/11.8.2-3.js:
2223         (obj1.toString):
2224         (obj2.valueOf):
2225         * test262/test/language/expressions/greater-than/11.8.2-4.js:
2226         (obj1.toString):
2227         (obj2.toString):
2228         * test262/test/language/expressions/greater-than/bigint-and-bigint.js:
2229         * test262/test/language/expressions/greater-than/bigint-and-boolean.js:
2230         * test262/test/language/expressions/greater-than/bigint-and-incomparable-string.js:
2231         * test262/test/language/expressions/greater-than/bigint-and-non-finite.js:
2232         * test262/test/language/expressions/greater-than/bigint-and-number-extremes.js:
2233         * test262/test/language/expressions/greater-than/bigint-and-number.js:
2234         * test262/test/language/expressions/greater-than/bigint-and-string.js:
2235         * test262/test/language/expressions/greater-than/bigint-and-symbol.js: Added.
2236         * test262/test/language/expressions/left-shift/bigint-and-number.js:
2237         * test262/test/language/expressions/left-shift/bigint-errors.js:
2238         (Symbol.toPrimitive):
2239         (0n.Symbol.toPrimitive):
2240         (valueOf):
2241         (0n.valueOf):
2242         (toString):
2243         (0n.toString):
2244         * test262/test/language/expressions/left-shift/bigint-non-primitive.js:
2245         (assert.sameValue.Symbol.toPrimitive):
2246         (assert.sameValue.valueOf):
2247         (assert.sameValue.toString):
2248         (assert.sameValue.0b101n.Symbol.toPrimitive):
2249         (assert.sameValue.0b101n.valueOf):
2250         (assert.sameValue.0b101n.toString):
2251         (valueOf):
2252         * test262/test/language/expressions/left-shift/bigint-toprimitive.js:
2253         * test262/test/language/expressions/left-shift/bigint-wrapped-values.js:
2254         * test262/test/language/expressions/less-than-or-equal/11.8.3-1.js:
2255         (obj1.valueOf):
2256         (obj2.valueOf):
2257         * test262/test/language/expressions/less-than-or-equal/11.8.3-2.js:
2258         (obj1.valueOf):
2259         (obj2.toString):
2260         * test262/test/language/expressions/less-than-or-equal/11.8.3-3.js:
2261         (obj1.toString):
2262         (obj2.valueOf):
2263         * test262/test/language/expressions/less-than-or-equal/11.8.3-4.js:
2264         (obj1.toString):
2265         (obj2.toString):
2266         * test262/test/language/expressions/less-than-or-equal/11.8.3-5.js: Removed.
2267         * test262/test/language/expressions/less-than-or-equal/bigint-and-bigint.js:
2268         * test262/test/language/expressions/less-than-or-equal/bigint-and-incomparable-string.js:
2269         * test262/test/language/expressions/less-than-or-equal/bigint-and-non-finite.js:
2270         * test262/test/language/expressions/less-than-or-equal/bigint-and-number-extremes.js:
2271         * test262/test/language/expressions/less-than-or-equal/bigint-and-number.js:
2272         * test262/test/language/expressions/less-than-or-equal/bigint-and-string.js:
2273         * test262/test/language/expressions/less-than/bigint-and-bigint.js:
2274         * test262/test/language/expressions/less-than/bigint-and-boolean.js:
2275         * test262/test/language/expressions/less-than/bigint-and-incomparable-string.js:
2276         * test262/test/language/expressions/less-than/bigint-and-non-finite.js:
2277         * test262/test/language/expressions/less-than/bigint-and-number-extremes.js:
2278         * test262/test/language/expressions/less-than/bigint-and-number.js:
2279         * test262/test/language/expressions/less-than/bigint-and-string.js:
2280         * test262/test/language/expressions/less-than/bigint-and-symbol.js: Added.
2281         * test262/test/language/expressions/modulus/bigint-and-number.js:
2282         * test262/test/language/expressions/modulus/bigint-arithmetic.js:
2283         (testMod): Deleted.
2284         * test262/test/language/expressions/modulus/bigint-errors.js:
2285         (Symbol.toPrimitive):
2286         (0n.Symbol.toPrimitive):
2287         (valueOf):
2288         (0n.valueOf):
2289         (toString):
2290         (0n.toString):
2291         * test262/test/language/expressions/modulus/bigint-modulo-zero.js:
2292         * test262/test/language/expressions/modulus/bigint-toprimitive.js:
2293         * test262/test/language/expressions/modulus/bigint-wrapped-values.js:
2294         * test262/test/language/expressions/multiplication/bigint-and-number.js:
2295         * test262/test/language/expressions/multiplication/bigint-arithmetic.js:
2296         (testMul): Deleted.
2297         * test262/test/language/expressions/multiplication/bigint-errors.js:
2298         (Symbol.toPrimitive):
2299         (0n.Symbol.toPrimitive):
2300         (valueOf):
2301         (0n.valueOf):
2302         (toString):
2303         (0n.toString):
2304         * test262/test/language/expressions/multiplication/bigint-toprimitive.js:
2305         * test262/test/language/expressions/multiplication/bigint-wrapped-values.js:
2306         * test262/test/language/expressions/right-shift/bigint-and-number.js:
2307         * test262/test/language/expressions/right-shift/bigint-errors.js:
2308         (Symbol.toPrimitive):
2309         (0n.Symbol.toPrimitive):
2310         (valueOf):
2311         (0n.valueOf):
2312         (toString):
2313         (0n.toString):
2314         * test262/test/language/expressions/right-shift/bigint-non-primitive.js:
2315         (assert.sameValue.Symbol.toPrimitive):
2316         (assert.sameValue.valueOf):
2317         (assert.sameValue.toString):
2318         (assert.sameValue.0b101n.Symbol.toPrimitive):
2319         (assert.sameValue.0b101n.valueOf):
2320         (assert.sameValue.0b101n.toString):
2321         (valueOf):
2322         * test262/test/language/expressions/right-shift/bigint-toprimitive.js:
2323         * test262/test/language/expressions/right-shift/bigint-wrapped-values.js:
2324         * test262/test/language/expressions/strict-does-not-equals/bigint-and-bigint.js:
2325         * test262/test/language/expressions/strict-does-not-equals/bigint-and-boolean.js:
2326         * test262/test/language/expressions/strict-does-not-equals/bigint-and-incomparable-primitive.js:
2327         * test262/test/language/expressions/strict-does-not-equals/bigint-and-non-finite.js:
2328         * test262/test/language/expressions/strict-does-not-equals/bigint-and-number-extremes.js:
2329         * test262/test/language/expressions/strict-does-not-equals/bigint-and-number.js:
2330         * test262/test/language/expressions/strict-does-not-equals/bigint-and-object.js:
2331         (assert.sameValue.0n.valueOf):
2332         (assert.sameValue.valueOf):
2333         (assert.sameValue.0n.toString):
2334         (assert.sameValue.toString):
2335         (assert.sameValue.900719925474099101n.valueOf):
2336         (assert.sameValue.900719925474099101n.toString):
2337         * test262/test/language/expressions/strict-does-not-equals/bigint-and-string.js:
2338         * test262/test/language/expressions/strict-equals/bigint-and-bigint.js:
2339         * test262/test/language/expressions/strict-equals/bigint-and-boolean.js:
2340         * test262/test/language/expressions/strict-equals/bigint-and-incomparable-primitive.js:
2341         * test262/test/language/expressions/strict-equals/bigint-and-non-finite.js:
2342         * test262/test/language/expressions/strict-equals/bigint-and-number-extremes.js:
2343         * test262/test/language/expressions/strict-equals/bigint-and-number.js:
2344         * test262/test/language/expressions/strict-equals/bigint-and-object.js:
2345         (assert.sameValue.0n.valueOf):
2346         (assert.sameValue.valueOf):
2347         (assert.sameValue.0n.toString):
2348         (assert.sameValue.toString):
2349         (assert.sameValue.900719925474099101n.valueOf):
2350         (assert.sameValue.900719925474099101n.toString):
2351         * test262/test/language/expressions/strict-equals/bigint-and-string.js:
2352         * test262/test/language/expressions/subtraction/bigint-and-number.js:
2353         * test262/test/language/expressions/subtraction/bigint-arithmetic.js:
2354         (testSub): Deleted.
2355         * test262/test/language/expressions/subtraction/bigint-errors.js:
2356         (Symbol.toPrimitive):
2357         (0n.Symbol.toPrimitive):
2358         (valueOf):
2359         (0n.valueOf):
2360         (toString):
2361         (0n.toString):
2362         * test262/test/language/expressions/subtraction/bigint-toprimitive.js:
2363         * test262/test/language/expressions/subtraction/bigint-wrapped-values.js:
2364         * test262/test/language/expressions/unary-minus/bigint-non-primitive.js:
2365         (assert.sameValue.Symbol.toPrimitive):
2366         (assert.sameValue.valueOf):
2367         (assert.sameValue.toString):
2368         * test262/test/language/expressions/unary-plus/bigint-throws.js:
2369         * test262/test/language/expressions/unsigned-right-shift/bigint-and-number.js:
2370         * test262/test/language/expressions/unsigned-right-shift/bigint-errors.js:
2371         (Symbol.toPrimitive):
2372         (0n.Symbol.toPrimitive):
2373         (valueOf):
2374         (0n.valueOf):
2375         (toString):
2376         (0n.toString):
2377         * test262/test/language/expressions/unsigned-right-shift/bigint-non-primitive.js:
2378         (Symbol.toPrimitive):
2379         (valueOf):
2380         (toString):
2381         (0b101n.Symbol.toPrimitive):
2382         (0b101n.valueOf):
2383         (0b101n.toString):
2384         (valueOf.valueOf):
2385         * test262/test/language/expressions/unsigned-right-shift/bigint-toprimitive.js:
2386         * test262/test/language/expressions/unsigned-right-shift/bigint-wrapped-values.js:
2387         * test262/test/language/literals/numeric/numeric-followed-by-ident.js: Added.
2388         * test262/test/language/literals/string/line-continuation-double.js: Added.
2389         * test262/test/language/literals/string/line-continuation-single.js: Added.
2390         * test262/test262-Revision.txt:
2391
2392 2018-05-25  Mark Lam  <mark.lam@apple.com>
2393
2394         for-in loops should preserve and restore the TDZ stack for each of its internal loops.
2395         https://bugs.webkit.org/show_bug.cgi?id=185995
2396         <rdar://problem/40173142>
2397
2398         Reviewed by Saam Barati.
2399
2400         * stress/regress-185995.js: Added.
2401
2402 2018-05-23  Keith Miller  <keith_miller@apple.com>
2403
2404         Define length on CoW array should properly convert to writable
2405         https://bugs.webkit.org/show_bug.cgi?id=185927
2406
2407         Reviewed by Yusuke Suzuki.
2408
2409         * stress/cow-define-length-as-value.js: Added.
2410         (test):
2411
2412 2018-05-23  Michael Saboff  <msaboff@apple.com>
2413
2414         Date.parse() doesn't properly handle input outside of ES Spec limits
2415         https://bugs.webkit.org/show_bug.cgi?id=185868
2416
2417         Reviewed by Mark Lam.
2418
2419         New test.
2420
2421         * stress/date-parse-ranges.js: Added.
2422         (shouldBe):
2423         (throw.new.Error):
2424         (shouldBeNaN):
2425
2426 2018-05-23  Rick Waldron  <waldron.rick@gmail.com>
2427
2428         Conversion misspelled "Convertion" in error message string
2429         https://bugs.webkit.org/show_bug.cgi?id=185436
2430
2431         Reviewed by Saam Barati, Michael Saboff.
2432
2433         * bigIntTests.yaml:
2434
2435 2018-05-23  Yusuke Suzuki  <utatane.tea@gmail.com>
2436
2437         Unreviewed, skip test if memoryLimited is specified
2438         https://bugs.webkit.org/show_bug.cgi?id=185888
2439
2440         * stress/regress-185888.js:
2441
2442 2018-05-22  Mark Lam  <mark.lam@apple.com>
2443
2444         BytecodeGeneratorification shouldn't add a ValueProfile if the JIT is disabled.
2445         https://bugs.webkit.org/show_bug.cgi?id=185896
2446         <rdar://problem/40471403>
2447
2448         Reviewed by Saam Barati.
2449
2450         * stress/regress-185896.js: Added.
2451
2452 2018-05-22  Yusuke Suzuki  <utatane.tea@gmail.com>
2453
2454         [JSC] Fix CachedCall's argument count if RegExp has named captures
2455         https://bugs.webkit.org/show_bug.cgi?id=185587
2456
2457         Reviewed by Mark Lam.
2458
2459         * test262/expectations.yaml:
2460
2461 2018-05-22  Mark Lam  <mark.lam@apple.com>
2462
2463         StringImpl utf8 conversion should not fail silently.
2464         https://bugs.webkit.org/show_bug.cgi?id=185888
2465         <rdar://problem/40464506>
2466
2467         Reviewed by Filip Pizlo.
2468
2469         * stress/regress-185888.js: Added.
2470
2471 2018-05-22  Keith Miller  <keith_miller@apple.com>
2472
2473         We should have a CoW storage for NewArrayBuffer arrays.
2474         https://bugs.webkit.org/show_bug.cgi?id=185003
2475
2476         Reviewed by Filip Pizlo.
2477
2478         * stress/cow-convert-contiguous-to-array-storage.js: Added.
2479         (createBuffer):
2480         (shouldBe):
2481         (test):
2482         * stress/cow-convert-double-to-array-storage.js: Added.
2483         (createBuffer):
2484         (shouldBe):
2485         (test):
2486         * stress/cow-convert-double-to-contiguous.js: Added.
2487         (createBuffer):
2488         (shouldBe):
2489         (test):
2490         * stress/cow-convert-int32-to-array-storage.js: Added.
2491         (createBuffer):
2492         (shouldBe):
2493         (test):
2494         * stress/cow-convert-int32-to-contiguous.js: Added.
2495         (createBuffer):
2496         (shouldBe):
2497         (test):
2498         * stress/cow-convert-int32-to-double.js: Added.
2499         (createBuffer):
2500         (shouldBe):
2501         (test):
2502         * stress/put-on-cow-prototype.js: Added.
2503         (putByVal):
2504         (putById):
2505
2506 2018-05-21  Yusuke Suzuki  <utatane.tea@gmail.com>
2507
2508         Unreviewed, reland InById cache
2509         https://bugs.webkit.org/show_bug.cgi?id=185682
2510
2511         * stress/in-by-id-accessors.js: Added.
2512         (shouldBe):
2513         (test):
2514         (protoGetter.__proto__.get hello):
2515         (protoSetter.__proto__.set hello):
2516         (i.shouldBe.test.get hello):
2517         (i.shouldBe.test.set hello):
2518         * stress/in-by-id-ai.js: Added.
2519         (shouldBe):
2520         (test):
2521         * stress/in-by-id-custom-accessors.js: Added.
2522         (shouldBe):
2523         (test1):
2524         (test2):
2525         * stress/in-by-id-custom-values.js: Added.
2526         (shouldBe):
2527         (test):
2528         * stress/in-by-id-operation.js: Added.
2529         (shouldBe):
2530         (test):
2531         (selfCache):
2532         * stress/in-by-id-proxy.js: Added.
2533         (shouldBe):
2534         (test):
2535         (handler.has):
2536
2537 2018-05-21  Commit Queue  <commit-queue@webkit.org>
2538
2539         Unreviewed, rolling out r231998 and r232017.
2540         https://bugs.webkit.org/show_bug.cgi?id=185842
2541
2542         causes crashes on 32 JSC bot (Requested by realdawei on
2543         #webkit).
2544
2545         Reverted changesets:
2546
2547         "[JSC] JSC should have consistent InById IC"
2548         https://bugs.webkit.org/show_bug.cgi?id=185682
2549         https://trac.webkit.org/changeset/231998
2550
2551         "Unreviewed, fix 32bit and scope release"
2552         https://bugs.webkit.org/show_bug.cgi?id=185682
2553         https://trac.webkit.org/changeset/232017
2554
2555 2018-05-19  Yusuke Suzuki  <utatane.tea@gmail.com>
2556
2557         [JSC] JSC should have consistent InById IC
2558         https://bugs.webkit.org/show_bug.cgi?id=185682
2559
2560         Reviewed by Filip Pizlo.
2561
2562         * stress/in-by-id-accessors.js: Added.
2563         (shouldBe):
2564         (test):
2565         (protoGetter.__proto__.get hello):
2566         (protoSetter.__proto__.set hello):
2567         (i.shouldBe.test.get hello):
2568         (i.shouldBe.test.set hello):
2569         * stress/in-by-id-ai.js: Added.
2570         (shouldBe):
2571         (test):
2572         * stress/in-by-id-custom-accessors.js: Added.
2573         (shouldBe):
2574         (test1):
2575         (test2):
2576         * stress/in-by-id-custom-values.js: Added.
2577         (shouldBe):
2578         (test):
2579         * stress/in-by-id-operation.js: Added.
2580         (shouldBe):
2581         (test):
2582         (selfCache):
2583         * stress/in-by-id-proxy.js: Added.
2584         (shouldBe):
2585         (test):
2586         (handler.has):
2587
2588 2018-05-18  Keith Miller  <keith_miller@apple.com>
2589
2590         op_in should mark if it sees out of bounds accesses
2591         https://bugs.webkit.org/show_bug.cgi?id=185792
2592
2593         Reviewed by Filip Pizlo.
2594
2595         * stress/has-indexed-property-array-storage-ftl.js:
2596         (test2):
2597         * stress/has-indexed-property-slow-put-array-storage-ftl.js:
2598         (test2):
2599
2600 2018-05-18  Mark Lam  <mark.lam@apple.com>
2601
2602         Add missing exception check.
2603         https://bugs.webkit.org/show_bug.cgi?id=185786
2604         <rdar://problem/35686560>
2605
2606         Reviewed by Michael Saboff.
2607
2608         * stress/regress-185786.js: Added.
2609
2610 2018-05-16  Filip Pizlo  <fpizlo@apple.com>
2611
2612         JSC should have InstanceOf inline caching
2613         https://bugs.webkit.org/show_bug.cgi?id=185652
2614
2615         Reviewed by Saam Barati.
2616
2617         * microbenchmarks/instanceof-always-hit-one.js: Added.
2618         * microbenchmarks/instanceof-always-hit-two.js: Added.
2619         * microbenchmarks/instanceof-dynamic.js: Added.
2620         * microbenchmarks/instanceof-sometimes-hit.js: Added.
2621         * stress/instanceof-dynamic-proxy-check-structure.js: Added.
2622         * stress/instanceof-dynamic-proxy-loop.js: Added.
2623         * stress/instanceof-dynamic-proxy.js: Added.
2624         * stress/instanceof-hit-one-object-then-another.js: Added.
2625         * stress/instanceof-hit-two-objects-then-another.js: Added.
2626         * stress/instanceof-prototype-change.js: Added.
2627         * stress/instanceof-prototype-change-to-hit.js: Added.
2628         * stress/instanceof-prototype-change-to-null.js: Added.
2629         * stress/instanceof-prototype-change-watchpointable.js: Added.
2630
2631 2018-05-17  Michael Saboff  <msaboff@apple.com>
2632
2633         We don't throw SyntaxErrors for runtime generated regular expressions with errors
2634         https://bugs.webkit.org/show_bug.cgi?id=185755
2635
2636         Reviewed by Keith Miller.
2637
2638         New regression test.
2639
2640         * stress/regexp-with-runtime-syntax-errors.js: Added.
2641         (testThrowsSyntaxtError):
2642         (fromExecWithBadUnicodeEscape):
2643         (fromTestWithBadUnicodeProperty):
2644         (fromSplitWithBadUnicodeIdentity):
2645         (fromMatchWithBadUnicodeBackReference):
2646         (fromReplaceWithBadUnicodeEscape):
2647         (fromSearchWithBadUnicodeEscape):
2648
2649 2018-05-16  Caio Lima  <ticaiolima@gmail.com>
2650
2651         [ESNext][BigInt] Implement support for "/" operation
2652         https://bugs.webkit.org/show_bug.cgi?id=183996
2653
2654         Reviewed by Yusuke Suzuki.
2655
2656         * bigIntTests.yaml:
2657         * stress/big-int-div-jit.js: Added.
2658         * stress/big-int-div-memory-stress.js: Added.
2659         * stress/big-int-div-to-primitive-precedence.js: Added.
2660         * stress/big-int-div-to-primitive.js: Added.
2661         * stress/big-int-div-type-error.js: Added.
2662         * stress/big-int-div-wrapped-value.js: Added.
2663         * stress/big-int-division.js: Added.
2664
2665 2018-05-16  Saam Barati  <sbarati@apple.com>
2666
2667         Constant fold CheckTypeInfoFlags on ImplementsDefaultHasInstance
2668         https://bugs.webkit.org/show_bug.cgi?id=185670
2669
2670         Reviewed by Yusuke Suzuki.
2671
2672         * microbenchmarks/constant-fold-check-type-info-flags.js: Added.
2673         * stress/dont-constant-fold-check-type-info-on-bound-function.js: Added.
2674
2675 2018-05-16  Commit Queue  <commit-queue@webkit.org>
2676
2677         Unreviewed, rolling out r231845.
2678         https://bugs.webkit.org/show_bug.cgi?id=185702
2679
2680         it is breaking Apple High Sierra 32-bit JSC bot (Requested by
2681         caiolima on #webkit).
2682
2683         Reverted changeset:
2684
2685         "[ESNext][BigInt] Implement support for "/" operation"
2686         https://bugs.webkit.org/show_bug.cgi?id=183996
2687         https://trac.webkit.org/changeset/231845
2688
2689 2018-05-16  Filip Pizlo  <fpizlo@apple.com>
2690
2691         DFG models InstanceOf incorrectly
2692         https://bugs.webkit.org/show_bug.cgi?id=185694
2693
2694         Reviewed by Keith Miller.
2695
2696         * stress/instanceof-proxy-check-structure.js: Added.
2697         (Foo):
2698         (Bar):
2699         (doBadThings):
2700         (getPrototypeOf):
2701         (foo):
2702         (i.new.Bar):
2703         (new.Bar):
2704         * stress/instanceof-proxy-loop.js: Added.
2705         (Foo):
2706         (Bar):
2707         (doBadThings):
2708         (getPrototypeOf):
2709         (foo):
2710         * stress/instanceof-proxy.js: Added.
2711         (Foo):
2712         (Bar):
2713         (doBadThings):
2714         (getPrototypeOf):
2715         (foo):
2716
2717 2018-05-16  Caio Lima  <ticaiolima@gmail.com>
2718
2719         [ESNext][BigInt] Implement support for "/" operation
2720         https://bugs.webkit.org/show_bug.cgi?id=183996
2721
2722         Reviewed by Yusuke Suzuki.
2723
2724         * bigIntTests.yaml:
2725         * stress/big-int-div-jit.js: Added.
2726         * stress/big-int-div-memory-stress.js: Added.
2727         * stress/big-int-div-to-primitive-precedence.js: Added.
2728         * stress/big-int-div-to-primitive.js: Added.
2729         * stress/big-int-div-type-error.js: Added.
2730         * stress/big-int-div-wrapped-value.js: Added.
2731         * stress/big-int-division.js: Added.
2732
2733 2018-05-14  Leo Balter  <leonardo.balter@gmail.com>
2734
2735         Fix a legacy CRLF eol from Test262
2736         https://bugs.webkit.org/show_bug.cgi?id=185565
2737
2738         Reviewed by Yusuke Suzuki.
2739
2740         * test262/config.yaml:
2741         * test262/test/built-ins/Math/cbrt/prop-desc.js:
2742
2743 2018-05-14  Yusuke Suzuki  <utatane.tea@gmail.com>
2744
2745         [JSC] timeClip(-0) should produce +0
2746         https://bugs.webkit.org/show_bug.cgi?id=185589
2747
2748         Reviewed by Saam Barati.
2749
2750         Fix several test262 failures.
2751
2752         * stress/date-negative-zero.js: Added.
2753         (shouldBe):
2754         * test262/expectations.yaml:
2755
2756 2018-05-13  Caio Lima  <ticaiolima@gmail.com>
2757
2758         [BigInt] stress/big-int-spec-to-primitive.js test is failing
2759         https://bugs.webkit.org/show_bug.cgi?id=185582
2760
2761         Reviewed by Yusuke Suzuki.
2762
2763         This patch is removing the use of ```numberOfDFGCompiles``` from 
2764         stress/big-int-spec-to-primitive.js because it makes this est fail
2765         sometimes.
2766
2767         * stress/big-int-spec-to-primitive.js:
2768
2769 2018-05-13  Andy VanWagoner  <andy@vanwagoner.family>
2770
2771         [INTL] Improve spec & test262 compliance for Intl APIs
2772         https://bugs.webkit.org/show_bug.cgi?id=185578
2773
2774         Reviewed by Yusuke Suzuki.
2775
2776         Remove intl402 failures that have been fixed.
2777
2778         * test262/expectations.yaml:
2779         * stress/regress-178385.js: toStringTag is configurable, but not writable.
2780
2781 2018-05-11  Caio Lima  <ticaiolima@gmail.com>
2782
2783         [ESNext][BigInt] Implement support for "*" operation
2784         https://bugs.webkit.org/show_bug.cgi?id=183721
2785
2786         Reviewed by Yusuke Suzuki.
2787
2788         * bigIntTests.yaml:
2789         * stress/big-int-mul-jit.js: Added.
2790         * stress/big-int-mul-to-primitive-precedence.js: Added.
2791         * stress/big-int-mul-to-primitive.js: Added.
2792         * stress/big-int-mul-type-error.js: Added.
2793         * stress/big-int-mul-wrapped-value.js: Added.
2794         * stress/big-int-multiplication.js: Added.
2795         * stress/big-int-multiply-memory-stress.js: Added.
2796
2797 2018-05-11  Michael Saboff  <msaboff@apple.com>
2798
2799         [DFG] Compiler uses incorrect output register for NumberIsInteger operation
2800         https://bugs.webkit.org/show_bug.cgi?id=185328
2801
2802         Reviewed by Keith Miller.
2803
2804         New regression test.
2805
2806         * stress/isInteger-doesnt-overwrite-argument.js: Added.
2807         (testIsInteger):
2808
2809 2018-05-09  Yusuke Suzuki  <utatane.tea@gmail.com>
2810
2811         [JSC] Object.assign for final objects should be faster
2812         https://bugs.webkit.org/show_bug.cgi?id=185348
2813
2814         Reviewed by Saam Barati.
2815
2816         * stress/object-assign-fast-path.js: Added.
2817         (shouldBe):
2818         (checkProperty):
2819
2820 2018-05-10  Leo Balter  <leonardo.balter@gmail.com>
2821
2822         Update Test262 tests through the new import script - 20180509
2823         https://bugs.webkit.org/show_bug.cgi?id=185482
2824
2825         Reviewed by Michael Saboff.
2826
2827         Also update the test262/expecatations.yaml with the recent imported files.
2828
2829         * test262/expectations.yaml:
2830         * test262/harness/compareIterator.js: Added.
2831         (assert.compareIterator):
2832         * test262/harness/nativeFunctionMatcher.js:
2833         (const.assertToStringOrNativeFunction):
2834         (const.assertNativeFunction):
2835         * test262/harness/regExpUtils.js:
2836         * test262/harness/testIntl.js:
2837         (getInvalidLanguageTags):
2838         * test262/harness/testTypedArray.js:
2839         * test262/harness/wellKnownIntrinsicObjects.js: Added.
2840         (WellKnownIntrinsicObjects.forEach.wkio.catch):
2841         * test262/latest-changes-summary.txt: Added.
2842         * test262/test/annexB/language/eval-code/direct/block-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/block-decl-strict-caller.js.
2843         (catch):
2844         * test262/test/annexB/language/eval-code/direct/switch-case-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-source.js.
2845         (catch):
2846         * test262/test/annexB/language/eval-code/direct/switch-dflt-decl-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
2847         (catch):
2848         * test262/test/annexB/language/function-code/block-decl-nested-blocks-with-fun-decl.js: Added.
2849         (g.f):
2850         (g):
2851         * test262/test/annexB/language/function-code/block-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/block-decl-strict.js.
2852         (catch):
2853         (f):
2854         * test262/test/annexB/language/function-code/switch-case-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/switch-case-decl-strict.js.
2855         (catch):
2856         (switch.case.1):
2857         (switch):
2858         * test262/test/annexB/language/function-code/switch-dflt-decl-nostrict.js: Copied from JSTests/test262/test/language/function-code/switch-dflt-decl-strict.js.
2859         (catch):
2860         (switch.default):
2861         (switch):
2862         * test262/test/built-ins/Array/prototype/filter/target-array-with-non-writable-property.js: Added.
2863         (a.Symbol.species):
2864         (r.a.filter):
2865         * test262/test/built-ins/Array/prototype/indexOf/calls-only-has-on-prototype-after-length-zeroed.js: Added.
2866         (allowProxyTraps.has):
2867         (fromIndex.valueOf):
2868         * test262/test/built-ins/Array/prototype/lastIndexOf/calls-only-has-on-prototype-after-length-zeroed.js: Added.
2869         (allowProxyTraps.has):
2870         (fromIndex.valueOf):
2871         * test262/test/built-ins/Array/prototype/map/target-array-with-non-writable-property.js: Added.
2872         (a.Symbol.species):
2873         (r.a.map):
2874         * test262/test/built-ins/Array/prototype/slice/target-array-with-non-writable-property.js: Added.
2875         (a.Symbol.species):
2876         * test262/test/built-ins/Array/prototype/splice/property-traps-order-with-species.js: Added.
2877         (a.Symbol.species):
2878         * test262/test/built-ins/Array/prototype/splice/target-array-with-non-writable-property.js: Added.
2879         (a.Symbol.species):
2880         * test262/test/built-ins/Atomics/Symbol.toStringTag.js:
2881         * test262/test/built-ins/Atomics/add/bad-range.js:
2882         (testWithTypedArrayConstructors):
2883         * test262/test/built-ins/Atomics/add/good-views.js:
2884         (testWithTypedArrayConstructors):
2885         * test262/test/built-ins/Atomics/add/non-views.js:
2886         * test262/test/built-ins/Atomics/add/nonshared-int-views.js:
2887         (testWithTypedArrayConstructors):
2888         * test262/test/built-ins/Atomics/add/shared-nonint-views.js:
2889         (testWithTypedArrayConstructors):
2890         * test262/test/built-ins/Atomics/and/bad-range.js:
2891         (testWithTypedArrayConstructors):
2892         * test262/test/built-ins/Atomics/and/good-views.js:
2893         (testWithTypedArrayConstructors):
2894         * test262/test/built-ins/Atomics/and/non-views.js:
2895         * test262/test/built-ins/Atomics/and/nonshared-int-views.js:
2896         (testWithTypedArrayConstructors):
2897         * test262/test/built-ins/Atomics/and/shared-nonint-views.js:
2898         (testWithTypedArrayConstructors):
2899         * test262/test/built-ins/Atomics/compareExchange/bad-range.js:
2900         (testWithTypedArrayConstructors):
2901         * test262/test/built-ins/Atomics/compareExchange/good-views.js:
2902         (testWithTypedArrayConstructors):
2903         (view): Deleted.
2904         * test262/test/built-ins/Atomics/compareExchange/non-views.js:
2905         * test262/test/built-ins/Atomics/compareExchange/nonshared-int-views.js:
2906         (testWithTypedArrayConstructors):
2907         * test262/test/built-ins/Atomics/compareExchange/shared-nonint-views.js:
2908         (testWithTypedArrayConstructors):
2909         * test262/test/built-ins/Atomics/exchange/bad-range.js:
2910         (testWithTypedArrayConstructors):
2911         * test262/test/built-ins/Atomics/exchange/good-views.js:
2912         (testWithTypedArrayConstructors):
2913         * test262/test/built-ins/Atomics/exchange/non-views.js:
2914         * test262/test/built-ins/Atomics/exchange/nonshared-int-views.js:
2915         (testWithTypedArrayConstructors):
2916         * test262/test/built-ins/Atomics/exchange/shared-nonint-views.js:
2917         (testWithTypedArrayConstructors):
2918         * test262/test/built-ins/Atomics/isLockFree/corner-cases.js:
2919         (hide):
2920         * test262/test/built-ins/Atomics/isLockFree/value.js:
2921         (testIsLockFree): Deleted.
2922         * test262/test/built-ins/Atomics/load/bad-range.js:
2923         (testWithTypedArrayConstructors):
2924         * test262/test/built-ins/Atomics/load/good-views.js:
2925         (testWithTypedArrayConstructors):
2926         * test262/test/built-ins/Atomics/load/non-views.js:
2927         * test262/test/built-ins/Atomics/load/nonshared-int-views.js:
2928         (testWithTypedArrayConstructors):
2929         * test262/test/built-ins/Atomics/load/shared-nonint-views.js:
2930         (testWithTypedArrayConstructors):
2931         * test262/test/built-ins/Atomics/or/bad-range.js:
2932         (testWithTypedArrayConstructors):
2933         * test262/test/built-ins/Atomics/or/good-views.js:
2934         (testWithTypedArrayConstructors):
2935         * test262/test/built-ins/Atomics/or/non-views.js:
2936         * test262/test/built-ins/Atomics/or/nonshared-int-views.js:
2937         (testWithTypedArrayConstructors):
2938         * test262/test/built-ins/Atomics/or/shared-nonint-views.js:
2939         (testWithTypedArrayConstructors):
2940         * test262/test/built-ins/Atomics/prop-desc.js:
2941         * test262/test/built-ins/Atomics/proto.js:
2942         * test262/test/built-ins/Atomics/store/bad-range.js:
2943         (testWithTypedArrayConstructors):
2944         * test262/test/built-ins/Atomics/store/good-views.js:
2945         (testWithTypedArrayConstructors):
2946         (ToInteger):
2947         * test262/test/built-ins/Atomics/store/non-views.js:
2948         * test262/test/built-ins/Atomics/store/nonshared-int-views.js:
2949         (testWithTypedArrayConstructors):
2950         * test262/test/built-ins/Atomics/store/shared-nonint-views.js:
2951         (testWithTypedArrayConstructors):
2952         * test262/test/built-ins/Atomics/sub/bad-range.js:
2953         (testWithTypedArrayConstructors):
2954         * test262/test/built-ins/Atomics/sub/good-views.js:
2955         (testWithTypedArrayConstructors):
2956         * test262/test/built-ins/Atomics/sub/non-views.js:
2957         * test262/test/built-ins/Atomics/sub/nonshared-int-views.js:
2958         (testWithTypedArrayConstructors):
2959         * test262/test/built-ins/Atomics/sub/shared-nonint-views.js:
2960         (testWithTypedArrayConstructors):
2961         * test262/test/built-ins/Atomics/wait/bad-range.js: Copied from JSTests/test262/test/built-ins/Atomics/wake/bad-range.js.
2962         (testWithTypedArrayConstructors):
2963         * test262/test/built-ins/Atomics/wait/cannot-suspend-throws.js:
2964         * test262/test/built-ins/Atomics/wait/did-timeout.js:
2965         (getReport):
2966         * test262/test/built-ins/Atomics/wait/false-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
2967         (getReport):
2968         (262.agent.start.valueOf.valueOf):
2969         (toPrimitive.Symbol.toPrimitive):
2970         (262.agent.receiveBroadcast):
2971         * test262/test/built-ins/Atomics/wait/false-for-timeout.js:
2972         (valueOf.valueOf):
2973         (toPrimitive.Symbol.toPrimitive):
2974         (getReport): Deleted.
2975         (262.agent.start.262.agent.receiveBroadcast): Deleted.
2976         * test262/test/built-ins/Atomics/wait/good-views.js:
2977         (r.getReport):
2978         (getReport):
2979         * test262/test/built-ins/Atomics/wait/nan-for-timeout.js:
2980         (getReport):
2981         * test262/test/built-ins/Atomics/wait/negative-index-throws.js:
2982         * test262/test/built-ins/Atomics/wait/negative-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/negative-timeout.js.
2983         (getReport):
2984         (262.agent.start.262.agent.receiveBroadcast):
2985         * test262/test/built-ins/Atomics/wait/negative-timeout.js:
2986         (262.agent.start.262.agent.receiveBroadcast): Deleted.
2987         (getReport): Deleted.
2988         * test262/test/built-ins/Atomics/wait/no-spurious-wakeup.js:
2989         (getReport):
2990         * test262/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js:
2991         * test262/test/built-ins/Atomics/wait/non-shared-bufferdata-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/nonshared-bufferdata-throws.js.
2992         * test262/test/built-ins/Atomics/wait/not-a-typedarray-throws.js:
2993         * test262/test/built-ins/Atomics/wait/not-an-object-throws.js:
2994         * test262/test/built-ins/Atomics/wait/null-bufferdata-throws.js:
2995         * test262/test/built-ins/Atomics/wait/null-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
2996         (getReport):
2997         (262.agent.start.valueOf.valueOf):
2998         (toPrimitive.Symbol.toPrimitive):
2999         (262.agent.receiveBroadcast):
3000         * test262/test/built-ins/Atomics/wait/null-for-timeout.js:
3001         (valueOf.valueOf):
3002         (toPrimitive.Symbol.toPrimitive):
3003         (getReport): Deleted.
3004         (262.agent.start.262.agent.receiveBroadcast): Deleted.
3005         * test262/test/built-ins/Atomics/wait/object-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/false-for-timeout.js.
3006         (getReport):
3007         (262.agent.start.valueOf.valueOf):
3008         (toString.toString):
3009         (toPrimitive.Symbol.toPrimitive):
3010         (262.agent.receiveBroadcast):
3011         * test262/test/built-ins/Atomics/wait/object-for-timeout.js:
3012         (valueOf.valueOf):
3013         (toString.toString):
3014         (toPrimitive.Symbol.toPrimitive):
3015         (getReport): Deleted.
3016         (262.agent.start.262.agent.receiveBroadcast): Deleted.
3017         * test262/test/built-ins/Atomics/wait/out-of-range-index-throws.js:
3018         * test262/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws-agent.js: Added.
3019         (getReport):
3020         (262.agent.start.poisonedValueOf.valueOf):
3021         (poisonedToPrimitive.Symbol.toPrimitive):
3022         (262.agent.receiveBroadcast):
3023         * test262/test/built-ins/Atomics/wait/poisoned-object-for-timeout-throws.js:
3024         (poisonedValueOf.valueOf):
3025         (poisonedToPrimitive.Symbol.toPrimitive):
3026         (getReport): Deleted.
3027         (262.agent.start.262.agent.receiveBroadcast): Deleted.
3028         * test262/test/built-ins/Atomics/wait/symbol-for-index-throws-agent.js: Added.
3029         (getReport):
3030         (262.agent.start.poisonedValueOf.valueOf):
3031         (poisonedToPrimitive.Symbol.toPrimitive):
3032         (262.agent.receiveBroadcast):
3033         * test262/test/built-ins/Atomics/wait/symbol-for-index-throws.js:
3034         (poisonedToPrimitive.Symbol.toPrimitive):
3035         (poisoned.valueOf): Deleted.
3036         (poisonedWithString.get valueOf): Deleted.
3037         (poisonedToPrimitive.get Symbol): Deleted.
3038         * test262/test/built-ins/Atomics/wait/symbol-for-timeout-throws-agent.js: Added.
3039         (getReport):
3040         (262.agent.start.262.agent.receiveBroadcast):
3041         * test262/test/built-ins/Atomics/wait/symbol-for-timeout-throws.js:
3042         (poisonedValueOf.valueOf):
3043         (poisonedToPrimitive.Symbol.toPrimitive):
3044         (getReport): Deleted.
3045         (262.agent.start.262.agent.receiveBroadcast): Deleted.
3046         * test262/test/built-ins/Atomics/wait/symbol-for-value-throws-agent.js: Added.
3047         (getReport):
3048         (262.agent.start.poisonedValueOf.valueOf):
3049         (poisonedToPrimitive.Symbol.toPrimitive):
3050         (262.agent.receiveBroadcast):
3051         * test262/test/built-ins/Atomics/wait/symbol-for-value-throws.js: Added.
3052         (poisonedValueOf.valueOf):
3053         (poisonedToPrimitive.Symbol.toPrimitive):
3054         * test262/test/built-ins/Atomics/wait/true-for-timeout-agent.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/null-for-timeout.js.
3055         (getReport):
3056         (262.agent.start.valueOf.valueOf):
3057         (toPrimitive.Symbol.toPrimitive):
3058         (262.agent.receiveBroadcast):
3059         * test262/test/built-ins/Atomics/wait/true-for-timeout.js:
3060         (valueOf.valueOf):
3061         (toPrimitive.Symbol.toPrimitive):
3062         (getReport): Deleted.
3063         (262.agent.start.262.agent.receiveBroadcast): Deleted.
3064         * test262/test/built-ins/Atomics/wait/undefined-for-timeout.js:
3065         (getReport):
3066         * test262/test/built-ins/Atomics/wait/undefined-index-defaults-to-zero.js:
3067         (262.agent.start.262.agent.receiveBroadcast):
3068         (getReport):
3069         * test262/test/built-ins/Atomics/wait/value-not-equal.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/wait-index-value-not-equal.js.
3070         (getReport):
3071         (262.agent.start.262.agent.receiveBroadcast):
3072         * test262/test/built-ins/Atomics/wait/wait-index-value-not-equal.js:
3073         (262.agent.start.262.agent.receiveBroadcast):
3074         * test262/test/built-ins/Atomics/wait/waiterlist-block-indexedposition-wake.js: Added.
3075         (getReport):
3076         (262.agent.start.262.agent.receiveBroadcast):
3077         * test262/test/built-ins/Atomics/wait/waiterlist-order-of-operations-is-fifo.js: Added.
3078         (getReport):
3079         (262.agent.start.262.agent.receiveBroadcast):
3080         * test262/test/built-ins/Atomics/wait/was-woken-before-timeout.js:
3081         (getReport):
3082         (262.agent.start.262.agent.receiveBroadcast):
3083         * test262/test/built-ins/Atomics/wait/was-woken.js:
3084         (getReport):
3085         (262.agent.start.262.agent.receiveBroadcast):
3086         * test262/test/built-ins/Atomics/wake/bad-range.js:
3087         (testWithTypedArrayConstructors):
3088         * test262/test/built-ins/Atomics/wake/count-boundary-cases.js: Renamed from JSTests/test262/test/built-ins/Atomics/wake/counts.js.
3089         * test262/test/built-ins/Atomics/wake/count-defaults-to-infinity-missing.js: Added.
3090         (getReport):
3091         (262.agent.start.262.agent.receiveBroadcast):
3092         * test262/test/built-ins/Atomics/wake/count-defaults-to-infinity-undefined.js: Added.
3093         (getReport):
3094         (262.agent.start.262.agent.receiveBroadcast):
3095         * test262/test/built-ins/Atomics/wake/count-from-nans.js: Added.
3096         * test262/test/built-ins/Atomics/wake/count-symbol-throws.js: Added.
3097         * test262/test/built-ins/Atomics/wake/count-tointeger-throws-then-wake-throws.js: Added.
3098         (poisoned.valueOf):
3099         * test262/test/built-ins/Atomics/wake/good-views.js:
3100         * test262/test/built-ins/Atomics/wake/negative-count.js: Renamed from JSTests/test262/test/built-ins/Atomics/wake/wake-negative.js.
3101         * test262/test/built-ins/Atomics/wake/negative-index-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/negative-index-throws.js.
3102         (poisoned.valueOf):
3103         * test262/test/built-ins/Atomics/wake/non-int32-typedarray-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/non-int32-typedarray-throws.js.
3104         (poisoned.valueOf):
3105         * test262/test/built-ins/Atomics/wake/non-shared-bufferdata-throws.js: Renamed from JSTests/test262/test/built-ins/Atomics/wait/nonshared-bufferdata-throws.js.
3106         (poisoned.valueOf):
3107         * test262/test/built-ins/Atomics/wake/non-views.js:
3108         * test262/test/built-ins/Atomics/wake/nonshared-int-views.js:
3109         (testWithTypedArrayConstructors):
3110         * test262/test/built-ins/Atomics/wake/not-a-typedarray-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/not-a-typedarray-throws.js.
3111         (poisoned.valueOf):
3112         * test262/test/built-ins/Atomics/wake/not-an-object-throws.js: Added.
3113         (poisoned.valueOf):
3114         * test262/test/built-ins/Atomics/wake/null-bufferdata-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/null-bufferdata-throws.js.
3115         (poisoned.valueOf):
3116         * test262/test/built-ins/Atomics/wake/out-of-range-index-throws.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/out-of-range-index-throws.js.
3117         (poisoned.valueOf):
3118         * test262/test/built-ins/Atomics/wake/shared-nonint-views.js:
3119         (testWithTypedArrayConstructors):
3120         * test262/test/built-ins/Atomics/wake/symbol-for-index-throws.js: Added.
3121         (poisonedValueOf.valueOf):
3122         (poisonedToPrimitive.Symbol.toPrimitive):
3123         * test262/test/built-ins/Atomics/wake/undefined-index-defaults-to-zero.js: Copied from JSTests/test262/test/built-ins/Atomics/wait/undefined-index-defaults-to-zero.js.
3124         (262.agent.start.262.agent.receiveBroadcast):
3125         (getReport):
3126         * test262/test/built-ins/Atomics/wake/wake-all-on-loc.js:
3127         (262.agent.start.262.agent.receiveBroadcast):
3128         (getReport):
3129         (waitUntil):
3130         * test262/test/built-ins/Atomics/wake/wake-all.js:
3131         (262.agent.start.262.agent.receiveBroadcast):
3132         (getReport):
3133         (waitUntil):
3134         * test262/test/built-ins/Atomics/wake/wake-in-order.js:
3135         (getReport):
3136         (waitUntil):
3137         * test262/test/built-ins/Atomics/wake/wake-nan.js:
3138         (getReport):
3139         * test262/test/built-ins/Atomics/wake/wake-one.js:
3140         (getReport):
3141         (waitUntil):
3142         * test262/test/built-ins/Atomics/wake/wake-rewake-noop.js: Added.
3143         (getReport):
3144         (waitUntil):
3145         (262.agent.start.262.agent.receiveBroadcast):
3146         * test262/test/built-ins/Atomics/wake/wake-two.js:
3147         (getReport):
3148         * test262/test/built-ins/Atomics/wake/wake-with-no-agents-waiting.js: Added.
3149         (262.agent.start.262.agent.receiveBroadcast):
3150         (waitUntil):
3151         * test262/test/built-ins/Atomics/wake/wake-with-no-matching-agents-waiting.js: Added.
3152         (262.agent.start.262.agent.receiveBroadcast):
3153         (waitUntil):
3154         * test262/test/built-ins/Atomics/wake/wake-zero.js:
3155         (i.262.agent.start.262.agent.receiveBroadcast):
3156         (getReport):
3157         (waitUntil):
3158         * test262/test/built-ins/Atomics/xor/bad-range.js:
3159         (testWithTypedArrayConstructors):
3160         * test262/test/built-ins/Atomics/xor/good-views.js:
3161         (testWithTypedArrayConstructors):
3162         * test262/test/built-ins/Atomics/xor/non-views.js:
3163         * test262/test/built-ins/Atomics/xor/nonshared-int-views.js:
3164         (testWithTypedArrayConstructors):
3165         * test262/test/built-ins/Atomics/xor/shared-nonint-views.js:
3166         (testWithTypedArrayConstructors):
3167         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-errors.js:
3168         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-toprimitive.js:
3169         * test262/test/built-ins/BigInt/asIntN/bigint-tobigint-wrapped-values.js:
3170         * test262/test/built-ins/BigInt/asIntN/bits-toindex-errors.js:
3171         * test262/test/built-ins/BigInt/asIntN/bits-toindex-toprimitive.js:
3172         * test262/test/built-ins/BigInt/asIntN/bits-toindex-wrapped-values.js:
3173         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-errors.js:
3174         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-toprimitive.js:
3175         * test262/test/built-ins/BigInt/asUintN/bigint-tobigint-wrapped-values.js:
3176         * test262/test/built-ins/BigInt/asUintN/bits-toindex-errors.js:
3177         * test262/test/built-ins/BigInt/asUintN/bits-toindex-toprimitive.js:
3178         * test262/test/built-ins/BigInt/asUintN/bits-toindex-wrapped-values.js:
3179         * test262/test/built-ins/BigInt/constructor-empty-string.js:
3180         * test262/test/built-ins/BigInt/constructor-from-binary-string.js:
3181         * test262/test/built-ins/BigInt/constructor-from-decimal-string.js:
3182         * test262/test/built-ins/BigInt/constructor-from-hex-string.js:
3183         * test262/test/built-ins/BigInt/constructor-from-octal-string.js:
3184         * test262/test/built-ins/BigInt/constructor-from-string-syntax-errors.js:
3185         * test262/test/built-ins/BigInt/constructor-integer.js: Added.
3186         * test262/test/built-ins/BigInt/constructor-trailing-leading-spaces.js:
3187         * test262/test/built-ins/BigInt/issafeinteger-true.js: Removed.
3188         * test262/test/built-ins/BigInt/out-of-bounds-integer-rangeerror.js: Removed.
3189         * test262/test/built-ins/BigInt/prototype/Symbol.toStringTag.js:
3190         * test262/test/built-ins/BigInt/prototype/toString/default-radix.js: Added.
3191         * test262/test/built-ins/BigInt/prototype/toString/thisbigintvalue-not-valid-throws.js:
3192         * test262/test/built-ins/BigInt/prototype/valueOf/cross-realm.js: Added.
3193         * test262/test/built-ins/BigInt/tostring-throws.js: Copied from JSTests/test262/test/built-ins/BigInt/value-of-throws.js.
3194         * test262/test/built-ins/BigInt/valueof-throws.js: Renamed from JSTests/test262/test/built-ins/BigInt/value-of-throws.js.
3195         (BigInt.valueOf):
3196         * test262/test/built-ins/DataView/prototype/setBigInt64/set-values-return-undefined.js:
3197         (values.forEach):
3198         * test262/test/built-ins/Function/prototype/bind/length-exceeds-int32.js: Added.
3199         (f):
3200         * test262/test/built-ins/Function/prototype/toString/anonymous-intrinsics.js: Removed.
3201         * test262/test/built-ins/Function/prototype/toString/bound-function.js:
3202         (assertNativeFunction):
3203         (let.f): Deleted.
3204         * test262/test/built-ins/Function/prototype/toString/built-in-function-object.js: Added.
3205         * test262/test/built-ins/Function/prototype/toString/intrinsics.js: Removed.
3206         * test262/test/built-ins/Function/prototype/toString/proxy-arrow-function.js: Added.
3207         (assertNativeFunction.new.Proxy):
3208         * test262/test/built-ins/Function/prototype/toString/proxy-async-function.js: Added.
3209         (assertNativeFunction.new.Proxy.async):
3210         * test262/test/built-ins/Function/prototype/toString/proxy-async-generator-function.js: Added.
3211         (assertNativeFunction.new.Proxy.async):
3212         * test262/test/built-ins/Function/prototype/toString/proxy-async-generator-method-definition.js: Added.
3213         (assertNativeFunction.new.Proxy.async.method):
3214         (apply):
3215         * test262/test/built-ins/Function/prototype/toString/proxy-async-method-definition.js: Added.
3216         (assertNativeFunction.new.Proxy.async.method):
3217         (apply):
3218         * test262/test/built-ins/Function/prototype/toString/proxy-bound-function.js: Added.
3219         (assertNativeFunction.new.Proxy):
3220         (bind):
3221         * test262/test/built-ins/Function/prototype/toString/proxy-class.js: Added.
3222         (assertNativeFunction):
3223         * test262/test/built-ins/Function/prototype/toString/proxy-function-expression.js: Added.
3224         (assertNativeFunction.new.Proxy):
3225         * test262/test/built-ins/Function/prototype/toString/proxy-generator-function.js: Added.
3226         (assertNativeFunction.new.Proxy):
3227         * test262/test/built-ins/Function/prototype/toString/proxy-method-definition.js: Added.
3228         (assertNativeFunction.new.Proxy.method):
3229         (apply):
3230         * test262/test/built-ins/Function/prototype/toString/proxy-non-callable-throws.js: Added.
3231         * test262/test/built-ins/Function/prototype/toString/proxy.js: Removed.
3232         * test262/test/built-ins/Function/prototype/toString/well-known-intrinsic-object-functions.js: Added.
3233         (WellKnownIntrinsicObjects.forEach):
3234         * test262/test/built-ins/JSON/prop-desc.js: Added.
3235         * test262/test/built-ins/Math/acosh/nan-returns.js:
3236         * test262/test/built-ins/Math/asinh/asinh-specialVals.js:
3237         * test262/test/built-ins/Math/atanh/atanh-specialVals.js:
3238         * test262/test/built-ins/Math/cbrt/cbrt-specialValues.js:
3239         * test262/test/built-ins/Math/cbrt/prop-desc.js:
3240         * test262/test/built-ins/Math/cosh/cosh-specialVals.js:
3241         * test262/test/built-ins/Math/expm1/expm1-specialVals.js:
3242         * test262/test/built-ins/Math/log10/Log10-specialVals.js:
3243         * test262/test/built-ins/Math/log2/log2-basicTests.js:
3244         * test262/test/built-ins/Math/prop-desc.js:
3245         * test262/test/built-ins/Math/sign/sign-specialVals.js:
3246         * test262/test/built-ins/Math/sinh/sinh-specialVals.js:
3247         * test262/test/built-ins/Math/tanh/tanh-specialVals.js:
3248         * test262/test/built-ins/Math/trunc/trunc-sampleTests.js:
3249         * test262/test/built-ins/Math/trunc/trunc-specialVals.js:
3250         * test262/test/built-ins/Object/assign/strings-and-symbol-order.js: Added.
3251         * test262/test/built-ins/Object/keys/property-traps-order-with-proxied-array.js: Added.
3252         (get t):
3253         * test262/test/built-ins/Reflect/Reflect.js: Removed.
3254         * test262/test/built-ins/Reflect/prop-desc.js: Added.
3255         * test262/test/built-ins/Reflect/properties.js: Removed.
3256         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/internal-regexp-lastindex-not-zero.js: Added.
3257         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-is-false.js: Added.
3258         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-internal-regexp-throws.js: Added.
3259         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/isregexp-this-throws.js: Added.
3260         (obj.get Symbol):
3261         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/length.js: Added.
3262         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/name.js: Added.
3263         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/prop-desc.js: Added.
3264         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/regexpcreate-this-throws.js: Added.
3265         (obj.toString):
3266         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-get-constructor-throws.js: Added.
3267         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-get-species-throws.js: Added.
3268         (regexp.get Symbol):
3269         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-is-not-object-throws.js: Added.
3270         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-is-undefined.js: Added.
3271         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-is-not-constructor.js: Added.
3272         (callMatchAll):
3273         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-is-null-or-undefined.js: Added.
3274         (TestWithConstructor):
3275         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor-species-throws.js: Added.
3276         (regexp.Symbol.species):
3277         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-constructor.js: Added.
3278         (regexp.Symbol.species):
3279         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-regexp-get-global-throws.js: Added.
3280         (regexp.Symbol.species):
3281         (get assert):
3282         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/species-regexp-get-unicode-throws.js: Added.
3283         (regexp.Symbol.species):
3284         (get assert):
3285         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/string-tostring-throws.js: Added.
3286         (obj.valueOf):
3287         (obj.toString):
3288         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/string-tostring.js: Added.
3289         (obj.toString):
3290         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-get-flags-throws.js: Added.
3291         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-get-flags.js: Added.
3292         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-lastindex-cached.js: Added.
3293         (regexp.lastIndex.valueOf):
3294         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-not-object-throws.js: Added.
3295         (callMatchAll):
3296         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tolength-lastindex-throws.js: Added.
3297         (regexp.lastIndex.valueOf):
3298         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tostring-flags-throws.js: Added.
3299         (value.valueOf):
3300         (value.toString):
3301         * test262/test/built-ins/RegExp/prototype/Symbol.matchAll/this-tostring-flags.js: Added.
3302         (value.toString):
3303         * test262/test/built-ins/RegExpStringIteratorPrototype/Symbol.toStringTag.js: Added.
3304         * test262/test/built-ins/RegExpStringIteratorPrototype/ancestry.js: Added.
3305         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-call-throws.js: Added.
3306         (RegExp.prototype.exec):
3307         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-get-throws.js: Added.
3308         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-throws.js: Added.
3309         (return.get string_appeared_here):
3310         (RegExp.prototype.exec):
3311         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-tostring-throws.js: Added.
3312         (return.toString):
3313         (RegExp.prototype.exec):
3314         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-match-get-0-tostring.js: Added.
3315         (execResult.get string_appeared_here):
3316         (RegExp.prototype.exec):
3317         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec-not-callable.js: Added.
3318         (TestWithRegExpExec):
3319         * test262/test/built-ins/RegExpStringIteratorPrototype/next/custom-regexpexec.js: Added.
3320         (callNextWithExecReturnValue.RegExp.prototype.exec):
3321         (callNextWithExecReturnValue):
3322         * test262/test/built-ins/RegExpStringIteratorPrototype/next/length.js: Added.
3323         * test262/test/built-ins/RegExpStringIteratorPrototype/next/name.js: Added.
3324         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-iteration-global.js: Added.
3325         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-iteration.js: Added.
3326         * test262/test/built-ins/RegExpStringIteratorPrototype/next/next-missing-internal-slots.js: Added.
3327         * test262/test/built-ins/RegExpStringIteratorPrototype/next/prop-desc.js: Added.
3328         * test262/test/built-ins/RegExpStringIteratorPrototype/next/regexp-tolength-lastindex-throws.js: Added.
3329         (RegExp.prototype.exec):
3330         * test262/test/built-ins/RegExpStringIteratorPrototype/next/this-is-not-object-throws.js: Added.
3331         (callNext):
3332         * test262/test/built-ins/String/prototype/matchAll/length.js: Added.
3333         * test262/test/built-ins/String/prototype/matchAll/name.js: Added.
3334         * test262/test/built-ins/String/prototype/matchAll/prop-desc.js: Added.
3335         * test262/test/built-ins/String/prototype/matchAll/regexp-get-matchAll-throws.js: Added.
3336         * test262/test/built-ins/String/prototype/matchAll/regexp-is-null.js: Added.
3337         * test262/test/built-ins/String/prototype/matchAll/regexp-is-undefined.js: Added.
3338         * test262/test/built-ins/String/prototype/matchAll/regexp-matchAll-invocation.js: Added.
3339         (obj.Symbol.matchAll):
3340         * test262/test/built-ins/String/prototype/matchAll/regexp-matchAll-throws.js: Added.
3341         (regexp.Symbol.matchAll):
3342         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-get-matchAll-throws.js: Added.
3343         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-has-no-matchAll.js: Added.
3344         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-invocation.js: Added.
3345         (RegExp.prototype.Symbol.matchAll):
3346         * test262/test/built-ins/String/prototype/matchAll/regexp-prototype-matchAll-throws.js: Added.
3347         (RegExp.prototype.Symbol.matchAll):
3348         * test262/test/built-ins/String/prototype/matchAll/this-val-non-obj-coercible.js: Added.
3349         * test262/test/built-ins/Symbol/matchAll/cross-realm.js: Added.
3350         * test262/test/built-ins/Symbol/matchAll/prop-desc.js: Added.
3351         * test262/test/harness/testTypedArray.js:
3352         * test262/test/intl402/Array/prototype/toLocaleString/calls-toLocaleString-number-elements.js: Added.
3353         * test262/test/intl402/Intl/getCanonicalLocales/invalid-tags.js:
3354         * test262/test/intl402/Locale/constructor-newtarget-undefined.js: Added.
3355         * test262/test/intl402/Locale/constructor-options-calendar-invalid.js: Added.
3356         (const.invalidCalendarOption.of.invalidCalendarOptions.new.Intl.Locale):
3357         * test262/test/intl402/Locale/constructor-options-calendar-valid.js: Added.
3358         * test262/test/intl402/Locale/constructor-options-language-invalid.js: Added.
3359         (const.invalidLanguageOption.of.invalidLanguageOptions.new.Intl.Locale):
3360         * test262/test/intl402/Locale/constructor-options-language-valid.js: Added.
3361         (toString):
3362         * test262/test/intl402/Locale/constructor-options-region-invalid.js: Added.
3363         (const.invalidRegionOption.of.invalidRegionOptions.new.Intl.Locale):
3364         * test262/test/intl402/Locale/constructor-options-region-valid.js: Added.
3365         * test262/test/intl402/Locale/constructor-options-script-invalid.js: Added.
3366         (const.invalidScriptOption.of.invalidScriptOptions.new.Intl.Locale):
3367         * test262/test/intl402/Locale/constructor-options-script-valid.js: Added.
3368         (toString):
3369         * test262/test/intl402/Locale/function-prototype.js: Added.
3370         * test262/test/intl402/Locale/instance-extensibility.js: Added.
3371         * test262/test/intl402/Locale/instance.js: Added.
3372         * test262/test/intl402/Locale/invalid-tag-throws-boolean.js: Added.
3373         * test262/test/intl402/Locale/invalid-tag-throws-null.js: Added.
3374         * test262/test/intl402/Locale/invalid-tag-throws-number.js: Added.
3375         * test262/test/intl402/Locale/invalid-tag-throws-symbol.js: Added.
3376         * test262/test/intl402/Locale/invalid-tag-throws-undefined.js: Added.
3377         * test262/test/intl402/Locale/invalid-tag-throws.js: Added.
3378         (const.invalidTag.of.getInvalidLanguageTags):
3379         * test262/test/intl402/Locale/length.js: Added.
3380         * test262/test/intl402/Locale/name.js: Added.
3381         * test262/test/intl402/Locale/prop-desc.js: Added.
3382         * test262/test/intl402/Locale/prototype/constructor.js: Added.
3383         * test262/test/intl402/Locale/prototype/maximize/length.js: Added.
3384         * test262/test/intl402/Locale/prototype/maximize/name.js: Added.
3385         * test262/test/intl402/Locale/prototype/maximize/prop-desc.js: Added.
3386         * test262/test/intl402/Locale/prototype/prop-desc.js: Added.
3387         * test262/test/intl402/Locale/prototype/toStringTag.js: Added.
3388         * test262/test/intl402/TypedArray/prototype/toLocaleString/calls-toLocaleString-number-elements.js: Added.
3389         (testWithTypedArrayConstructors):
3390         * test262/test/language/asi/S7.9_A11_T8.js:
3391         (else.x.1): Deleted.
3392         * test262/test/language/asi/S7.9_A4.js:
3393         (catch):
3394         * test262/test/language/asi/S7.9_A5.1_T1.js:
3395         * test262/test/language/asi/S7.9_A5.3_T1.js:
3396         * test262/test/language/block-scope/syntax/redeclaration/function-declaration-attempt-to-redeclare-with-var-declaration-nested-in-function.js: Added.
3397         (g.f):
3398         (g):
3399         * test262/test/language/destructuring/binding/initialization-requires-object-coercible-null.js:
3400         * test262/test/language/destructuring/binding/initialization-requires-object-coercible-undefined.js:
3401         * test262/test/language/destructuring/binding/initialization-returns-normal-completion-for-empty-objects.js:
3402         * test262/test/language/destructuring/binding/syntax/array-elements-with-initializer.js:
3403         * test262/test/language/destructuring/binding/syntax/array-elements-with-object-patterns.js:
3404         * test262/test/language/destructuring/binding/syntax/array-elements-without-initializer.js:
3405         * test262/test/language/destructuring/binding/syntax/array-pattern-with-elisions.js:
3406         * test262/test/language/destructuring/binding/syntax/array-pattern-with-no-elements.js:
3407         * test262/test/language/destructuring/binding/syntax/array-rest-elements.js:
3408         * test262/test/language/destructuring/binding/syntax/object-pattern-with-no-property-list.js:
3409         * test262/test/language/destructuring/binding/syntax/property-list-bindings-elements.js:
3410         * test262/test/language/destructuring/binding/syntax/property-list-followed-by-a-single-comma.js:
3411         * test262/test/language/destructuring/binding/syntax/property-list-single-name-bindings.js:
3412         * test262/test/language/destructuring/binding/syntax/property-list-with-property-list.js:
3413         * test262/test/language/destructuring/binding/syntax/recursive-array-and-object-patterns.js:
3414         * test262/test/language/eval-code/direct/block-decl-eval-source-is-strict-nostrict.js: Copied from JSTests/test262/test/language/eval-code/direct/block-decl-strict-source.js.
3415         * test262/test/language/eval-code/direct/block-decl-eval-source-is-strict-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/block-decl-strict-source.js.
3416         (catch):
3417         * test262/test/language/eval-code/direct/block-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/block-decl-strict-caller.js.
3418         * test262/test/language/eval-code/direct/switch-case-decl-eval-source-is-strict-nostrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-source.js.
3419         * test262/test/language/eval-code/direct/switch-case-decl-eval-source-is-strict-onlystrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-caller.js.
3420         (catch):
3421         * test262/test/language/eval-code/direct/switch-case-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-case-decl-strict-caller.js.
3422         * test262/test/language/eval-code/direct/switch-dflt-decl-eval-source-is-strict-nostrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-source.js.
3423         * test262/test/language/eval-code/direct/switch-dflt-decl-eval-source-is-strict-onlystrict.js: Copied from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
3424         (catch):
3425         * test262/test/language/eval-code/direct/switch-dflt-decl-onlystrict.js: Renamed from JSTests/test262/test/language/eval-code/direct/switch-dflt-decl-strict-caller.js.
3426         * test262/test/language/expressions/async-arrow-function/await-as-param-ident-nested-arrow-parameter-position.js: Added.
3427         (async):
3428         * test262/test/language/expressions/async-arrow-function/await-as-param-nested-arrow-body-position.js: Added.
3429         (async):
3430         * test262/test/language/expressions/async-arrow-function/await-as-param-nested-arrow-parameter-position.js: Added.
3431         (async.a):
3432         * test262/test/language/expressions/async-arrow-function/await-as-param-rest-nested-arrow-parameter-position.js: Added.
3433         (async.a):
3434         * test262/test/language/expressions/async-arrow-function/escaped-async-line-terminator.js: Added.
3435         * test262/test/language/expressions/async-generator/generator-created-after-decl-inst.js: Added.
3436         (g.async.a):
3437         * test262/test/language/expressions/class/class-name-ident-await-escaped-module.js: Added.
3438         (C):
3439         * test262/test/language/expressions/class/class-name-ident-await-escaped.js: Added.
3440         (C):
3441         * test262/test/language/expressions/class/class-name-ident-await-module.js: Added.
3442         (C):
3443         * test262/test/language/expressions/class/class-name-ident-await.js: Added.
3444         (C):
3445         * test262/test/language/expressions/class/class-name-ident-let-escaped.js: Added.
3446         (C):
3447         * test262/test/language/expressions/class/class-name-ident-let.js: Added.
3448         (C):
3449         * test262/test/language/expressions/class/class-name-ident-static-escaped.js: Added.
3450         (C):
3451         * test262/test/language/expressions/class/class-name-ident-static.js: Added.
3452         * test262/test/language/expressions/class/class-name-ident-yield-escaped.js: Added.
3453         (C):
3454         * test262/test/language/expressions/class/class-name-ident-yield.js: Added.
3455         (C):
3456         * test262/test/language/expressions/class/constructor-this-tdz-during-initializers.js: Added.
3457         (Base):
3458         (C):
3459         * test262/test/language/expressions/class/fields-run-once-on-double-super.js: Added.
3460         (Base):
3461         (C):
3462         * test262/test/language/expressions/generators/generator-created-after-decl-inst.js: Added.
3463         (g):
3464         * test262/test/language/expressions/greater-than-or-equal/bigint-and-incomparable-string.js: Added.
3465         * test262/test/language/expressions/greater-than-or-equal/bigint-and-string.js: Added.
3466         * test262/test/language/expressions/greater-than/bigint-and-boolean.js: Added.
3467         * test262/test/language/expressions/greater-than/bigint-and-incomparable-string.js: Added.
3468         * test262/test/language/expressions/greater-than/bigint-and-string.js: Added.
3469         * test262/test/language/expressions/less-than-or-equal/bigint-and-incomparable-string.js: Added.
3470         * test262/test/language/expressions/less-than-or-equal/bigint-and-string.js: Added.
3471         * test262/test/language/expressions/less-than/bigint-and-boolean.js: Added.
3472         * test262/test/language/expressions/less-than/bigint-and-incomparable-string.js: Added.
3473         * test262/test/language/expressions/less-than/bigint-and-string.js: Added.
3474         * test262/test/language/expressions/object/method-definition/generator-super-prop-param.js:
3475         * test262/test/language/function-code/block-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/block-decl-strict.js.
3476         * test262/test/language/function-code/switch-case-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/switch-case-decl-strict.js.
3477         * test262/test/language/function-code/switch-dflt-decl-onlystrict.js: Renamed from JSTests/test262/test/language/function-code/switch-dflt-decl-strict.js.
3478         * test262/test/language/line-terminators/S7.3_A2.3.js: Removed.
3479         * test262/test/language/line-terminators/S7.3_A2.4.js: Removed.
3480         * test262/test/language/literals/regexp/invalid-optional-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3481         * test262/test/language/literals/regexp/invalid-optional-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3482         * test262/test/language/literals/regexp/invalid-range-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3483         * test262/test/language/literals/regexp/invalid-range-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3484         * test262/test/language/literals/regexp/u-invalid-optional-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3485         * test262/test/language/literals/regexp/u-invalid-optional-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3486         * test262/test/language/literals/regexp/u-invalid-optional-negative-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3487         * test262/test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3488         * test262/test/language/literals/regexp/u-invalid-range-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3489         * test262/test/language/literals/regexp/u-invalid-range-lookbehind.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3490         * test262/test/language/literals/regexp/u-invalid-range-negative-lookahead.js: Copied from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3491         * test262/test/language/literals/regexp/u-invalid-range-negative-lookbehind.js: Renamed from JSTests/test262/test/language/literals/regexp/u-invalid-quantifiable-assertion.js.
3492         * test262/test/language/literals/string/line-separator-eval.js: Added.
3493         * test262/test/language/literals/string/line-separator.js: Added.
3494         * test262/test/language/literals/string/paragraph-separator-eval.js: Added.
3495         * test262/test/language/literals/string/paragraph-separator.js: Added.
3496         * test262/test/language/module-code/early-strict-mode.js:
3497         * test262/test/language/statements/async-generator/generator-created-after-decl-inst.js: Added.
3498         (async.g):
3499         * test262/test/language/statements/break/S12.8_A8_T1.js:
3500         (catch):
3501         * test262/test/language/statements/break/S12.8_A8_T2.js:
3502         (catch):
3503         * test262/test/language/statements/class/class-name-ident-await-escaped-module.js: Added.
3504         (aw):
3505         * test262/test/language/statements/class/class-name-ident-await-escaped.js: Added.
3506         (aw):
3507         * test262/test/language/statements/class/class-name-ident-await-module.js: Added.
3508         (await):
3509         * test262/test/language/statements/class/class-name-ident-await.js: Added.
3510         (await):
3511         * test262/test/language/statements/class/class-name-ident-let-escaped.js: Added.
3512         (l):
3513         * test262/test/language/statements/class/class-name-ident-let.js: Added.
3514         (let):
3515         * test262/test/language/statements/class/class-name-ident-static-escaped.js: Added.
3516         (st):
3517         * test262/test/language/statements/class/class-name-ident-static.js: Added.
3518         * test262/test/language/statements/class/class-name-ident-yield-escaped.js: Added.
3519         (yi):
3520         * test262/test/language/statements/class/class-name-ident-yield.js: Added.
3521         (yield):
3522         * test262/test/language/statements/continue/S12.7_A8_T1.js:
3523         (catch):
3524         * test262/test/language/statements/continue/S12.7_A8_T2.js:
3525         (catch):
3526         * test262/test/language/statements/generators/generator-created-after-decl-inst.js: Added.
3527         (g):
3528         * test262/test/language/statements/try/early-catch-duplicates.js:
3529         * test262/test/language/statements/try/early-catch-function.js: Added.
3530         (f.catch.e):
3531         (f):
3532         * test262/test/language/statements/try/early-catch-lex.js:
3533         * test262/test/language/statements/try/early-catch-var.js:
3534         * test262/test262-Revision.txt:
3535
3536 2018-05-09  Caio Lima  <ticaiolima@gmail.com>
3537
3538         [ESNext][BigInt] Implement support for "==" operation
3539         https://bugs.webkit.org/show_bug.cgi?id=184474
3540
3541         Reviewed by Yusuke Suzuki.
3542
3543         * stress/big-int-equals-basic.js: Added.
3544         * stress/big-int-equals-to-primitive-precedence.js: Added.
3545         * stress/big-int-equals-wrapped-value.js: Added.
3546
3547 2018-05-08  Valerie R Young  <valerie@bocoup.com>
3548
3549         test262/Runner.pm: move input files to JSTests/test262
3550         https://bugs.webkit.org/show_bug.cgi?id=185389
3551
3552         Reviewed by Michael Saboff.
3553
3554         * test262/config.yaml: Renamed from Tools/Scripts/test262/config.yaml.
3555         * test262/expectations.yaml: Renamed from Tools/Scripts/test262/expectations.yaml.
3556
3557 2018-05-05  Filip Pizlo  <fpizlo@apple.com>
3558
3559         DFG AI should have O(1) clobbering
3560         https://bugs.webkit.org/show_bug.cgi?id=185287
3561
3562         Reviewed by Saam Barati.
3563
3564         * stress/simple-ai-effect.js: Added.
3565         (bar):
3566         (foo):
3567
3568 2018-05-04  Keith Miller  <keith_miller@apple.com>
3569
3570         isCacheableArrayLength should return true for undecided arrays
3571         https://bugs.webkit.org/show_bug.cgi?id=185309
3572
3573         Reviewed by Michael Saboff.
3574
3575         * stress/get-array-length-undecided.js: Added.
3576         (test):
3577
3578 2018-05-04  Dominik Infuehr  <dinfuehr@igalia.com>
3579
3580         Disable tests on systems with limited memory
3581         https://bugs.webkit.org/show_bug.cgi?id=185296
3582
3583         Reviewed by Saam Barati.
3584
3585         Test doesn't work with a limited amount of memory. I tried to reduce memory usage
3586         but then it was hard to reproduce the failure the test was originally made to test.
3587
3588         * stress/array-reverse-doesnt-clobber.js:
3589
3590 2018-05-03  Saam Barati  <sbarati@apple.com>
3591
3592         Don't prevent CreateThis being folded to NewObject when the structure is poly proto
3593         https://bugs.webkit.org/show_bug.cgi?id=185177
3594
3595         Reviewed by Filip Pizlo.
3596
3597         * microbenchmarks/construct-poly-proto-object.js: Added.
3598         (foo.A):
3599         (foo):
3600         * stress/allocation-sinking-new-object-with-poly-proto.js: Added.
3601         (foo.A):
3602         (foo):
3603         (makePolyProto):
3604         (bar):
3605         (baz):
3606
3607 2018-05-03  Michael Saboff  <msaboff@apple.com>
3608
3609         OSR entry pruning of Program Bytecodes doesn't take into account try/catch
3610         https://bugs.webkit.org/show_bug.cgi?id=185281
3611
3612         Reviewed by Saam Barati.
3613
3614         New regression test.
3615
3616         * stress/baseline-osrentry-catch-is-reachable.js: Added.
3617         (i.j.catch):
3618
3619 2018-05-03  Ryan Haddad  <ryanhaddad@apple.com>
3620
3621         Unreviewed, rolling out r231197.
3622
3623         The test added with this change crashes on the 32-bit JSC bot.
3624
3625         Reverted changeset:
3626
3627         "Correctly detect string overflow when using the 'Function'
3628         constructor"
3629         https://bugs.webkit.org/show_bug.cgi?id=184883
3630         https://trac.webkit.org/changeset/231197
3631
3632 2018-05-02  Filip Pizlo  <fpizlo@apple.com>
3633
3634         JSC should know how to cache custom getter accesses on the prototype chain
3635         https://bugs.webkit.org/show_bug.cgi?id=185213
3636
3637         Reviewed by Keith Miller.
3638
3639         * microbenchmarks/get-custom-getter.js: Added.
3640         (test):
3641
3642 2018-05-02  Robin Morisset  <rmorisset@apple.com>
3643
3644         emitCodeToGetArgumentsArrayLength should not crash on PhantomNewArrayWithSpread
3645         https://bugs.webkit.org/show_bug.cgi?id=183172
3646
3647         Reviewed by Filip Pizlo.
3648
3649         * stress/length-of-new-array-with-spread.js: Added.
3650         (foo):
3651         (bar):
3652         (baz):
3653
3654 2018-05-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3655
3656         [JSC] Add SameValue DFG node
3657         https://bugs.webkit.org/show_bug.cgi?id=185065
3658
3659         Reviewed by Saam Barati.
3660
3661         * microbenchmarks/object-is.js: Added.
3662         (incognito):
3663         (sameValue):
3664         (test1):
3665         (test2):
3666         (test3):
3667         (test4):
3668         (test5):
3669         (test6):
3670         * stress/object-is.js: Added.
3671         (shouldBe):
3672         (is1):
3673         (is2):
3674         (is3):
3675         (is4):
3676         (is5):
3677         (is6):
3678         (is7):
3679         (is8):
3680         (is9):
3681         (is10):
3682         (is11):
3683         (is12):
3684         (is13):
3685         (is14):
3686         (is15):
3687
3688 2018-05-01  Robin Morisset  <rmorisset@apple.com>
3689
3690         Correctly detect string overflow when using the 'Function' constructor
3691         https://bugs.webkit.org/show_bug.cgi?id=184883
3692         <rdar://problem/36320331>
3693
3694         Reviewed by Filip Pizlo.
3695
3696         I put this regression test in the 'slowMicrobenchmarks' directory because it takes nearly 30s to run, and I am not sure where else to put it.
3697
3698         * slowMicrobenchmarks/function-constructor-with-huge-strings.js: Added.
3699         (catch):
3700
3701 2018-05-01  Robin Morisset  <rmorisset@apple.com>
3702
3703         IntlObject.cpp::removeUnicodeLocaleExtension() should not touch locales that end in '-u'
3704         https://bugs.webkit.org/show_bug.cgi?id=185162
3705
3706         Reviewed by Filip Pizlo.
3707
3708         * stress/incomplete-unicode-locale.js: Added.
3709         (catch):
3710
3711 2018-05-01  Dominik Infuehr  <dinfuehr@igalia.com>
3712
3713         Add SetCallee as DFG-Operation
3714         https://bugs.webkit.org/show_bug.cgi?id=184582
3715
3716         Reviewed by Filip Pizlo.
3717
3718         Added test that runs into infinite loop without updating the callee and
3719         therefore emitting SetCallee in DFG for recursive tail calls.
3720
3721         * stress/closure-recursive-tail-call-infinite-loop.js: Added.
3722         (Foo):
3723         (second):
3724         (first):
3725         (return.closure):
3726         (createClosure):
3727
3728 2018-04-30  Saam Barati  <sbarati@apple.com>
3729
3730         ToString constant folds without preserving checks, causing us to break assumptions that the code would OSR exit
3731         https://bugs.webkit.org/show_bug.cgi?id=185149
3732         <rdar://problem/39455917>
3733
3734         Reviewed by Filip Pizlo.
3735
3736         * stress/keep-checks-when-converting-to-lazy-js-constant-in-strength-reduction.js: Added.
3737
3738 2018-04-29  Filip Pizlo  <fpizlo@apple.com>
3739
3740         LICM shouldn't hoist nodes if hoisted nodes exited in that code block
3741         https://bugs.webkit.org/show_bug.cgi?id=185126
3742
3743         Reviewed by Saam Barati.
3744         
3745         I found this bug by accident when I was writing this test for something else.
3746         
3747         This change also speeds up other benchmarks of this case that we already had. They are all called
3748         the licm-dragons tests.
3749
3750         * microbenchmarks/licm-dragons-two-structures.js: Added.
3751         (foo):
3752
3753 2018-04-29  Commit Queue  <commit-queue@webkit.org>
3754
3755         Unreviewed, rolling out r231137.
3756         https://bugs.webkit.org/show_bug.cgi?id=185118
3757
3758         It is breaking Test262 language/expressions/multiplication
3759         /order-of-evaluation.js (Requested by caiolima on #webkit).
3760
3761         Reverted changeset:
3762
3763         "[ESNext][BigInt] Implement support for "*" operation"
3764         https://bugs.webkit.org/show_bug.cgi?id=183721
3765         https://trac.webkit.org/changeset/231137
3766
3767 2018-04-28  Saam Barati  <sbarati@apple.com>
3768
3769         We don't model regexp effects properly
3770         https://bugs.webkit.org/show_bug.cgi?id=185059
3771         <rdar://problem/39736150>
3772
3773         Reviewed by Filip Pizlo.
3774
3775         * stress/regexp-exec-test-effectful-last-index.js: Added.
3776         (assert):
3777         (foo):
3778         (i.regexLastIndex.toString):
3779         (bar):
3780
3781 2018-04-28  Rick Waldron  <waldron.rick@gmail.com>
3782
3783         Token misspelled "tocken" in error message string
3784         https://bugs.webkit.org/show_bug.cgi?id=185030
3785
3786         Reviewed by Saam Barati.
3787
3788         * ChakraCore/test/Basics/IdsWithEscapes.baseline-jsc: Fix typo "tocken" => "token"
3789         * stress/destructuring-assignment-syntax.js: Fix typo "tocken" => "token"
3790         * stress/error-messages-for-in-operator-should-not-crash.js: Fix typo "tocken" => "token"
3791         * stress/reserved-word-with-escape.js: Fix typo "tocken" => "token"
3792         (testSyntaxError.String.raw.v):
3793         (String.raw.SyntaxError.Cannot.use.the.keyword.string_appeared_here.as.a.name):
3794         (testSyntaxError.String.raw.a):
3795
3796 2018-04-28  Caio Lima  <ticaiolima@gmail.com>
3797
3798         [ESNext][BigInt] Implement support for "*" operation
3799         https://bugs.webkit.org/show_bug.cgi?id=183721
3800
3801         Reviewed by Saam Barati.
3802
3803         * bigIntTests.yaml:
3804         * stress/big-int-mul-jit.js: Added.
3805         * stress/big-int-mul-to-primitive-precedence.js: Added.
3806         * stress/big-int-mul-to-primitive.js: Added.
3807         * stress/big-int-mul-type-error.js: Added.
3808         * stress/big-int-mul-wrapped-value.js: Added.
3809         * stress/big-int-multiplication.js: Added.
3810         * stress/big-int-multiply-memory-stress.js: Added.
3811
3812 2018-04-28  Commit Queue  <commit-queue@webkit.org>
3813
3814         Unreviewed, rolling out r231131.
3815         https://bugs.webkit.org/show_bug.cgi?id=185112
3816
3817         It is breaking Debug build due to unchecked exception
3818         (Requested by caiolima on #webkit).
3819
3820         Reverted changeset:
3821
3822         "[ESNext][BigInt] Implement support for "*" operation"
3823         https://bugs.webkit.org/show_bug.cgi?id=183721
3824         https://trac.webkit.org/changeset/231131
3825
3826 2018-04-27  Caio Lima  <ticaiolima@gmail.com>
3827
3828         [ESNext][BigInt] Implement support for "*" operation
3829         https://bugs.webkit.org/show_bug.cgi?id=183721
3830
3831         Reviewed by Saam Barati.
3832
3833         * bigIntTests.yaml:
3834         * stress/big-int-mul-jit.js: Added.
3835         * stress/big-int-mul-to-primitive-precedence.js: Added.
3836         * stress/big-int-mul-to-primitive.js: Added.
3837         * stress/big-int-mul-type-error.js: Added.
3838         * stress/big-int-mul-wrapped-value.js: Added.
3839         * stress/big-int-multiplication.js: Added.
3840         * stress/big-int-multiply-memory-stress.js: Added.
3841
3842 2018-04-27  Ryan Haddad  <ryanhaddad@apple.com>
3843
3844         Unreviewed, rolling out r231086.
3845
3846         Caused JSC test failures due to an unchecked exception.
3847
3848         Reverted changeset:
3849
3850         "[ESNext][BigInt] Implement support for "*" operation"
3851         https://bugs.webkit.org/show_bug.cgi?id=183721
3852         https://trac.webkit.org/changeset/231086
3853
3854 2018-04-27  Ryan Haddad  <ryanhaddad@apple.com>
3855
3856         Unreviewed test gardening, update expectations for test262/intl402/PluralRules tests after r231047.
3857
3858         * test262.yaml: Mark tests as passing.
3859
3860 2018-04-26  Caio Lima  <ticaiolima@gmail.com>
3861
3862         [ESNext][BigInt] Implement support for "*" operation
3863         https://bugs.webkit.org/show_bug.cgi?id=183721
3864
3865         Reviewed by Saam Barati.
3866
3867         * bigIntTests.yaml:
3868         * stress/big-int-mul-jit.js: Added.
3869         * stress/big-int-mul-to-primitive-precedence.js: Added.
3870         * stress/big-int-mul-to-primitive.js: Added.
3871         * stress/big-int-mul-type-error.js: Added.
3872         * stress/big-int-mul-wrapped-value.js: Added.
3873         * stress/big-int-multiplication.js: Added.
3874         * stress/big-int-multiply-memory-stress.js: Added.
3875
3876 2018-04-25  Robin Morisset  <rmorisset@apple.com>
3877
3878         In FTLLowerDFGToB3.cpp::compileCreateRest, always use a contiguous array as the indexing type when under isWatchingHavingABadTimeWatchpoint
3879         https://bugs.webkit.org/show_bug.cgi?id=184773
3880         <rdar://problem/37773612>
3881
3882         Reviewed by Filip Pizlo.
3883
3884         This bug requires a race between the thread doing FTL compilation and the main thread, but it triggers in 100% of cases (before the fix) on my machine
3885         so I decided to add it to the stress tests nonetheless.
3886
3887         * stress/create-rest-while-having-a-bad-time.js: Added.
3888         (f):
3889         (g):
3890         (h):
3891
3892 2018-04-25  Keith Miller  <keith_miller@apple.com>
3893
3894         Add missing scope release to functionProtoFuncToString
3895         https://bugs.webkit.org/show_bug.cgi?id=184995
3896
3897         Reviewed by Saam Barati.
3898
3899         * stress/function-toString-arrow.js: Added.
3900         (async):
3901
3902 2018-04-24  Keith Miller  <keith_miller@apple.com>
3903
3904         fromCharCode is missing some exception checks
3905         https://bugs.webkit.org/show_bug.cgi?id=184952
3906
3907         Reviewed by Saam Barati.
3908
3909         * stress/fromCharCode-exception-check.js: Added.
3910         (get catch):
3911
3912 2018-04-24  Mark Lam  <mark.lam@apple.com>
3913
3914         Gardening: test fix after r230863.
3915         https://bugs.webkit.org/show_bug.cgi?id=184846
3916         <rdar://problem/39390672>
3917
3918         Not reviewed.
3919
3920         * stress/json-stringified-overflow-2.js:
3921         (catch):
3922         * stress/json-stringified-overflow.js:
3923         (catch):
3924
3925 2018-04-20  JF Bastien  <jfbastien@apple.com>
3926
3927         Handle more JSON stringify OOM
3928         https://bugs.webkit.org/show_bug.cgi?id=184846
3929         <rdar://problem/39390672>
3930
3931         Reviewed by Mark Lam.
3932
3933         * stress/json-stringified-overflow-2.js: Added. Same as the one
3934         below, but with a bigger input which will trigger a different code
3935         path.
3936         (catch):
3937         * stress/json-stringified-overflow.js: Modify the test to only
3938         catch OOM on stringification. not on string creation.
3939
3940 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
3941
3942         [WebAssembly][Modules] Import tables in wasm modules
3943         https://bugs.webkit.org/show_bug.cgi?id=184738
3944
3945         Reviewed by JF Bastien.
3946
3947         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js:
3948         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm:
3949         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat:
3950         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js:
3951         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm:
3952         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat:
3953         * wasm/modules/wasm-imports-wasm-exports.js:
3954         * wasm/modules/wasm-imports-wasm-exports/imports.wasm:
3955         * wasm/modules/wasm-imports-wasm-exports/imports.wat:
3956         * wasm/modules/wasm-imports-wasm-exports/sum.wasm:
3957         * wasm/modules/wasm-imports-wasm-exports/sum.wat:
3958
3959 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
3960
3961         [WebAssembly][Modules] Import globals from wasm modules
3962         https://bugs.webkit.org/show_bug.cgi?id=184736
3963
3964         Reviewed by JF Bastien.
3965
3966         * wasm.yaml:
3967         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js:
3968         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm:
3969         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat:
3970         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js:
3971         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm:
3972         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat:
3973         * wasm/modules/wasm-imports-wasm-exports.js:
3974         * wasm/modules/wasm-imports-wasm-exports/imports.wasm:
3975         * wasm/modules/wasm-imports-wasm-exports/imports.wat:
3976         * wasm/modules/wasm-imports-wasm-exports/sum.wasm:
3977         * wasm/modules/wasm-imports-wasm-exports/sum.wat:
3978
3979 2018-04-18  Yusuke Suzuki  <utatane.tea@gmail.com>
3980
3981         Unreviewed, reland r230697, r230720, and r230724.
3982         https://bugs.webkit.org/show_bug.cgi?id=184600
3983
3984         * wasm.yaml:
3985         * wasm/modules/constant.wasm: Added.
3986         * wasm/modules/constant.wat: Added.
3987         * wasm/modules/default-import-star-error.js: Added.
3988         (then):
3989         * wasm/modules/default-import-star-error/entry.wasm: Added.
3990         * wasm/modules/default-import-star-error/entry.wat: Added.
3991         * wasm/modules/default-import-star-error/t0.js: Added.
3992         * wasm/modules/default-import-star-error/t1.js: Added.
3993         * wasm/modules/default-import-star-error/t2.js: Added.
3994         (export.default.Cocoa):
3995         * wasm/modules/js-wasm-cycle.js: Added.
3996         * wasm/modules/js-wasm-cycle/entry.js: Added.
3997         (from.string_appeared_here.export.return42):
3998         * wasm/modules/js-wasm-cycle/sum.wasm: Added.
3999         * wasm/modules/js-wasm-cycle/sum.wat: Added.
4000         * wasm/modules/js-wasm-function-namespace.js: Added.
4001         (assert.throws):
4002         * wasm/modules/js-wasm-function.js: Added.
4003         (assert.throws):
4004         * wasm/modules/js-wasm-global-namespace.js: Added.
4005         (assert.throws):
4006         * wasm/modules/js-wasm-global.js: Added.
4007         (assert.throws):
4008         * wasm/modules/js-wasm-memory-namespace.js: Added.
4009         (assert.throws):
4010         * wasm/modules/js-wasm-memory.js: Added.
4011         (assert.throws):
4012         * wasm/modules/js-wasm-start.js: Added.
4013         (then):
4014         * wasm/modules/js-wasm-table-namespace.js: Added.
4015         (assert.throws):
4016         * wasm/modules/js-wasm-table.js: Added.
4017         (assert.throws):
4018         * wasm/modules/memory.wasm: Added.
4019         * wasm/modules/memory.wat: Added.
4020         * wasm/modules/run-from-wasm.wasm: Added.
4021         * wasm/modules/run-from-wasm.wat: Added.
4022         * wasm/modules/run-from-wasm/check.js: Added.
4023         (export.check):
4024         * wasm/modules/start.wasm: Added.
4025         * wasm/modules/start.wat: Added.
4026         * wasm/modules/sum.wasm: Added.
4027         * wasm/modules/sum.wat: Added.
4028         * wasm/modules/table.wasm: Added.
4029         * wasm/modules/table.wat: Added.
4030         * wasm/modules/wasm-imports-js-exports.js: Added.
4031         * wasm/modules/wasm-imports-js-exports/imports.wasm: Added.
4032         * wasm/modules/wasm-imports-js-exports/imports.wat: Added.
4033         * wasm/modules/wasm-imports-js-exports/sum.js: Added.
4034         (export.sum):
4035         * wasm/modules/wasm-imports-js-re-exports-wasm-exports.js: Added.
4036         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wasm: Added.
4037         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/imports.wat: Added.
4038         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/re-export.js: Added.
4039         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wasm: Added.
4040         * wasm/modules/wasm-imports-js-re-exports-wasm-exports/sum.wat: Added.
4041         * wasm/modules/wasm-imports-wasm-exports.js: Added.
4042         * wasm/modules/wasm-imports-wasm-exports/imports.wasm: Added.
4043         * wasm/modules/wasm-imports-wasm-exports/imports.wat: Added.
4044         * wasm/modules/wasm-imports-wasm-exports/sum.wasm: Added.
4045         * wasm/modules/wasm-imports-wasm-exports/sum.wat: Added.
4046         * wasm/modules/wasm-js-cycle.js: Added.
4047         * wasm/modules/wasm-js-cycle/entry.wasm: Added.
4048         * wasm/modules/wasm-js-cycle/entry.wat: Added.
4049         * wasm/modules/wasm-js-cycle/sum.js: Added.
4050         (from.string_appeared_here.export.sum):
4051         * wasm/modules/wasm-wasm-cycle.js: Added.
4052         * wasm/modules/wasm-wasm-cycle/entry.wasm: Added.
4053         * wasm/modules/wasm-wasm-cycle/entry.wat: Added.
4054         * wasm/modules/wasm-wasm-cycle/sum.wasm: Added.
4055         * wasm/modules/wasm-wasm-cycle/sum.wat: Added.
4056
4057 2018-04-17  Commit Queue  <commit-queue@webkit.org>
4058
4059         Unreviewed, rolling out r230697, r230720, and r230724.
4060         https://bugs.webkit.org/show_bug.cgi?id=184717
4061
4062         These caused multiple failures on the Test262 testers.
4063         (Requested by mlewis13 on #webkit).
4064
4065         Reverted changesets:
4066
4067         "[WebAssembly][Modules] Prototype wasm import"
4068         https://bugs.webkit.org/show_bug.cgi?id=184600
4069         https://trac.webkit.org/changeset/230697
4070
4071         "[WebAssembly][Modules] Implement function import from wasm
4072         modules"
4073         https://bugs.webkit.org/show_bug.cgi?id=184689
4074         https://trac.webkit.org/changeset/230720
4075
4076         "[JSC] Rename runWebAssembly to runWebAssemblySuite"
4077         https://bugs.webkit.org/show_bug.cgi?id=184703
4078         https://trac.webkit.org/changeset/230724
4079
4080 2018-04-17  JF Bastien  <jfbastien@apple.com>
4081
4082         A put is not an ExistingProperty put when we transition a structure because of an attributes change
4083         https://bugs.webkit.org/show_bug.cgi?id=184706
4084         <rdar://problem/38871451>
4085
4086         Reviewed by Saam Barati.
4087
4088         * stress/put-by-id-direct-strict-transition.js: Added.
4089         (const.foo):
4090         (j.const.obj.set hello):
4091         * stress/put-by-id-direct-transition.js: Added.
4092         (const.foo):
4093         (j.const.obj.set hello):
4094         * stress/put-getter-setter-by-id-strict-transition.js: Added.
4095         (const.foo):
4096         (j.const.obj.set hello):
4097         * stress/put-getter-setter-by-id-transition.js: Added.
4098         (const.foo):
4099         (j.const.obj.set hello):
4100
4101 2018-04-16  Filip Pizlo  <fpizlo@apple.com>
4102
4103         PutStackSinkingPhase should know that KillStack means ConflictingFlush
4104         https://bugs.webkit.org/show_bug.cgi?id=184672
4105
4106         Reviewed by Michael Saboff.
4107
4108         * stress/sink-put-stack-over-kill-stack.js: Added.
4109         (avocado_1):
4110         (apricot_0):
4111         (__c_0):
4112         (banana_2):
4113
4114 2018-04-17  Yusuke Suzuki  <utatane.tea@gmail.com>
4115
4116         [JSC] Rename runWebAssembly to runWebAssemblySuite
4117         https://bugs.webkit.org/show_bug.cgi?id=184703
4118
4119         Reviewed by JF Bastien.
4120
4121         And add runWebAssembly as a command to simplely run wasm modules.
4122
4123         * wasm.yaml:
4124
4125 2018-04-17  Yusuke Suzuki  <utatane.tea@gmail.com>
4126
4127         [WebAssembly][Modules] Implement function import from wasm modules
4128         https://bugs.webkit.org/show_bug.cgi?id=184689
4129
4130         Reviewed by JF Bastien.
4131
4132         * wasm.yaml:
4133         * wasm/modules/js-wasm-cycle.js: Added.
4134</