Commit Graph
386 Commits
Author SHA1 Message Date
dotCooCoo a9799bfe9a Merge main into feat/scripts-scriptui-resources 2026-11-27 22:17:49 -08:00
dotCooCoo c201f59086 JavaScript: Map and Set take Symbol keys, and the test262 runners build with main's Symbol and ES2015 subset
main added `Value::Symbol`, a binary_octal argument to `string_to_number` and its own
ES2015_BUILT_INS and ES2015_FEATURES in the test262 runner.

- A Map or Set key compares a Symbol by identity, as SameValueZero does.
- CanonicalNumericIndexString reads a typed array property name with the ES2015 ToNumber.
- The collection and binary-data test262 runner uses ES2015_COLLECTION_BUILT_INS and
  ES2015_COLLECTION_FEATURES, writes its failures to `es2015-builtins-failures.txt` so it does
  not overwrite the ES2015 subset's `es2015-failures.txt`, and runs each test through `run_one`.
2026-11-27 22:17:32 -08:00
dotCooCoo d3fc73b14c Merge main into feat/scripts-app-undo-redo 2026-11-27 22:14:35 -08:00
dotCooCoo f56fcd99f6 Merge main into feat/scripts-reflection 2026-11-27 22:13:50 -08:00
dotCooCoo 13c44353cf Merge main into feat/scripts-api-d4b-text-styles 2026-11-27 22:13:49 -08:00
dotCooCoo f794e81014 Merge main into feat/scripts-scriptui-dialogs
# Conflicts:
#	crates/engine/src/tests.rs
#	crates/js/src/interp.rs
#	crates/js/src/lib.rs
#	crates/ui-egui/src/dialogs/script_run.rs
#	crates/ui-egui/src/script_runs.rs
2026-11-27 22:11:05 -08:00
dotCooCoo a063cad19b Merge main into feat/js-es2015-collections-typed-arrays
# Conflicts:
#	crates/js/src/builtins.rs
#	crates/js/src/heap.rs
#	crates/js/src/lib.rs
#	crates/js/tests/test262.rs
#	docs/mcp.md
#	docs/target-app-parity.md
2026-11-27 22:06:44 -08:00
dotCooCoo c97b5eac1e Merge main into feat/scripts-api-d7a-variables 2026-11-27 21:57:44 -08:00
dotCooCoo 2a476af2b8 Scripts: charge an indexer's object and key to the run's data limits
Reading `object[k]` on an object of a host class with an indexer copied
the object's class name and handle, and a name key, to the indexer
without charging them to the data limits. A member call on the same
object was charged and could be refused. The indexer now reads the
object and a name key the same way, so `object[k]` throws a RangeError
when the handle or the name exceeds the limits.
2026-11-27 16:47:00 -08:00
dotCooCoo 4dc64055f4 Charge fuel before reading XMP property values 2026-11-26 21:02:34 -08:00
dotCooCoo 47dcb19bca Preserve localized XMP properties and optional argument positions 2026-11-26 20:43:11 -08:00
dotCooCoo c6f59b3594 Reject unsupported inherited RDF language without losing qualifiers 2026-11-26 19:28:52 -08:00
dotCooCoo cc2c5c770f Bound XMP metadata work and preserve packet boundaries 2026-11-26 19:15:16 -08:00
dotCooCoo 0669a4525a Merge main into feat/scripts-xmp-objects 2026-11-26 15:20:19 -08:00
BFlat fc1ac56efc Merge pull request #9465 from dotCooCoo/fix/indexer-receiver-data-limits
JavaScript: enforce data limits on host receivers and indexers
2026-11-27 05:21:37 +07:00
BFlat 8daacef7c2 Merge pull request #9394 from dotCooCoo/fix/promise-prototype-tag
JavaScript: define the Promise prototype string tag
2026-11-27 05:15:44 +07:00
dotCooCoo 758a62317b Correct XMP array insertion and empty item values 2026-11-26 14:01:22 -08:00
dotCooCoo bc5b1f3229 Correct module namespace bindings and export resolution limits 2026-11-26 13:29:17 -08:00
dotCooCoo 051781e23d Merge main into feat/scripts-xmp-objects
Keep XMP file buffers in native state and release them at the file run boundary. Count registered namespaces and expanded metadata against the heap limit. Reset marked readers after updates and allow failed library setup to retry.
2026-11-26 13:13:53 -08:00
dotCooCoo f4b0c25576 Index imported names when resolving module exports 2026-11-26 12:19:02 -08:00
dotCooCoo 24c1682c77 Merge main into feat/js-es2015-modules 2026-11-26 12:07:12 -08:00
dotCooCoo 9281751e6f Bound module linking and count only active execution frames 2026-11-26 11:59:49 -08:00
dotCooCoo bb3ceb56b8 Charge Symbol registry hashing and correct key buffer reservations 2026-11-26 10:57:43 -08:00
dotCooCoo d937d18300 Move var declaration names between parser scopes 2026-11-26 10:57:43 -08:00
dotCooCoo 88ce9d0e85 Merge main into feat/scripts-app-undo-redo 2026-11-26 10:35:19 -08:00
dotCooCoo dfa6bae8eb Strengthen host indexer argument and shared-budget assertions 2026-11-26 10:27:23 -08:00
dotCooCoo 340a11c4ba Merge main into feat/js-es2015-generators 2026-11-26 10:27:02 -08:00
dotCooCoo 8b5803aa61 Merge main into fix/promise-host-constructors 2026-11-26 10:17:47 -08:00
dotCooCoo 8a5efed496 Merge main into fix/promise-prototype-tag 2026-11-26 10:17:47 -08:00
dotCooCoo 8645e2d1a4 Merge main into fix/template-cache-code-reachability 2026-11-26 10:15:00 -08:00
dotCooCoo 18125e6cdb Merge main into fix/indexer-receiver-data-limits 2026-11-26 10:07:52 -08:00
dotCooCoo dd2e92f4ec Merge main into feat/js-es2015-generators
Promise jobs resume generator callbacks. Promise.resolve and Promise.reject reject direct and bound generator functions as constructors.
2026-11-26 09:54:27 -08:00
dotCooCoo 4ce983391b js: collect template cache entries with unreachable code 2026-11-26 09:53:40 -08:00
dotCooCoo 72984fddaa Enforce data limits on host receivers and indexers 2026-11-26 09:53:08 -08:00
BFlat b9fe04f769 Merge pull request #9392 from dotCooCoo/fix/promise-combinator-iterators
JavaScript: Promise combinators consume iterable inputs
2026-11-27 00:52:25 +07:00
dotCooCoo 96a5ddcfd8 Correct default export names and namespace symbol assignments 2026-11-26 09:47:26 -08:00
dotCooCoo 24273641e9 Complete module namespace tags and reserved identifiers 2026-11-26 08:59:45 -08:00
dotCooCoo 9e95080a83 Merge main into feat/js-es2015-modules 2026-11-26 08:46:37 -08:00
dotCooCoo c5f04da224 Merge main into feat/js-es2015-modules 2026-11-26 08:38:03 -08:00
dotCooCoo 350fb2bdb3 Merge main into fix/realm-replaces-paused-run 2026-11-26 08:33:48 -08:00
dotCooCoo 14b12295cc Merge main into fix/promise-host-constructors 2026-11-26 08:27:35 -08:00
dotCooCoo 714791d75f Merge main into fix/promise-combinator-iterators 2026-11-26 08:26:20 -08:00
dotCooCoo ef5404ad95 Merge main into fix/promise-prototype-tag 2026-11-26 08:22:26 -08:00
BFlat 5db6caf090 Merge pull request #9405 from dotCooCoo/fix/promise-rejection-sites
JavaScript: preserve Promise rejection relay locations
2026-11-26 23:18:48 +07:00
BFlat b65a0b1542 Merge pull request #9396 from dotCooCoo/fix/prepare-call-gc-roots
Scripts: keep nested apply operands alive during collection
2026-11-26 23:18:10 +07:00
dotCooCoo 8ec5856671 Merge main into feat/scripts-app-undo-redo 2026-11-26 07:31:09 -08:00
dotCooCoo 0983b6dfd5 End paused JavaScript runs before compiling replacement source 2026-11-26 06:57:29 -08:00
dotCooCoo fc07f8a326 JavaScript: root the running rejection site code 2026-11-26 06:56:03 -08:00
dotCooCoo ff9bd64003 JavaScript: preserve Promise rejection relay locations 2026-11-26 06:53:49 -08:00
dotCooCoo 4df7b1179d JavaScript: accept host constructors in Promise statics 2026-11-26 06:50:40 -08:00