Commit Graph
4695 Commits
Author SHA1 Message Date
ldm0 3970bc3fec fix(events): project DOM dispatch into listener worlds 2026-11-24 14:36:22 +08:00
ldm0 c5ff971dd5 fix(webidl): expose UI event attributes on native prototypes 2026-11-24 14:36:22 +08:00
ldm0 f3bccbc457 fix(webidl): preserve UIEvent and CompositionEvent initialization 2026-11-24 14:36:22 +08:00
ldm0 fc9ff7cacc fix(webidl): preserve KeyboardEvent initialization semantics 2026-11-24 14:36:22 +08:00
ldm0 9afbbb9d50 fix(webmessaging): preserve MessageEvent WebIDL initialization
Use typed dictionaries and arguments for constructor/initMessageEvent,
native source and MessagePort brand checks, and lossless lastEventId strings.
Allocate frozen ports arrays in the event's creation realm.

Native message producers share intrinsic event creation and payload setup,
so public ports conversion cannot invoke author code during delivery or
change an undefined message payload to the public null default.

Validated from the original repository root with workspace formatting,
all-targets/all-features Clippy with warnings denied, and full nextest:
20831 passed, 16 skipped, 32 threads, no retries.
2026-11-24 14:36:22 +08:00
ldm0 bdf570c3c4 fix(test): adapt upstream font query probe after rebase 2026-11-24 14:36:22 +08:00
ldm0 4f2408a586 feat(canvas): implement asynchronous toBlob exports 2026-11-24 14:36:22 +08:00
ldm0 b139c0717e fix(dom): preserve event listener type identity 2026-11-24 14:36:22 +08:00
ldm0 0d9bd6a104 fix(dom): preserve event constructor type code units 2026-11-24 14:36:22 +08:00
ldm0 56e71ccd36 fix(webrtc): construct ICE error events with native fields
Use native Event state and generated WebIDL argument, dictionary, and
receiver checks for RTCPeerConnectionIceErrorEvent. Preserve DOMString
code units, convert USVString fields, and expose readonly payload getters.

Validated with workspace fmt, all-target all-feature clippy, and nextest
(20,811 passed, 16 skipped, no retries). The 13-page native WPT event
selection passes all 99 assertions; the shared fixture passes 168 checks
on HTTP, HTTPS, and opaque insecure origins.
2026-11-24 14:36:22 +08:00
ldm0 17eae476e8 fix(webrtc): implement native RTCError and RTCErrorEvent
Replace both constructor stubs with WebIDL conversion and native readonly metadata. Preserve UTF-16 messages, branded cross-realm payloads and the shared Event lifecycle and constructor fallback.

