Commit Graph
306 Commits
Author SHA1 Message Date
.CooCoo ba978a77a4 Merge pull request #9470 from dotCooCoo/fix/symbol-registry-budget
Charge Symbol registry hashing and correct key buffer reservations
2026-11-28 02:20:44 -08:00
.CooCoo 61149cc007 Merge pull request #9397 from dotCooCoo/fix/test262-promise-async-markers
Test262: match Promise async markers by argument
2026-11-28 02:20:20 -08:00
dotCooCoo 31163418ed Merge main into fix/symbol-registry-budget 2026-11-28 01:38:44 -08:00
.CooCoo d5e41e24dc Merge pull request #9467 from dotCooCoo/fix/template-cache-code-reachability
Collect unreachable tagged-template cache entries in the same collection
2026-11-28 01:06:17 -08:00
dotCooCoo 3c54a02fab Merge main into fix/test262-promise-async-markers 2026-11-28 00:59:20 -08:00
dotCooCoo fb29b84fff Merge main into fix/symbol-registry-budget 2026-11-28 00:41:46 -08:00
dotCooCoo 1f6ae9841b Merge main into fix/template-cache-code-reachability 2026-11-28 00:25:34 -08:00
dotCooCoo 7317159f52 Merge main into feat/scripts-reflection 2026-11-28 00:09:37 -08:00
.CooCoo bbefa3c8e3 Merge pull request #9072 from dotCooCoo/feat/js-es2015-collections-typed-arrays
JavaScript: ES2015 realms have Map, Set, WeakMap, WeakSet and typed arrays
2026-11-27 23:55:19 -08:00
dotCooCoo e75b26cffc Merge main into feat/scripts-reflection 2026-11-27 23:38:58 -08:00
dotCooCoo f94034362b Scripts: a reflection's find stays frozen in an ES2015 realm
In a realm with the ES2015 option, the `find` function of a reflection
had configurable `length` and `name` properties, so Object.isFrozen gave
false and a script could delete or redefine them. Both are now
non-writable and non-configurable, as the reflection's other parts are.
2026-11-27 23:34:40 -08:00
dotCooCoo 35aca2b9cd Merge main into fix/template-cache-code-reachability 2026-11-27 23:34:38 -08:00
dotCooCoo 48188c3b8e Merge main into fix/symbol-registry-budget 2026-11-27 23:34:11 -08:00
dotCooCoo 0a46b8e849 Scripts: script tests build with main's host classes and preset checks
main added HostClass initializers in host_tests.rs without the reflect
`info` field, a second test named
assigning_undefined_to_the_selection_throws_and_keeps_it, and type and
size checks on DocumentPreset settings.

- host_tests.rs: the six new HostClass initializers give `info`.
- The selection test for an index past the end of pageItems is renamed
  assigning_an_index_past_the_end_to_the_selection_throws_and_keeps_it.
- The preset heap tests used titles of 512 KiB and an array of 20,000
  booleans as a title, which the setter now refuses. They now reach the
  run's heap with 4,092-byte titles, and compare presets holding a
  four-number documentBleedOffsetRect with presets holding an eight-byte
  title, so each array element still counts.
2026-11-27 23:29:12 -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 f56fcd99f6 Merge main into feat/scripts-reflection 2026-11-27 22:13:50 -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 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 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 bb3ceb56b8 Charge Symbol registry hashing and correct key buffer reservations 2026-11-26 10:57:43 -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 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 350fb2bdb3 Merge main into fix/realm-replaces-paused-run 2026-11-26 08:33:48 -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 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 1b6bcd370a JavaScript: cache shared rejection reason attribution 2026-11-26 06:42:40 -08:00
dotCooCoo 75fd52fca6 Scripts: keep nested apply operands alive during collection 2026-11-26 06:40:33 -08:00
dotCooCoo 776a1fd6cd Test262: match Promise async markers by argument 2026-11-26 06:39:32 -08:00
dotCooCoo 59ab0f6c03 JavaScript: define the Promise prototype string tag 2026-11-26 06:35:49 -08:00
dotCooCoo 59ddb9c3e2 JavaScript: consume iterators in Promise combinators 2026-11-26 06:28:05 -08:00