Commit Graph
12 Commits
Author SHA1 Message Date
ldm0 166de628de refactor(v8): consolidate Inspector JSON decoding 2026-11-12 03:32:12 +08:00
ldm0 c67597a1c1 Introduce shared raw Inspector JSON envelopes 2026-11-12 02:01:08 +08:00
ldm0 17b2749b0a refactor(v8): share native Promise settlement helpers
Several API bindings duplicate fresh resolved-Promise creation and TypeError rejection of an existing resolver. Centralize those two existing operations in moli-v8-util, preserving native resolver allocation, failure fallbacks and ignored settlement results.
2026-11-09 00:05:39 +08:00
ldm0 6322c420df refactor(v8): share BufferSource byte snapshots
Blob parts, crypto key inputs, stream adapters and WebSocket payloads duplicate the same ArrayBuffer/view byte snapshot. Move that existing operation into moli-v8-util and reuse it through the current caller names and visibility, preserving slice offsets, copying and truncation behavior.
2026-11-08 23:34:42 +08:00
ldm0 b07fe154b1 refactor(webapi): share converted first-argument forwarding
Centralize the native argument-vector construction used by Trusted Types policy callbacks and WebAssembly wrappers after their first argument is converted. Preserve the converted first value and every remaining argument's order and identity.
2026-11-08 20:46:54 +08:00
ldm0 b001583e97 fix(inspector): decode lone UTF-16 surrogates without hanging eval
Replace unpaired surrogate escapes with U+FFFD at the Rust JSON boundary while preserving valid pairs, literal escapes, and the normal ASCII path. Cover every isolated surrogate, mixed UTF-16 sequences, and real CLI evaluation with bounded child lifetimes.
2026-11-07 11:10:54 +08:00
ldm0 e9c090568f feat(streams): consume async sequences with ReadableStream.from 2026-10-18 20:13:24 +08:00
ldm0 53c6de7bd2 refactor(renderer): unify realm intrinsic interface state
Publish realm-owned interface objects only after finalization succeeds and route shared binding helpers through the canonical registry. Keep ECMAScript intrinsics separate and check native realm exposure when deserializing CryptoKey objects.
2026-10-04 23:19:25 +08:00
ldm0 614aa1fb33 refactor(realm): remove duplicate interface prototype caches 2026-09-26 05:52:44 +08:00
SpringCorel 48db95c18e refactor(v8): share microtask execution boundaries 2026-09-16 14:59:42 +08:00
ldm0 017c53de8c build(v8): migrate Moli to V8 15.2 2026-09-03 15:17:48 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00