Commit Graph
2200 Commits
Author SHA1 Message Date
ldm0 1728ea47c1 fix(fonts): bind FontFace requests to the creation Window
Capture the relevant Window identity before constructor conversions. Use it
for URL resolution, request security and network dispatch, and reject loads
whose creation Window has retired instead of borrowing a caller frame.

Add an HTTP-CSP cross-frame message regression covering both parent and
child FontFaces.

Validation: cargo fmt --all; strict workspace Clippy; full Nextest
(20,587 passed, 18 skipped).
2026-10-24 01:03:33 +08:00
ldm0 85d5861b9e refactor(indexeddb): rename factory-only template installer 2026-10-23 20:55:15 +08:00
ldm0 fe75180032 refactor(events): make listener filtering modes explicit 2026-10-23 20:55:15 +08:00
ldm0 651bb9f99d fix(events): separate Worker intrinsic support from public exposure 2026-10-23 20:55:15 +08:00
ldm0 6fa8b7dede refactor(events): require resolved listener registries in core operations 2026-10-23 20:55:15 +08:00
ldm0 6212d06aa3 refactor(events): share native Worker dispatch and lifecycle cleanup 2026-10-23 20:55:15 +08:00
ldm0 cfe83bf566 refactor(events): inherit canonical EventTarget operations across interfaces 2026-10-23 20:55:15 +08:00
ldm0 4b3bd91ace perf(events): reuse resolved simple listener registries 2026-10-23 20:55:15 +08:00
ldm0 bc35354f8c test(events): define receiver-local dispatch policy for shared targets 2026-10-23 20:55:15 +08:00
ldm0 f12f497bf1 feat(cdp): expose Moli version in discovery
Read the CLI package version at build time and publish it as Moli-Version in /json/version. Verify discovery and CLI version consistency.
2026-10-23 15:56:41 +08:00
ldm0 03232f517a refactor(events): project shared native aliases into listener realms 2026-10-23 15:30:40 +08:00
ldm0 fca4e00556 refactor(events): separate listener storage from dispatch identity 2026-10-23 15:30:40 +08:00
ldm0 95094ddb60 fix(smoke): wait for target IO reclamation within fixed resource budgets 2026-10-23 13:43:06 +08:00
ldm0 b05dbacc35 fix(smoke): wait for navigation loader readiness before evaluation 2026-10-23 13:43:06 +08:00
ldm0 3c48b3679a fix(fetch): validate inherited request-like AbortSignals 2026-10-23 12:50:27 +08:00
ldm0 89be11fb1b fix(webrtc): convert explicit null data channel IDs to zero 2026-10-23 12:50:27 +08:00
ldm0 e1876f39eb fix(events): release InputEvent live ranges after Node dispatch 2026-10-23 12:50:27 +08:00
ldm0 ac1d63b5f3 fix(events): validate and normalize InputEvent live ranges 2026-10-23 12:50:27 +08:00
ldm0 59dad22e88 refactor(dom): derive shared scroll options with legacy cancellation 2026-10-23 12:50:27 +08:00
ldm0 8acdc4ba7d refactor(webrtc): derive peer method options before native state 2026-10-23 12:50:27 +08:00
ldm0 26b9eab923 refactor(webrtc): derive constructor dictionaries without copying V8 strings 2026-10-23 12:50:27 +08:00
ldm0 1427512f55 refactor(view-transitions): derive options before lifecycle mutation 2026-10-23 12:50:27 +08:00
ldm0 b3c3e85774 refactor(events): finish navigation dictionaries and require typed initialization 2026-10-23 12:50:27 +08:00
ldm0 7e3e840404 fix(events): derive native payloads and Promise conversion before state 2026-10-23 12:50:27 +08:00
ldm0 ebdd36ba29 fix(events): derive interaction input and retain native range state 2026-10-23 12:50:27 +08:00
ldm0 d081dc1273 fix(events): derive complete value event dictionaries before state 2026-10-23 12:50:27 +08:00
ldm0 c7bcf304f0 fix(idle): derive options and retire native abort observation by owner 2026-10-23 12:50:27 +08:00
ldm0 fba82ac398 refactor(cssom): derive stylesheet options and retain native media lists 2026-10-23 12:50:27 +08:00
ldm0 b66966f450 refactor(cache): derive inherited query arguments before native state 2026-10-23 12:50:27 +08:00
ldm0 b766c582bf refactor(notifications): share derived options before materialization 2026-10-23 12:50:27 +08:00
ldm0 8eb108a2f6 refactor(workers): derive shared constructor option dictionaries 2026-10-23 12:50:27 +08:00
ldm0 8e01a0a4e6 fix(fetch): share complete RequestInit conversion across globals 2026-10-23 12:50:27 +08:00
ldm0 e033492157 fix(fonts): derive loading event dictionary and validate sequence items 2026-10-23 12:50:27 +08:00
ldm0 c3bc716f53 fix(events): derive inherited pointing event dictionaries
Convert MouseEvent, WheelEvent, PointerEvent and DragEvent inputs before state
initialization. Validate EventTarget, DataTransfer and each PointerEvent sequence
item through native brands; share UI and modifier conversion and preserve the
existing angle normalization and sequence receiver checks.

