Skip to content

Commit a9a7928

Browse files
committed
Update QuickJS
Upstream merged test262 PR so drop patches related to that: bellard/quickjs#408 Other improvements * Add set methods (union, difference, intersection, ...) bellard/quickjs@a1e073e * Add iterators bellard/quickjs@982b7aa bellard/quickjs@e924173 bellard/quickjs@b2ed2e9 bellard/quickjs@cf0e179 bellard/quickjs@2d99c32 * Add ArrayBuffer.prototype.transfer bellard/quickjs@1e19893 * Add resizable array buffers bellard/quickjs@f021d77 * Add Map and WeakMap upsert bellard/quickjs@456e016 * Add Map.sumPrecise() bellard/quickjs@bc753c6 bellard/quickjs@c3e5ae2 * Fix date parsing bellard/quickjs@0060876
1 parent 6e4d6c3 commit a9a7928

File tree

10 files changed

+2667
-436
lines changed

10 files changed

+2667
-436
lines changed

src/couch_quickjs/patches/01-spidermonkey-185-mode.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- quickjs-master/quickjs.c 2025-09-18 04:42:13
2-
+++ quickjs/quickjs.c 2025-09-18 11:43:37
3-
@@ -30751,10 +30751,24 @@
1+
--- quickjs-master/quickjs.c 2025-09-30 04:35:00
2+
+++ quickjs/quickjs.c 2025-09-30 11:14:04
3+
@@ -30784,10 +30784,24 @@
44
if (s->token.val == TOK_FUNCTION ||
55
(token_is_pseudo_keyword(s, JS_ATOM_async) &&
66
peek_token(s, TRUE) == TOK_FUNCTION)) {

src/couch_quickjs/patches/02-test262-makefile.patch

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/couch_quickjs/patches/03-test262-yield.patch

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/couch_quickjs/patches/04-test262-errors.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/couch_quickjs/quickjs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ PREFIX?=/usr/local
5555
#CONFIG_UBSAN=y
5656

5757
# TEST262 bootstrap config: commit id and shallow "since" parameter
58-
TEST262_COMMIT?=04eaeb99080ceb60d7b86ea0c4bed6355ef4cdcb
59-
TEST262_SINCE?=2025-08-20
58+
TEST262_COMMIT?=a5e69a1534de88d1eb29b76657d84c8541b72df7
59+
TEST262_SINCE?=2025-09-01
6060

6161
OBJDIR=.obj
6262

src/couch_quickjs/quickjs/quickjs-atom.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ DEF(await, "await")
7878
/* empty string */
7979
DEF(empty_string, "")
8080
/* identifiers */
81+
DEF(keys, "keys")
82+
DEF(size, "size")
8183
DEF(length, "length")
8284
DEF(fileName, "fileName")
8385
DEF(lineNumber, "lineNumber")
@@ -189,6 +191,7 @@ DEF(timed_out, "timed-out")
189191
DEF(ok, "ok")
190192
/* */
191193
DEF(toJSON, "toJSON")
194+
DEF(maxByteLength, "maxByteLength")
192195
/* class names */
193196
DEF(Object, "Object")
194197
DEF(Array, "Array")
@@ -228,6 +231,9 @@ DEF(Map, "Map")
228231
DEF(Set, "Set") /* Map + 1 */
229232
DEF(WeakMap, "WeakMap") /* Map + 2 */
230233
DEF(WeakSet, "WeakSet") /* Map + 3 */
234+
DEF(Iterator, "Iterator")
235+
DEF(IteratorHelper, "Iterator Helper")
236+
DEF(IteratorWrap, "Iterator Wrap")
231237
DEF(Map_Iterator, "Map Iterator")
232238
DEF(Set_Iterator, "Set Iterator")
233239
DEF(Array_Iterator, "Array Iterator")

0 commit comments

Comments
 (0)