Commit Graph
25 Commits
Author SHA1 Message Date
ldm0 87bb219f52 fix(events): preserve inline handler ordering 2026-11-02 06:01:25 +08:00
ldm0 e70f7e0052 refactor(messaging): decouple opaque origins from storage partitions 2026-11-01 03:18:59 +08:00
ldm0 b0bbe6280a fix(messaging): separate opaque origins from storage nonces
Resolve Window origins through native realm identities and preserve inherited identities for blank documents and Blob Workers. Discard rejected MessagePort payloads through the existing recursive attachment cleanup path.
2026-11-01 02:44:16 +08:00
ldm0 fc56662fab fix(messaging): preserve opaque origins in Wasm message checks
Carry native opaque origin identity and agent-cluster metadata through message serialization and admission instead of flattening origins into strings. Apply the checks consistently to Window, MessagePort and BroadcastChannel delivery, with Wasm and sandboxed-origin regressions.
2026-11-01 02:44:16 +08:00
ldm0 0d9613bb04 fix(messaging): preserve closed MessagePort transfer identity
Represent transferred closed MessagePorts explicitly, preserving identity and closed behavior through Window, worker and structured-clone delivery. Keep invalid, duplicate and detached transfer rejection and verify queued message ownership and transfer cleanup.
2026-10-31 15:21:44 +08:00
ldm0 390c7ad19a fix(messaging): prepare transfers before Window target checks
Prepare payload serialization and transfers before checking Window target liveness or targetOrigin. Keep accepted source and target ownership fixed across reentrant getters, discard uncommitted transfers on rejected targets, and commit MessagePort transfers only after successful admission. Include unchanged Worker pending-exception and zero-endpoint-leak regressions from source 02bfc2dc06c after its native-owner prerequisite.
2026-10-31 15:21:44 +08:00
ldm0 3d7041068b fix(messaging): derive Window postMessage input conversions
Use the shared WebIDL dictionary and argument derives for both Window.postMessage overloads. Preserve inherited transfer-before-targetOrigin conversion, exception identity and arity-based overload selection; reject primitive transfer entries before payload cloning or task admission.
2026-10-31 15:21:44 +08:00
ldm0 164bde6b52 fix(performance): report observer drops in callback realm 2026-10-25 06:18:32 +08:00
ldm0 c7130a3059 fix(fonts): share native FontFace loading across CSS and JS 2026-10-23 04:07:15 +08:00
ldm0 8433ac01e2 fix(messaging): validate MessagePort state in author transfer order 2026-10-20 05:21:33 +08:00
ldm0 8c5ed2c7f5 fix(encoding): initialize decoder streams through native endpoints 2026-10-18 23:34:06 +08:00
ldm0 b2af27a508 refactor(events): store simple target listeners under one private key 2026-10-15 16:26:19 +08:00
ldm0 d1124032c3 refactor(events): unify event handler registration and dispatch 2026-10-15 16:26:19 +08:00
ldm0 4f7a01fd00 refactor(callbacks): share observer registration state 2026-10-15 14:35:34 +08:00
ldm0 1e7b796d78 feat(performance): share native User Timing and observers with workers 2026-10-13 22:07:55 +08:00
ldm0 225c7d36ed fix(performance): validate observer options and retain observe mode
Convert PerformanceObserver.observe options as a WebIDL dictionary, reject invalid option combinations and restricted durationThreshold values, and retain the chosen single/multiple observe mode across empty or unsupported subscriptions and disconnect. disconnect clears active subscription data without resetting the selected mode. Window regressions cover member evaluation order, exception identity, cross-realm receiver checks, unsupported types and re-subscription.
2026-10-08 21:39:21 +08:00
ldm0 10eaff5801 fix(clone): deserialize Window clones in the receiver realm 2026-10-02 02:24:56 +08:00
ldm0 565c84adbf fix(messaging): preserve MessagePort endpoints across document lifecycle 2026-10-01 05:38:51 +08:00
ldm0 a553acc7e4 feat(window): expose legacy navigator alias and External objects
Expose clientInformation as a replaceable alias of the associated Navigator, plus a per-Window External object with the legacy no-op methods. Retained getters use native associations after public properties are shadowed.

Regression coverage checks top-level windows, iframe realms, lightweight popups, detachment, object identity, property descriptors, native receiver brands, and replaceable properties.

Validation: fmt, strict workspace clippy, full nextest. Summary [ 105.145s] 18906 tests run: 18906 passed (9 slow), 16 skipped
2026-09-29 07:27:06 +08:00
Donough Liu 99b1790682 fix(events): share MessagePort EventTarget dispatch (#768) 2026-09-23 04:46:02 +08:00
ldm0 86b2e9a645 refactor(webapi): complete identity migration and codec dispatch 2026-09-11 18:32:44 +08:00
ldm0 c5cf57ff76 fix(structured-clone): dispatch all platform objects through native identity 2026-09-11 18:32:44 +08:00
ldm0 c0d916ae8e fix(console): avoid extra page code during log capture 2026-09-09 04:07:35 +08:00
ldm0 71974b7a33 fix(renderer): capture console stacks without page hooks 2026-09-07 01:48:13 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00