Commit Graph
4515 Commits
Author SHA1 Message Date
ldm0 00a124eff7 feat(media): expose encrypted media interface shells 2026-11-21 20:03:28 +08:00
ldm0 f06b4b509e feat(webidl): expose MIDI interface shells 2026-11-21 20:03:28 +08:00
ldm0 a73bd9befb feat(webidl): expose secure Web Locks interface shells 2026-11-21 20:03:28 +08:00
ldm0 6f2af6c630 feat(webidl): expose credential and WebAuthn interface shells 2026-11-21 20:03:28 +08:00
ldm0 4a48e3749e fix(webidl): validate body and frameset Window handlers 2026-11-21 20:03:28 +08:00
ldm0 e686f23335 test(webaudio): cover offline audio context in popup realms 2026-11-21 20:03:28 +08:00
ldm0 ef1c262333 fix(window): deduplicate closed bindings after main rebase 2026-11-21 20:03:28 +08:00
ldm0 3ce9470640 test(webaudio): cover periodic wave in popup realms 2026-11-21 20:03:28 +08:00
ldm0 455864dcc6 fix(navigation): preserve paused lifecycle ordering after main rebase
Use the upstream owner-settlement API and publish nested command output at
the shared completion boundary. Inspector callbacks can already publish the
pending prefix while an owner remains paused; fence the concrete published
tail even when settlement has no new batch. This keeps beforeunload output
ahead of navigation fetch without closing the suspended command recorder.

Include before-fetch messages and completion details in the existing
paused-navigation regression assertions, and format replayed imports.

Validation: cargo fmt --all; workspace/all-target/all-feature Clippy with
warnings denied; nextest 20,797 passed, 16 skipped, 32 threads, zero retries.
Both paused beforeunload regressions also passed 10 consecutive rounds.
2026-11-21 20:03:28 +08:00
ldm0 c3a3783653 test(webaudio): cover iir filter in popup realms 2026-11-21 20:03:28 +08:00
ldm0 74cb2435ef fix(webaudio): convert offline sample rates with WebIDL float 2026-11-21 20:03:28 +08:00
ldm0 4f5868bb2d test(webaudio): cover convolver in popup realms 2026-11-21 20:03:28 +08:00
ldm0 9c778fbd6c test(webaudio): cover WaveShaper controls in popup realms 2026-11-21 20:03:28 +08:00
ldm0 b67db66d0f test(webaudio): cover AudioBuffer storage in popup realms 2026-11-21 20:03:28 +08:00
ldm0 331712a3d0 fix(webapi): deduplicate bindings after main rebase 2026-11-21 20:03:28 +08:00
ldm0 7ce5bf4313 feat(gamepad): add native interfaces and event payloads 2026-11-21 20:03:28 +08:00
ldm0 594868c464 test(dialog): distinguish callback timers from rendering wakes 2026-11-21 20:03:28 +08:00
ldm0 60cbc17740 test(webaudio): cover channel routing nodes in popup realms 2026-11-21 20:03:28 +08:00
ldm0 c614705351 fix: reconcile shared module sources and main regressions 2026-11-21 20:03:28 +08:00
ldm0 291b26dc81 feat(wake-lock): expose secure native interfaces with explicit platform denial 2026-11-21 20:03:28 +08:00
ldm0 f7325becd2 fix(webaudio): preserve Gain processing guards and popup node interfaces 2026-11-21 20:03:28 +08:00
ldm0 7b68278418 feat(webaudio): use native audio event payloads 2026-11-21 20:03:28 +08:00
ldm0 e9029688af test(webaudio): cover scheduled audio sources in popup realms 2026-11-21 20:03:28 +08:00
ldm0 96639c2234 feat(webaudio): unify native AudioNode interfaces 2026-11-21 20:03:28 +08:00
ldm0 acbddc3e19 feat(media): expose native device info interfaces 2026-11-21 20:03:28 +08:00
ldm0 33bea4f4f7 feat(worklet): expose native interfaces and per-call module promises 2026-11-21 20:03:28 +08:00
ldm0 74bf352f00 feat(webgl): expose resource and value interfaces 2026-11-21 20:03:28 +08:00
ldm0 a055b970f8 feat(push): expose native interfaces with shared state 2026-11-21 20:03:28 +08:00
ldm0 c0c6264e38 feat(service-worker): expose native interfaces across realms 2026-11-21 20:03:28 +08:00
ldm0 99406ac268 feat(cache): expose native interfaces in secure realms 2026-11-21 20:03:28 +08:00
ldm0 1c1f1bbb8f feat(svg): expose native animation element interfaces 2026-11-21 20:03:28 +08:00
ldm0 3ff606ebcf fix(build): adapt the branch after syncing main 2026-11-21 20:03:28 +08:00
ldm0 57a69647b7 feat(events): expose secure Device Window handlers 2026-11-21 20:03:28 +08:00
ldm0 347678017a fix(window): give popup LocalWindows their own V8 realms 2026-11-21 20:03:28 +08:00
ldm0 5c7a49da70 fix(dom): clear document handlers without invoking author setters 2026-11-21 20:03:28 +08:00
ldm0 cd4d4a6451 fix(events): preserve Window handler receiver and compilation scope 2026-11-21 20:03:28 +08:00
ldm0 447c172227 feat(webapi): implement native device event payloads 2026-11-21 20:03:28 +08:00
ldm0 74a30a51ad fix(webidl): share branded Attr and Node accessors 2026-11-21 20:03:28 +08:00
ldm0 9280638df8 fix(dom): resolve Attr through shared native Node references 2026-11-21 20:03:28 +08:00
ldm0 c92b4ec42f fix(dom): preserve live boundaries during normalization 2026-11-21 20:03:28 +08:00
ldm0 d05656544d test(wpt): remove duplicate primary hostname fixture test 2026-11-21 20:03:28 +08:00
ldm0 ec9081b9f1 fix(dom): preserve native CharacterData UTF-16 values
Keep lossless CharacterData values in the native DOM so creation, edits, cloning, equality and mutation records use the same data. Preserve UTF-16 through document factories and text operations, and compare existing lossless element attribute values.
2026-11-21 20:03:28 +08:00
ldm0 9e8aeca9ad fix(parser): adapt text document integration after rebase 2026-11-21 20:03:28 +08:00
ldm0 ae40fe152b perf(dom): avoid global candidate scans for small subtrees 2026-11-21 20:03:27 +08:00
ldm0 2c7a3043d6 refactor(forms): finish native binding navigation migration
Remove synchronous child request entry points left unused after native form
bindings replaced the detached callbacks. Keep the shared planned-navigation
path and remove its stale event re-export.

