Commit Graph
1912 Commits
Author SHA1 Message Date
ldm0 f61234f2ef perf(callbacks): avoid repeated runtime binding resolution 2026-10-15 14:35:34 +08:00
ldm0 26ab1aa3c3 refactor(callbacks): remove legacy Window invocation layer 2026-10-15 14:35:34 +08:00
ldm0 e25966f16e refactor(observers): deliver callbacks through shared execution
Prepare the shared callback type directly for MutationObserver, IntersectionObserver, ResizeObserver, and PerformanceObserver. Remove the PreparedObserverCallback bridge while preserving exact observer and callback Realm identities and existing registration backends.

Validation: cargo fmt --all; strict workspace clippy; full nextest (20,114 passed, 17 skipped).
2026-10-15 14:35:34 +08:00
ldm0 f7b841dde1 fix(file-api): derive Blob, File and FileList receiver checks 2026-10-15 01:29:52 +08:00
ldm0 cb79d4d371 feat(media): expose MediaSource handle and buffer interface shells 2026-10-14 23:48:01 +08:00
ldm0 3dece8ce4c feat(performance): expose the remaining timing interface objects 2026-10-14 23:45:35 +08:00
ldm0 3cf565afe0 fix(layout): measure inline content using content-box constraints 2026-10-14 22:23:06 +08:00
ldm0 e10fe9c440 fix(layout): resolve intrinsic width constraints in shared sizing 2026-10-14 22:23:06 +08:00
ldm0 9a93e52517 fix(webrtc): snapshot and validate peer connection configuration 2026-10-14 19:17:54 +08:00
ldm0 8dc3d29abb fix(webidl): expose UI event attributes on native prototypes 2026-10-14 18:58:32 +08:00
ldm0 1f03f98f52 fix(svg): validate filter property receivers and reflect windowless values 2026-10-14 17:34:09 +08:00
ldm0 e2d80d4435 fix(performance): assign entry navigation identities 2026-10-14 17:30:43 +08:00
ldm0 49f65b6758 fix(trusted-types): preserve policy DOMString code units 2026-10-14 16:06:16 +08:00
ldm0 7e4726418e fix(intersection-observer): throw DOM syntax errors for invalid margins 2026-10-14 16:04:56 +08:00
ldm0 46389039a0 fix(html): retain child parser EOF during script execution 2026-10-14 16:04:23 +08:00
ldm0 6f0e9631ef fix(fetch): bound authentication retries per logical request 2026-10-14 15:59:24 +08:00
ldm0 910fbed1d5 fix(dom): resolve detached nodes in their owning host 2026-10-14 15:56:04 +08:00
ldm0 2601ea0ebb fix(cdp): let replacement navigation bypass inherited load waits 2026-10-14 15:55:06 +08:00
ldm0 3bd72ea8b4 refactor(callbacks): use Context bindings for shared execution
Resolve shared callbacks and PerformanceObserver registrations from the installed Context binding. Preserve exact Window Realm authorization and Worker close and termination policies, rejecting missing bindings before restoring callback carriers.

Validation: cargo fmt --all, strict workspace clippy, and full nextest (20,108 passed, 17 skipped).
2026-10-14 14:00:51 +08:00
ldm0 4f9a3a1bc6 refactor(runtime): share Context state and V8 finalizers
Compose Window and Worker owners with CommonRuntimeState and install weak Context bindings. Move finalizer registration and teardown behind the shared component, releasing registry borrows before cleanup.

Validation: formatting, strict workspace clippy, and full nextest verification (20,107 passed, 17 skipped). An initial intermittent CLI meta-refresh failure did not reproduce in 50 individual runs or five CLI-suite runs; its cause remains unconfirmed.
2026-10-14 14:00:51 +08:00
ldm0 bd16d8cb59 refactor(callbacks): share Web IDL execution across Window and Worker
Route PerformanceObserver and queueMicrotask notifications through shared invocation and exception reporting. Preserve Streams and Trusted Types return conversion and propagation rules, with shared Window and Worker behavior tests.
2026-10-14 14:00:51 +08:00
jfarcand 6d1496a149 refactor(storage): report cookie priority through effective_priority 2026-10-14 01:05:10 +08:00
jfarcand 32ca66995f fix(storage): always report CDP cookie priority
CDP's Network.Cookie declares `priority` as a required field, and Chrome
always emits it: a cookie set without a Priority attribute reports
Chromium's default, `Medium`. Moli omitted the field in that case, so
clients that deserialize cookies strictly reject every such cookie.
chromiumoxide (0.9), for one, fails Network.getCookies / Storage.getCookies
with "missing field `priority`".

