Commit Graph
146 Commits
Author SHA1 Message Date
ldm0 72f22d18f6 fix(selection): sync all Selection associations on Range mutation
Source-commit: b5d2f8db61
2026-11-12 23:38:59 +08:00
ldm0 e7ac1c1a4a refactor(fetch): share response state across workers and caches 2026-11-12 16:31:24 +08:00
ldm0 c728bb28c9 fix(window): validate scheduling method receivers
Source-commit: 3c207eeef1
2026-11-12 16:13:01 +08:00
ldm0 6786667081 test(fetch): cover Body completion tasks in child-opened popups
Source-commit: 137a8e3859
2026-11-12 14:58:34 +08:00
ldm0 f935014934 fix(fetch): preserve author header spelling through native dispatch
Preserve the first accepted header spelling through Header mutations, Request copies and network serialization while keeping public iteration lowercase and case-insensitive lookup. Include twelve real HTTP request cases in both Window and Worker.

Extracted from development commit 55e94176e33e801bb4ca96fe805c3771d153d577.
Base: main (b30f39c580).

Validation (32 build jobs and test threads): cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast.
     Summary [ 147.813s] 22171 tests run: 22171 passed (9 slow), 20 skipped
2026-11-12 14:41:29 +08:00
ldm0 aa24f3aebc fix(modules): bind import.meta resolution to Window settings
Extracted from development commit 7f7d222c41.

Adapted to the target branch APIs. Validated with cargo fmt --all, full workspace Clippy (-D warnings), and cargo nextest run --no-fail-fast before committing.
2026-11-12 04:21:50 +08:00
ldm0 cdd413b257 fix(script): report dynamic inline errors in the document realm
Extracted from development commit bc8259d5fd.

Adapted to the target branch APIs. Validated with cargo fmt --all, full workspace Clippy (-D warnings), and cargo nextest run --no-fail-fast before committing.
2026-11-12 02:03:02 +08:00
ldm0 c6a9c7b118 fix(performance): preserve timing authorization in Cache Storage
Persist the Fetch timing-allow flag, propagate it through pending body completion, and restore it when building readable and opaque cached Response objects. Cover disk round trips and Window/Worker Cache API delivery with TAO and no-TAO controls.
2026-11-12 00:44:00 +08:00
ldm0 b3dd528d44 fix(performance): preserve Service Worker response timing metadata
Retain response type and timing authorization through Response materialization, clone, SW settlement, and direct Worker Fetch completion. Report delivered body bytes without a client network transfer, preserve forwarded CORS restrictions, and avoid re-filtering synthetic Default responses by their request URL.
2026-11-12 00:44:00 +08:00
ldm0 a6352fa05d fix(performance): record aborted Fetch resource timing
Publish one terminal entry in the Fetch relevant global before cancellation drops request state. Cover Window and Worker aborts before headers and during streaming, pre-aborted signals, borrowed iframe Fetch, and late completions.
2026-11-12 00:44:00 +08:00
ldm0 9062c68e7a fix(performance): attribute parser script loads to their document
Populate initiatorUrl for fresh same-origin parser script responses while retaining redaction for cached, foreign and unknown initiators. Add a shared browser fixture verifying Fetch source identity and separate parent/iframe timelines against Chromium.
2026-11-12 00:44:00 +08:00
ldm0 0960ec2d2c test(promises): retain jobs after child Window retirement
Retain the source regression for Promise reactions, thenable assimilation, live versus retired callbacks, retained Window globals and shared-agent FIFO after an iframe is removed. Leave the pinned WPT assertions and runtime implementation unchanged.

Source-commit: 511ced3e4a
2026-11-11 03:28:05 +08:00
ldm0 8582026d7b test(webidl): cover exception strings and conversion order across realms
Verify exact UTF-16 units, constructor defaults, primitive conversions,
derived prototypes, getter order and exact thrown values in Window,
child and Worker realms, including shared WebSocket CloseInfo conversion.
2026-11-07 00:49:16 +08:00
ldm0 668fd80b64 test(xhr): cover bodyless upload completion and reentry 2026-11-06 13:59:02 +08:00
ldm0 1892b4c17d fix(file-api): convert reader inputs before read algorithms 2026-11-04 15:28:55 +08:00
ldm0 0e27616a48 fix(fetch): tee Response bodies for every public source 2026-11-04 15:08:29 +08:00
ldm0 a45e6e03bf fix(fetch): transfer Request bodies through native streams 2026-11-04 15:08:29 +08:00
ldm0 dbdf0d0f74 fix(fetch): read constructed Blob bodies on file-reading tasks 2026-11-04 15:08:29 +08:00
ldm0 627e3165a5 fix(fetch): consume bodies on native receiver networking tasks 2026-11-04 15:08:29 +08:00
ldm0 1bb602a3e6 fix(file-api): schedule Blob reads on native file-reading tasks 2026-11-04 15:08:29 +08:00
ldm0 85212e576a fix(file-api): run FileReader phases as native tasks 2026-11-04 15:08:28 +08:00
ldm0 2db52b45ba fix(svg): resolve inherited relative font weights correctly 2026-11-03 11:55:43 +08:00
wslee 46f7e37989 test(svg): cover inherited italic and condensed faces 2026-11-03 11:55:43 +08:00
ldm0 b30f39c580 fix(fetch): preserve combined Content-Type syntax in Body.blob()
fix(fetch): preserve combined Content-Type syntax in Body.blob().

