Commit Graph
28 Commits
Author SHA1 Message Date
ldm0 1ed7e997bb test(core): assert stylesheet readiness without timing thresholds 2026-11-12 02:01:08 +08:00
ldm0 1eeafb6ca6 refactor(tests): share JavaScript fixture response construction
Owned and static JavaScript fixture bodies repeat the same response constructor. Let the existing helper accept either IntoResponse input and reuse it, preserving application/javascript headers and avoiding allocation solely to adapt a static body.
2026-11-09 22:12:00 +08:00
ldm0 c3965e1654 test(scripts): gate async fixture responses on observed execution 2026-11-07 10:51:45 +08:00
ldm0andneosun100 08e83bffc0 fix(cdp): randomize browser endpoints and page target identities
Generate a fresh browser WebSocket UUID per server and random 128-bit page
and tab target IDs for network CDP owners. Keep discovery URLs and protocol
target IDs consistent, and make clients discover endpoints instead of
relying on fixed paths.

Cover endpoint rotation, guessed and foreign ID rejection, and target
lifecycle behavior.

Co-authored-by: neosun100 <neosun100@users.noreply.github.com>
2026-11-03 05:53:28 +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 ff15becb62 fix(fonts): defer set events and preserve ranges and promises 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
lanyue-llk 7e87eef4f4 fix(renderer): follow navigation queued at reached load milestone 2026-10-11 04:55:23 +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 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 24dcb813c0 test(lifecycle): gate post-DCL script loading explicitly
Source: fa5059a062
2026-09-15 13:12:39 +08:00
ldm0 ae7e1067e6 fix(emulation): preserve locale and timezone semantics 2026-09-13 01:07:35 +08:00
ldm0 14949fd862 fix(dom): include CDATA in child text content
Extract an independently mergeable topic from wpt-misc-fix at
a70a96f9d1.

Register the child text content regression module without including later script test modules.
Include the XML document fixture route used by the CDATA regression so this branch does not depend on the separate XML input-stream changes.

Source commits:
- 7f587e1251
- ae3a3f1096

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast
2026-09-10 05:50:52 +08:00
ldm0 0c05739324 perf(network): retire cumulative raw output history 2026-09-05 00:16:38 +08:00
ldm0 461f9bcac4 feat(fetch): enrich JSON dump metadata 2026-08-24 20:04:55 +08:00
ldm0 cb287fb651 fix(cli): apply redirect wait to terminal 3xx pages 2026-08-23 03:02:54 +08:00
ldm0 c86a373bcc fix(cli): preserve HTTP error bodies after readiness 2026-08-23 03:02:03 +08:00
ldm0 5de601b7e7 fix(renderer): avoid abort on streaming timeout 2026-08-17 04:04:00 +08:00
ldm0 aefa01568d fix(fetch): share deadline with best-effort readiness 2026-08-17 01:23:24 +08:00
ldm0 f23fca74ad refactor(fetch): unify readiness deadline 2026-08-17 01:23:24 +08:00
ldm0 bea0f130b5 test: cover HTTP error navigation edge cases 2026-08-16 21:10:24 +08:00
ldm0 eb4b7e4a36 feat: follow HTTP error replacement navigations 2026-08-16 21:10:24 +08:00
ldm0 95a671e2e0 feat(fetch): return best-effort results on readiness timeout 2026-08-16 02:58:13 +08:00
ldm0 f2a2095751 fix(navigation): stabilize sequential CDP lifecycle 2026-08-13 07:07:00 +08:00
ldm0 edd2c2df15 Stabilize large NodeList regression test 2026-08-12 00:46:14 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00