Load a same-origin popup document before testing Navigation API cancellation,
then drive each form-navigation task. Preserve asynchronous delivery, source
identity, POST data, cancellation, and closed-document submission assertions.

Validation: cargo fmt --all; workspace all-target/all-feature clippy with
warnings denied; zero-retry nextest (20,653 passed, 16 skipped). DOM WPT
544/544, registry WPT 2,351/2,351; HTTP/HTTPS replacement fixture 772/772.
2026-11-21 20:03:27 +08:00
ldm0 dd76fa1a6c fix(dom): unify windowless node replacement semantics
Route native-backed windowless replaceChild through the shared replacement pipeline, preserving observer records, live state and argument brands. Keep Attr validation in DOM order and preserve connection state during adoption, including connected ShadowRoots.
2026-11-21 20:03:27 +08:00
ldm0 fdeb0d0bda fix(dom): preserve document focus semantics on removal
Reset removed focused areas directly to the viewport without focus-update
events. Capture old shadow-host focus states before mutation so dependent
styles invalidate after removal, and scope the lookup to the owning document.

Expose per-document focused areas through Document and ShadowRoot, preserve
navigation focus-reset behavior, and retire deferred parser focus events.
Cover removal, adoption, atomic moves, inactive frames and shadow styles.
2026-11-21 20:03:27 +08:00
ldm0 9684c04217 fix(dom): run removal steps before ordinary insertion 2026-11-21 20:03:27 +08:00
ldm0 044be84e4a fix(dom): preserve ChildNode conversion and mutation order
Share native Node-or-DOMString and convert-nodes-into-node logic with
ParentNode. Convert arguments before the parentless check, preserve the
receiver among inputs, compute viable siblings before node movement,
and choose pre-insert or replace from the post-conversion tree.

Route native-backed detached methods through the same algorithms while
retaining their script ownership policy. Use the existing replace-child
pipeline instead of inserting then removing and coalescing the entire
observer queue. Preserve previous operations and source removals.

Keep empty replacement record boundaries and perform real self removal
and reinsertion so lifecycle, range and tree effects stay consistent.
Queue disconnection and connection for ordinary same-document moves,
including self insertion at the same position. Preserve atomic-move
connection state through the source profile, and correct parser/JS
comparison expectations against the Chromium lifecycle probe.

Cover six document surfaces and ordinary/borrowed Element,
CharacterData and DocumentType methods, failures, reentrant conversion,
UTF-16, viable siblings, fragments, record order and self reactions.

Validation: cargo fmt --all; strict workspace/all-targets/all-features
clippy; cargo nextest run --no-fail-fast (32 threads, CI retry profile).
Summary [ 129.338s] 20633 tests run: 20633 passed (9 slow), 16 skipped
2026-11-21 20:03:27 +08:00
ldm0 fe3b1a0df9 fix(dom): preserve ParentNode conversion and replacement records
Convert all Node-or-DOMString arguments before tree operations, preserving
native brands, conversion errors and UTF-16 code units. Keep a single
input node intact and build multi-input fragments sequentially, so failed
insertion exposes the required earlier removals. Reuse this path for
native-backed windowless ParentNode methods.

Validate against the post-conversion tree. Document.replaceChildren
excludes the existing children, following the current DOM algorithm.
Suppress intermediate replace-all target records at their source and
queue one final replacement record without coalescing prior operations
or argument-conversion removals. Preserve source/fragment removals and
reuse the existing tree, reaction and detached script policies.

Cover six document surfaces, ordinary/borrowed calls, failed conversion,
invalid input order, duplicates, doctypes, UTF-16, empty input, Range
boundaries and single/multiple-input observer record ordering.

Validation: cargo fmt --all; strict workspace/all-targets/all-features
clippy; cargo nextest run --no-fail-fast (32 threads, CI retry profile).
Summary [ 127.801s] 20632 tests run: 20632 passed (9 slow), 16 skipped
2026-11-21 20:03:27 +08:00