Extracted from development commit 8123cb6e9f8 and adapted to main.

Validation (32 build jobs and test threads): cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast.
     Summary [ 138.308s] 22166 tests run: 22166 passed (9 slow), 20 skipped
2026-11-02 03:11:27 +08:00
ldm0 378e338863 fix(shared-worker): keep agent isolation independent of creator policies
fix(shared-worker): keep agent isolation independent of creator policies.

Extracted from development commit b11470a111d and adapted to main.

Validation (32 build jobs and test threads): cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast.
     Summary [ 152.012s] 22166 tests run: 22166 passed (9 slow), 20 skipped
2026-11-02 01:50:32 +08:00
ldm0 4422ff9106 fix(websocket): preserve WebSocketError message code units
Original-commit: b1aaba77adced84da7907a1c323f67de9c1a9d59
2026-11-01 02:30:18 +08:00
ldm0 1ed250a5ca fix(websocket): validate receivers with native brands
Use the shared native WebIDL brand for WebSocket methods, attributes and event handlers. Retain registered native proxies, reject forged and author-proxy receivers before conversion, and preserve callee-realm exceptions. Remove prototype-chain based receiver detection.
2026-11-01 02:27:26 +08:00
ldm0 e340190114 fix(fetch): propagate explicit referrers and preflight policies
Carry validated Fetch referrers through Window and Worker request construction and preserve selected referrers and policies on buffered and streaming CORS preflights.

Validation (32 build jobs / test threads, zero retries):

- `cargo fmt --all`
- `cargo clippy --workspace --all-targets --all-features -- -D warnings`
- `cargo nextest run --no-fail-fast`: Summary [ 145.746s] 22001 tests run: 22001 passed (9 slow), 19 skipped
2026-10-31 18:55:48 +08:00
ldm0 898ba89d36 fix(dom): validate XPathResult receivers and preserve native alias state 2026-10-30 22:32:19 +08:00
ldm0 75ad372bab fix(indexeddb): store native DOMException payloads 2026-10-29 08:45:07 +08:00
ldm0 072ac1a58e fix(svg): enforce SVGLength float boundaries and finite unit conversion
Convert numeric inputs through WebIDL Float before mutation and retain
float getter precision and short serialization for direct float inputs.
Keep derived unit values in f64 so narrowing cannot produce infpx or erase
nonzero results. Preserve atomic rejection and reflected/list-valued state.

Cover numeric rounding, overflow, underflow, conversion side effects,
serialization roundtrips and main/iframe realms.

Cover absolute-unit numeric roundtrips with a shared browser probe across
cm/in/px, both setters, standalone/reflected/list values and two realms.
Check float input conversion, serialized-value reparsing and pixel/unit
roundtrips within one float ULP; retain the runtime conversion algorithm.
2026-10-29 02:54:08 +08:00
ldm0 3c9ce8019d fix(indexeddb): expose a readonly worker prototype accessor
Install WorkerGlobalScope.indexedDB through the generated receiver binding and keep lazy SameObject identity in the private realm cache. Cover Dedicated, Shared, Service and opaque-origin workers, illegal receivers, readonly assignment, author shadows and lazy materialization.
2026-10-28 23:43:04 +08:00
ldm0 8fd43f6784 fix(dom): derive insertAdjacentElement argument validation
Extracted from wpt-misc-fix (24b7f93e8a3 (insertAdjacentElement argument and identity changes)).

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (32 build jobs / test threads).
Summary [ 138.068s] 20916 tests run: 20916 passed (9 slow), 19 skipped
2026-10-28 02:14:43 +08:00
ldm0 73928db117 fix(dom): allocate windowless nodes with owner realm intrinsics
Extracted from wpt-misc-fix (37cca4b4783).

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (32 build jobs / test threads).
Summary [ 135.889s] 20909 tests run: 20909 passed (9 slow), 19 skipped
2026-10-27 06:22:57 +08:00
ldm0 825da7ad5d fix(dom): expose immutable MutationRecord prototype attributes
Extracted from wpt-misc-fix (cf54cc1dac3).

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (32 build jobs / test threads).
Summary [ 135.291s] 20911 tests run: 20911 passed (9 slow), 19 skipped
2026-10-27 06:21:30 +08:00
ldm0 864ef35590 fix(forms): serialize multipart submissions with their selected encoding
Extracted from wpt-misc-fix (1009e07a0f2b).

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (32 build jobs / test threads).
Summary [ 182.037s] 20909 tests run: 20909 passed (9 slow), 19 skipped
2026-10-27 06:20:42 +08:00
ldm0 7357fc4f08 fix(webidl): build immutable Window prototype chains in native templates 2026-10-25 16:12:16 +08:00
ldm0 1d2dae56b6 fix(errors): deserialize exception data without native failure stacks 2026-10-25 14:48:52 +08:00
ldm0 563c0199a7 fix(errors): avoid synthetic stacks on script-created DOM exceptions 2026-10-25 14:48:52 +08:00
ldm0 164bde6b52 fix(performance): report observer drops in callback realm 2026-10-25 06:18:32 +08:00
ldm0 311ca10405 feat(webrtc): implement native encoded frame value semantics 2026-10-25 05:42:41 +08:00
ldm0 0385279bd8 fix(dom): convert Range arguments through native WebIDL brands 2026-10-25 03:38:28 +08:00
ldm0 84587200a9 fix(dom): validate Range receivers with native brands 2026-10-25 03:38:28 +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 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