Validation: 32 jobs; cargo fmt --all; workspace/all-targets/all-features clippy with -D warnings; nextest 20,810 passed, 16 skipped, no retries. RTCError upstream WPT 21/21; shared fixture 191/191 in HTTP, HTTPS and insecure contexts.
2026-11-24 14:36:22 +08:00
ldm0 2e2742619a feat(cssom): expose CSS property shells with wide keywords 2026-11-24 14:36:22 +08:00
ldm0 beba12504d feat(webtransport): expose secure transport interface shells 2026-11-24 14:36:22 +08:00
ldm0 65f4d174fd feat(speech): expose synthesis event interface shells 2026-11-24 14:36:22 +08:00
ldm0 e025dfc147 feat(webidl): expose reporting interface shells 2026-11-24 14:36:22 +08:00
ldm0 eb7ce49711 feat(performance): expose remaining timing interface shells 2026-11-24 14:36:22 +08:00
ldm0 a7bd832002 feat(media): expose EncodedVideoChunk interface shell 2026-11-24 14:36:22 +08:00
ldm0 f8f72aefef feat(webrtc): expose transport and RTP interface shells 2026-11-24 14:36:22 +08:00
ldm0 7ec88fe5fd feat(webaudio): expose remaining audio interface shells 2026-11-24 14:36:22 +08:00
ldm0 cd2351edcf feat(media): expose media stream and video interface shells 2026-11-24 14:36:22 +08:00
ldm0 6c9813342b feat(css): expose CSS animation and transition interfaces 2026-11-24 14:36:22 +08:00
ldm0 cc2f774929 feat(media): expose video encoder and decoder interface shells 2026-11-24 14:36:22 +08:00
ldm0 04c28081c6 feat(webidl): expose secure payment interface shells 2026-11-24 14:36:21 +08:00
ldm0 b57754aa9c feat(media): expose encrypted media interface shells 2026-11-24 14:36:21 +08:00
ldm0 2f79a5331b feat(webidl): expose MIDI interface shells 2026-11-24 14:36:21 +08:00
ldm0 165341c7e3 feat(webidl): expose secure Web Locks interface shells 2026-11-24 14:36:21 +08:00
ldm0 3c793375a0 feat(webidl): expose credential and WebAuthn interface shells 2026-11-24 14:36:21 +08:00
ldm0 06a90ff2fd fix(webidl): validate body and frameset Window handlers 2026-11-24 14:36:21 +08:00
ldm0 1be8f705c8 test(webaudio): cover offline audio context in popup realms 2026-11-24 14:36:21 +08:00
ldm0 aefdd29f23 fix(window): deduplicate closed bindings after main rebase 2026-11-24 14:36:21 +08:00
ldm0 10540812a0 test(webaudio): cover periodic wave in popup realms 2026-11-24 14:36:21 +08:00
ldm0 79f268eab3 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-24 14:36:21 +08:00
ldm0 db23837c05 test(webaudio): cover iir filter in popup realms 2026-11-24 14:36:21 +08:00
ldm0 ffd486a672 fix(webaudio): convert offline sample rates with WebIDL float 2026-11-24 14:36:21 +08:00
ldm0 dcbbe62803 test(webaudio): cover convolver in popup realms 2026-11-24 14:36:21 +08:00
ldm0 63c16e8ce7 test(webaudio): cover WaveShaper controls in popup realms 2026-11-24 14:36:21 +08:00
ldm0 0264d248f7 test(webaudio): cover AudioBuffer storage in popup realms 2026-11-24 14:36:21 +08:00
ldm0 abbd7f0b90 fix(webapi): deduplicate bindings after main rebase 2026-11-24 14:36:21 +08:00
ldm0 0c2b54095f feat(gamepad): add native interfaces and event payloads 2026-11-24 14:36:21 +08:00
ldm0 27d490f578 test(dialog): distinguish callback timers from rendering wakes 2026-11-24 14:36:21 +08:00
ldm0 3c78559136 test(webaudio): cover channel routing nodes in popup realms 2026-11-24 14:36:21 +08:00
ldm0 bf2c9ae201 fix: reconcile shared module sources and main regressions 2026-11-24 14:36:21 +08:00
ldm0 28c1895c36 feat(wake-lock): expose secure native interfaces with explicit platform denial 2026-11-24 14:36:21 +08:00
ldm0 74a2a56a52 fix(webaudio): preserve Gain processing guards and popup node interfaces 2026-11-24 14:36:21 +08:00
ldm0 0c9cfb9260 feat(webaudio): use native audio event payloads 2026-11-24 14:36:21 +08:00
ldm0 18d01764bb test(webaudio): cover scheduled audio sources in popup realms 2026-11-24 14:36:21 +08:00
ldm0 40c656141d feat(webaudio): unify native AudioNode interfaces 2026-11-24 14:36:21 +08:00
ldm0 ad1337fb0e feat(media): expose native device info interfaces 2026-11-24 14:36:21 +08:00
ldm0 c058745e8a feat(worklet): expose native interfaces and per-call module promises 2026-11-24 14:36:21 +08:00
ldm0 9eb18d0490 feat(webgl): expose resource and value interfaces 2026-11-24 14:36:21 +08:00