Report `Medium` when the stored cookie carries no priority, and pin it
with a Storage.getCookies regression test.
2026-10-14 01:05:10 +08:00
ldm0 315b2e6c25 fix(editing): distinguish input and textarea InsertHTML behavior 2026-10-13 23:01:28 +08:00
ldm0 3239d00706 fix(renderer): release retired child content surfaces
Backport the shared iframe realm-retention fix and its GC regressions.
Adapt mode coverage to main's Mock and OnDemand policies.

Validated with cargo fmt --all, full all-feature Clippy, and
20,081 passing nextest tests (17 existing skips).

(cherry picked from commit 1b40c6f53b)
2026-10-13 22:42:24 +08:00
ldm0 cd24b7d260 fix(canvas): preserve signed pixel rectangles through clipping 2026-10-13 22:09:09 +08:00
ldm0 1e7b796d78 feat(performance): share native User Timing and observers with workers 2026-10-13 22:07:55 +08:00
ldm0 8303b8a3cb fix(events): construct trusted native history event subclasses 2026-10-13 22:01:56 +08:00
ldm0 1e8f951ef2 perf(layout): avoid redundant box moves and inline style conversion 2026-10-13 21:58:04 +08:00
lanyue-llk bca9b6c6a6 fix(renderer): tolerate fill metadata in form tests 2026-10-13 21:13:47 +08:00
ldm0 86762e488a fix(forms): isolate empty editor carets from placeholder styling 2026-10-13 20:45:40 +08:00
ldm0 a007ab2793 fix(forms): paint focused text-control selections and carets 2026-10-13 20:45:40 +08:00
ldm0 4c589bd884 feat(paint): preserve path winding rules in native snapshots 2026-10-13 19:53:21 +08:00
ldm0 0a0a6e7771 test(workers): verify JSON and CSS module response MIME validation 2026-10-13 19:26:15 +08:00
ldm0 8f0ddb48e2 fix(webrtc): preserve RTCError stacks and native proxy slots 2026-10-13 19:25:52 +08:00
ldm0 44a2e88d5a feat(crypto): add opaque self-signed certificate primitives 2026-10-13 17:41:15 +08:00
ldm0 240bb9ba2d fix(cssom): return independent live computed style declarations 2026-10-13 16:53:31 +08:00
ldm0 900a5e1d3d fix(forms): resolve placeholder text through its pseudo style 2026-10-13 14:56:35 +08:00
ldm0 992b9f1104 feat(window): expose native BarProp objects and popup visibility 2026-10-13 14:55:08 +08:00
ldm0 6a498cf8c3 fix(xhr): reject ineligible document responses 2026-10-13 14:52:22 +08:00
ldm0 41e665dc53 feat(payment): implement native payment update event values 2026-10-13 14:46:05 +08:00
ldm0 7ffb0e86b5 test(svg): cover extreme number and transform serialization 2026-10-13 14:13:25 +08:00
ldm0 fc19126d45 fix(deps): update vulnerable Rust dependencies 2026-10-13 14:12:07 +08:00
ldm0 7a36b6a63f fix(wpt): compute IDL lengths across overloads and variadic arguments 2026-10-13 05:50:26 +08:00
ldm0 61790a2b2a chore(wpt): refresh release case statuses and version probe 2026-10-13 04:56:16 +08:00
ldm0 1d55838dfe fix(forms): inherit text styles without duplicating focus decoration 2026-10-13 04:40:48 +08:00
ldm0 cac20d15b8 chore(release): update version to 1.1.17 v1.1.17 2026-10-13 01:52:59 +08:00
ldm0 2592fb8837 fix(editing): support InsertHTML in text controls 2026-10-13 01:36:59 +08:00
ldm0 92c1a870bf refactor(pdf): separate print entry points and shared paint code 2026-10-13 00:34:09 +08:00
ldm0 a9c763c8c4 ci(pdf): verify rendered pixels text and links with MuPDF 2026-10-13 00:34:09 +08:00