Commit Graph
33 Commits
Author SHA1 Message Date
ldm0 1ed7e997bb test(core): assert stylesheet readiness without timing thresholds 2026-11-12 02:01:08 +08:00
ldm0 627e3165a5 fix(fetch): consume bodies on native receiver networking tasks 2026-11-04 15:08:29 +08:00
ldm0 f2d189f9fe fix(fetch): preserve and clone Request stream bodies 2026-11-04 15:08:29 +08:00
ldm0 d9290e87ad feat(modules): support native text module imports
Support type: text through the shared module map, Window, child Documents and workers. Export UTF-8 decoded strings without executing their contents, preserve typed-module identity, and carry text request metadata through network, preload and Service Worker loaders. Regressions cover static/dynamic import sharing, BOM and invalid UTF-8, CORS, integrity, worker environments and unsupported-type rejection.

Extracted from development commit a6de018613.
Base: main (62e527cd34).

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 [ 146.817s] 22203 tests run: 22203 passed (9 slow), 20 skipped
2026-11-03 06:30:06 +08:00
ldm0 cba18451c8 test(scripts): gate parser stylesheet after runtime load mutation
Release the parser-owned blocking stylesheet only after the runtime stylesheet load handler has applied its DOM marker. Use the existing fixture event gate and a dedicated signal route to establish the renderer/parser snapshot ordering explicitly, preserving the marker and event-order assertions without relying on two relative network delays.

Extracted from development commit f51d7c2c5e141b0926e262a35c3d21ff6cb79450.
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.438s] 22169 tests run: 22169 passed (9 slow), 20 skipped
2026-11-02 22:28:59 +08:00
ldm0 835d08b590 refactor(page): own command waits and finite completion
Run Page composite commands in the existing supervised command workflow.
Prepare preload, stop, crash and close ownership at admission; keep native
waits outside state access and complete finite commands synchronously.

Share owned navigation commit, streaming response and retirement logic with
Fetch. Preserve current, nested and background navigation reply ownership,
including accepted terminals during later waits, cancellation and ready loss.
Keep stop cleanup scoped to its original request and retain crashed Pages
before awaiting shutdown.

Remove the child-navigation Owned/Inline split, redundant world phases and
old exclusive Page completion/activation wrappers. Carry typed native errors
and use finite state operations for output, attachment and listener updates.

Keep original Native child facts routable through the unbound Document
handoff without granting business access. Preserve their exact Document tree
through adoption and use the captured owner for events and response bodies
when foreground selection changes.

Validate controlled renderer-held peer progress and recovery, successor
navigation ownership, stale world attachments, full workspace checks, source
CLI compatibility, Playwright, Puppeteer and parallel targeted stress. Replace an old stylesheet fixture clock check with
a script-released CSS gate while preserving the parser/DOM ordering checks.
2026-10-29 17:39:23 +08:00
ldm0 ff15becb62 fix(fonts): defer set events and preserve ranges and promises 2026-10-23 04:07:15 +08:00
ldm0 c7130a3059 fix(fonts): share native FontFace loading across CSS and JS 2026-10-23 04:07:15 +08:00
ldm0 bfb22b2cd5 test(scripts): synchronize async chunk fixture on execution 2026-10-15 18:15:30 +08:00
ldm0 60c0a7ffcb fix(cssom): validate keyframe receivers and preserve mutation errors
Extracted from wpt-misc-fix.

