Commit Graph
4624 Commits
Author SHA1 Message Date
ldm0 bbb3941ec6 test(core): allow diagnostics in lifecycle panic isolation 2026-11-19 01:02:24 +08:00
ldm0 ab75a5e4e1 fix(webrtc): complete local data channel closing and connection shutdown 2026-11-19 01:02:24 +08:00
ldm0 ed77506711 fix(webrtc): validate data channel send arguments and state 2026-11-19 01:02:24 +08:00
ldm0 c125c0e9d4 fix(webrtc): validate data channel initialization and attributes 2026-11-19 01:02:24 +08:00
ldm0 ca1e370cec feat(webrtc): expose native statistics reports 2026-11-19 01:01:06 +08:00
ldm0 ef607ba77d feat(webrtc): expose native DTMF sender state 2026-11-19 01:01:06 +08:00
ldm0 6cadd8b0cf fix(webrtc): synchronize signaling descriptions and state events 2026-11-19 01:01:06 +08:00
ldm0 c4b0261727 fix(webrtc): validate local SDP and preserve offer provenance 2026-11-19 01:00:11 +08:00
ldm0 f2a6cbb46b feat(webrtc): add native RTP sender operations 2026-11-19 01:00:11 +08:00
ldm0 7f1ad43609 feat(webrtc): add native RTP transceiver frontend 2026-11-19 01:00:11 +08:00
ldm0 00af068e52 feat(webrtc): generate native certificates and preserve clone handles 2026-11-19 01:00:11 +08:00
ldm0 dfa7f97146 fix(runtime): retain unified awaited-expression output publication 2026-11-19 01:00:11 +08:00
ldm0 beeab9a221 fix(indexeddb): deduplicate rebased native name registration 2026-11-19 01:00:11 +08:00
ldm0 791dc40128 feat(payment): implement native PaymentRequest frontend 2026-11-19 01:00:11 +08:00
ldm0 0443783c88 test(page): preserve gated traversal responses after cancellation 2026-11-19 01:00:11 +08:00
ldm0 8f90de4aaf test(dom): bound namespace serialization fixtures by document 2026-11-19 01:00:11 +08:00
ldm0 5a2833fdc2 fix(webrtc): implement encoded frame value semantics 2026-11-19 01:00:11 +08:00
ldm0 2b1469a845 test(dom): bound XML fixture execution by document case 2026-11-19 01:00:11 +08:00
ldm0 17882e4715 test(dom): distinguish rendering wakes from dialog timers 2026-11-19 01:00:11 +08:00
ldm0 58a282efb2 feat(web-locks): implement native Window and worker locks 2026-11-19 01:00:11 +08:00
ldm0 96ebee1558 feat(storage): add bucket-scoped Web Locks coordination 2026-11-19 00:59:46 +08:00
ldm0 6520f2509d fix: adapt main integration to native names and rendering modules 2026-11-19 00:59:46 +08:00
ldm0 8762343f8f fix(canvas): share native ImageBitmap creation with workers 2026-11-19 00:59:46 +08:00
ldm0 a2f87d685b feat(webcodecs): implement raw VideoFrame lifecycle and CPU copies 2026-11-19 00:59:46 +08:00
ldm0 5a8b4d88ec feat(webidl): add frame integer, dictionary sequence and row conversions 2026-11-19 00:59:46 +08:00
ldm0 0d1683c0e9 feat(media): add closed MediaSource frontend and buffer lists 2026-11-19 00:59:46 +08:00
ldm0 120d538ebf feat(eme): add native key status map members 2026-11-19 00:59:46 +08:00
ldm0 2bd3a230fc feat(media): add remote playback interface members 2026-11-19 00:59:46 +08:00
ldm0 c5bb32ba12 feat(media): add picture-in-picture interface members
Validate the required PictureInPictureEvent window argument through WebIDL derive and retain its identity. Add branded Window dimensions and ordered resize handlers.

Cover receiver/conversion failures in three realms and native closed-window event identity and resize semantics. Real picture-in-picture presentation remains unavailable.

Validation: cargo fmt --all; workspace/all-targets/all-features clippy with -D warnings; cargo nextest run --no-fail-fast (21828 passed,16 skipped).
2026-11-19 00:59:46 +08:00
ldm0 0d53c3d4d8 test(cssom): deduplicate conversion module after rebase
Register cssom_write_conversion once after integrating the upstream value-conversion fix. Preserve its complete test fixture and every existing assertion.
2026-11-19 00:59:46 +08:00
ldm0 d290035ac9 test(webidl): retain host checks for computed style wrappers 2026-11-19 00:59:46 +08:00
ldm0 cbe68e9d60 fix(cssom): preserve keyframe mutation error semantics 2026-11-19 00:59:46 +08:00
ldm0 62b39f7758 fix(cssom): validate keyframe receivers with native brands 2026-11-19 00:59:46 +08:00
ldm0 f3edc0d4ce feat(css): expose native animation metadata and event associations 2026-11-19 00:59:46 +08:00
ldm0 6b6a94e45b fix(webtransport): deduplicate interfaces after main rebase 2026-11-19 00:59:46 +08:00
ldm0 df910bd756 feat(reporting): implement native observer delivery 2026-11-19 00:59:46 +08:00
ldm0 b3047b2ea4 fix(payment): initialize native payment update events 2026-11-19 00:59:46 +08:00
ldm0 27f198cb7d fix(canvas): save and restore native 2D drawing state 2026-11-19 00:59:46 +08:00
ldm0 0df318c35e chore(runtime): preserve interface registration order after rebase 2026-11-19 00:59:46 +08:00
ldm0 0d387aee03 fix(webapi): reconcile native interface bindings after main rebase
Keep a single native identity and constructor registration for the API
families present on both main and the WPT branch. Preserve the existing
WebCodecs frontend state and task-driven support queries, inherited event
dictionaries, secure-context handler exposure, and RTCError snapshots.