Convert legacy region and wheel delta members, expose the converted modifier
state, and preserve UTF-16 pointer types. Correct a preexisting regression test
that asserted pointer members precede inherited view conversion.

Chromium 145 passes both shared fixtures, including the exact foreign-realm
regression. fmt, full workspace Clippy and 20,531 nextest tests pass (18 skipped).
2026-10-23 12:50:27 +08:00
ldm0 28630d85ed fix(events): derive base and UI subclass initialization
Convert Event, UIEvent, FocusEvent, CompositionEvent and CustomEvent inputs
before initializing state. Preserve getter exceptions and WebIDL long and
interface conversion; retain the legacy which input on KeyboardEvent only.

Validate the shared regression fixture against Chromium 145, then pass fmt,
workspace/all-targets/all-features Clippy and 20,530 nextest tests (18 skipped).
2026-10-23 12:50:27 +08:00
ldm0 1db687145c fix(dom): derive ShadowRootInit before attaching shadow roots 2026-10-23 12:50:27 +08:00
ldm0 4bce047585 fix(dom): inherit EventTarget operations from its prototype 2026-10-23 11:37:09 +08:00
ldm0 bc83e4e276 ci: move Chromium smoke to self-hosted Playwright runners 2026-10-23 04:32:32 +08:00
ldm0 2356a63eff fix(css): use native font size adjustment shorthand semantics 2026-10-23 04:26:49 +08:00
ldm0 f26501e0ba fix(cssom): serialize computed font from native longhands
Serialize computed font from the retained style read and Stylo font longhand metadata. Reuse the native font serializer for CSS2 variant/stretch constraints, reset-only longhands and omission of initial components. Resolve font size, weight and line height through the shared CSSOM path.

Keep computed Typed OM font values opaque, property-associated and immutable while retained maps observe new styles. Cover relative and inherited sizes, numeric line height, snapshots and supported unrepresentable longhands.
2026-10-23 04:26:49 +08:00
ldm0 700236f029 fix(css): enable native variable font properties 2026-10-23 04:26:49 +08:00
ldm0 4ae2dabfc6 fix(fonts): publish CSS declaration order without JS projection 2026-10-23 04:07:15 +08:00
ldm0 bd9c6448b0 test(fonts): distinguish the pinned Chromium descriptor oracle
The CI Chromium 145.0.7632.6 build reports a different immediate check()
result after changing a FontFace weight than local Chromium 147. Record
that exact build's observed descriptor-update contract while preserving
the strict Moli and Chromium 147 expectations and every other assertion.
2026-10-23 04:07:15 +08:00
ldm0 79dec637d7 refactor(network): share resource request preparation and dispatch
Capture GET subresource requests, cookie observations, request policy,
network partitioning and cancellation in PreparedSubresourceFetch. Share
Service Worker routing and asynchronous network dispatch between explicit
FontFace requests and stylesheet font/image requests.

Keep resource-specific admission, pending continuation binding and terminal
handling at each caller so Document ownership and FontFace lifetime remain
attached to the existing resource pipeline.

Verify CSS and JS font Service Worker request policy and retain request
identity, initiator attribution and FontFace rejection delivery coverage.
2026-10-23 04:07:15 +08:00
ldm0 3a0f6ca178 fix(fonts): match queries and honor owner selection order
Select width, style and weight capabilities before filtering FontFaceSet
queries by text and unicodeRange. Share the matching path for check/load,
including CSS calculations and descriptor ranges, so unrelated unloaded
or broken sources do not affect a query.

Publish each Document's CSS/manual FontFaceSet order independently from
stable resource slots. Preserve manual overrides, re-addition priority
and different orders for shared faces across Documents.

Cover the matching and actual DOM geometry regressions with generated
narrow/wide fonts and a shared Chromium/Moli CDP oracle.
2026-10-23 04:07:15 +08:00
ldm0 ff15becb62 fix(fonts): defer set events and preserve ranges and promises 2026-10-23 04:07:15 +08:00
ldm0 98543feea9 fix(fonts): unify font readiness and freeze source URLs 2026-10-23 04:07:15 +08:00
ldm0 c7130a3059 fix(fonts): share native FontFace loading across CSS and JS 2026-10-23 04:07:15 +08:00
ldm0 644b82c710 fix(dom): enumerate collection query methods 2026-10-22 21:28:20 +08:00
ldm0 d31b51af4c fix(xhr): keep open exceptions in the invoked method realm 2026-10-22 21:21:28 +08:00