Source-commit: f57431be78
Source-commit: 8b8655fd27
2026-10-12 01:03:35 +08:00
ldm0 225c7d36ed fix(performance): validate observer options and retain observe mode
Convert PerformanceObserver.observe options as a WebIDL dictionary, reject invalid option combinations and restricted durationThreshold values, and retain the chosen single/multiple observe mode across empty or unsupported subscriptions and disconnect. disconnect clears active subscription data without resetting the selected mode. Window regressions cover member evaluation order, exception identity, cross-realm receiver checks, unsupported types and re-subscription.
2026-10-08 21:39:21 +08:00
ldm0 ce08ab6c54 test(stylesheet): gate alternate stylesheet on parser script observation 2026-10-07 18:23:32 +08:00
ldm0 26a1aa7329 test(scripts): gate blocking stylesheet on inline module execution 2026-10-07 16:05:48 +08:00
ldm0 3f6a8f470d test(history): snapshot child traversal events after completion 2026-10-07 16:05:33 +08:00
ldm0 cc2b49438f fix(fetch): expose null bodies for HEAD and bodyless statuses 2026-10-07 00:17:11 +08:00
ldm0 a3f792d2ad test(events): cover native abort event trust and dispatch cleanup 2026-10-05 14:17:07 +08:00
ldm0 d3f7407472 test(history): await child fragment traversal completion explicitly 2026-10-05 05:17:00 +08:00
ldm0 57ced0b0c4 test(fetch): cover UTF-8 BOM decoding in Response streams 2026-10-05 05:13:53 +08:00
ldm0 307feab20c fix(navigation): construct native events in their target realm 2026-10-05 03:43:44 +08:00
ldm0 b116fbd7cb fix(fetch): reject locked bodies before consumption and cloning 2026-10-05 03:37:13 +08:00
ldm0 933d6bdf82 test(fonts): await the FontFaceSet fixture before assertions 2026-10-04 02:38:42 +08:00
ldm0 82540f8d5c test(fetch): cover BOM decoding across body consumers and realms 2026-10-04 00:48:02 +08:00
ldm0 edd0057eed fix(webidl): validate observer receivers and isolate native state
Author properties can currently overwrite MutationObserver and IntersectionObserver identifiers or options, and invalid receivers can reach observer callbacks. Use the existing native receiver checks and V8 private slots for observer identity and configuration.

Freeze IntersectionObserver thresholds, return fresh chronological PerformanceObserverEntryList sequences, and correct observer method lengths. Regressions cover cross-realm genuine and forged receivers, conversion order, queue isolation, frozen thresholds, and independent result arrays. Update the local ported PerformanceObserver IDL fixture to its optional dictionary signature.

Keep duplicate IntersectionObserver thresholds after sorting, as required by the initialization algorithm: https://www.w3.org/TR/intersection-observer/#initialize-new-intersection-observer
2026-10-01 03:50:27 +08:00
ldm0 6e82924b02 fix(file-api): use the shared illegal FileList constructor 2026-09-29 03:09:34 +08:00
ldm0 3ea89722bc fix(dom): preserve AbortSignal dependency order during reentrant aborts 2026-09-27 03:25:21 +08:00
ldm0 24743af0e4 fix(script): report document.write exceptions through shared execution 2026-09-26 20:22:11 +08:00
ldm0 179241dedd refactor(layout): publish layout only through explicit visual output
Make geometry, input and observers read the latest published layout without
cold-start or invalidation-triggered layout. Only screenshot, screencast and
PDF output can build and publish a new tree.

Connect WebDriver page screenshots to the shared output pipeline, explain how
to initialize layout in errors, and migrate fixtures to explicit publication.
Remove obsolete read policies and embedded-frame completeness metadata.
2026-09-25 10:19:22 +08:00
ldm0 663a5501d7 fix(history): preserve each queued History API traversal
Coalescing consecutive History API requests discarded intermediate
same-document traversals and their events when joint traversal plans
entered the shared queue. Keep these requests in order and derive the next
index from the last queued step, while retaining Navigation API promise
reuse.

Apply top-level traversals to the page's default Window when an isolated
realm initiated the request. Add local back/forward coverage across same-
and cross-document entries, and verify every event and microtask turn in
the existing history tests and fixture.

Fixes: f8f46bf48 (fix(history): coordinate complete joint traversal plans)
2026-09-25 03:03:07 +08:00
ldm0 3f8ce8a940 fix(history): use document lifecycle for initial blank replacement 2026-09-23 16:11:02 +08:00
ldm0 c019abeeb1 fix(streams): disturb the source when piping starts 2026-09-22 12:17:45 +08:00
ldm0 24dcb813c0 test(lifecycle): gate post-DCL script loading explicitly
Source: fa5059a062
2026-09-15 13:12:39 +08:00
ldm0 345a66ba07 test(css): cover picture-in-picture display mode queries
Source: 784fdc207e
2026-09-14 21:43:31 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00