Align incoming constructor coverage with frontend initialization and
retain the original interface, realm and callback checks. Check
lexicographic dictionary reads including registered AVC/HEVC members.
Restore the exact pre-rebase Worker WebGL testcase so old coverage is
preserved alongside the six incoming main tests.

Validation: fmt, workspace clippy, nextest (21782 passed, 16 skipped).
2026-11-19 00:59:46 +08:00
ldm0 0bc9a470c4 fix(canvas): transfer OffscreenCanvas pixels to native ImageBitmap
Move the original pixel store and premultiplication metadata into a
branded ImageBitmap, then allocate an independent blank replacement.
Preserve context identity, existing drawing state and bitmaprenderer
natural dimensions without applying its presentation alpha composite.

Use the shared derived receiver binding in Windows and workers. Cover
cross-realm methods, native and author Proxies, pixels, subsequent draws,
bitmap closure and both bitmaprenderer alpha modes. Keep the pre-existing
save/restore state-stack gap as a separate conformance diagnostic.

Validation: fmt, workspace clippy, nextest (21776 passed, 16 skipped).
2026-11-19 00:59:46 +08:00
ldm0 06703f41ee fix(renderer): adapt branch services to Window realm execution owners
Move popup Contexts through the same runtime owner as default and child
realms. Carry the resource owner through deferred retirement, migrate
remaining ScriptVm Context accesses, and remove obsolete native surface
cleanup now owned by traced V8 private slots.

Retire canvas Blob callbacks and promises with their exact realm or
LocalWindow. Release queued exports during page teardown and verify that
retired child and isolated realms are collectable while parent work lives.

Drive the incoming public Response error/GC tests through selected Page
fetch tasks while preserving their original error identity assertions.
Read arbitrary completion payloads without filtering undefined; cover
primitive rejection identity including NaN, negative zero, BigInt and Symbol.

Validation: fmt, workspace clippy, nextest (21772 passed, 16 skipped).
2026-11-19 00:59:46 +08:00
ldm0 e02a2410e5 fix(canvas): draw accepted raster images without layout
Retain metadata-only image responses and decode pixels on canvas demand
through the existing resource cache and bounded decoded-byte owner.
Reuse the shared image decoder and preserve resource retirement behavior.

Use interface-specific derived receiver checks and derived 3/5/9 argument
conversion for drawImage. Snapshot sources after observable conversion.
Cover Blob URL revocation, HTTP response ownership, cross-realm brands,
registered native Proxies, budget release and stale resource completion.

Validation: fmt, workspace clippy, nextest (21759 passed, 16 skipped).
2026-11-19 00:59:01 +08:00
ldm0 9de5ceebd2 fix(canvas): encode OffscreenCanvas blobs on owner task queues
Replace the empty-Blob shim with asynchronous PNG/JPEG encoding of the
call-time pixel snapshot. Share the HTML canvas encoder and completion
source while preserving Window ownership and callback behavior.

Use generated receiver, dictionary and Promise bindings. Complete worker
exports through typed worker tasks, keeping V8 handles on their event loop.

Cover native Proxies, borrowed cross-realm calls, option conversion order,
worker Blob cloning and pixels, Window retirement and document.open.
Validation: fmt, workspace clippy and nextest (21735 passed, 16 skipped).
2026-11-19 00:58:36 +08:00
ldm0 18efd0cdcd fix(build): reconcile native SVG bindings after main rebase
Remove duplicated SVG declarations and stale shims introduced while replaying
the topic history onto the native SVG interfaces commit in main. Preserve
the later derive, UTF-16 and SMIL implementations and all active tests.

Enable main's lone-surrogate SVG animated-string regression now that the
native attribute storage supports UTF-16.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets
--all-features -- -D warnings; cargo nextest run --no-fail-fast
(21730 passed, 16 skipped; 32 threads; no automatic retries).
2026-11-19 00:58:36 +08:00
ldm0 63f231a9cd fix(canvas): support native bitmaprenderer transfers
Expose ImageBitmapRenderingContext through HTML and Offscreen canvas modes.
Transfer the native pixel backing, detach the source, preserve natural
output dimensions, and share canvas readback and PNG/Blob exports.

Use generated WebIDL receiver and argument checks, including registered
native Proxies. Protect context caches with private slots and apply alpha
settings through the shared dictionary derive.

Validate actual bitmap tasks, cross-realm pixel and export behavior, and
worker surface contracts. Full fmt, workspace clippy and nextest pass.
2026-11-19 00:58:09 +08:00
ldm0 03f2ec96ca fix(webrtc): initialize tone and track event payloads
Use shared WebIDL dictionary and native receiver bindings for synthetic RTC events.
Retain platform object identities, freeze the stream snapshot in the event realm,
and defer newTarget prototype selection until argument conversion completes.
2026-11-19 00:58:09 +08:00
ldm0 97d207de5e feat(webmidi): add native frontend bindings and readonly maps
Expose secure MIDI requests, native receiver validation, port interface members,
and live readonly maplike operations. Reuse shared WebIDL dictionary, sequence,
callback and octet conversions. Device requests and port I/O reject explicitly
until a platform MIDI backend is available.
2026-11-19 00:58:09 +08:00
ldm0 b6d3caea24 feat(media): add MediaRecorder frontend state and validation 2026-11-19 00:57:40 +08:00
ldm0 02a7ded617 feat(media): add native stream track sets and lifecycle 2026-11-19 00:57:40 +08:00