Commit Graph
1020 Commits
Author SHA1 Message Date
lanyue-llk 1d4fc23f9e ci: reproduce iframe group in matching container and concurrency 2026-09-22 17:43:42 +08:00
lanyue-llk fe6702f6f5 ci: isolate exact Linux iframe timeout diagnostic 2026-09-22 17:35:52 +08:00
lanyue-llk f90c747f88 test(worker): use renderer stack budget for child message test 2026-09-22 15:30:55 +08:00
kevin 7ac546498e fix(protocol): complete inspector rendering and navigation contracts 2026-09-22 13:42:56 +08:00
kevin ad0df2276d fix(review): preserve cache lifetime and validation contracts 2026-09-21 15:25:02 +08:00
kevin de48681198 chore(merge): sync latest main into browser fixes 2026-09-21 14:04:50 +08:00
ldm0 373edf56dd fix(layout): avoid subtracting SVG margins twice 2026-09-21 06:39:53 +08:00
ldm0 480416e50b fix(layout): size inline SVG icons from available space
Keep track of SVGs without intrinsic dimensions so a viewBox-only icon
stretches along the available inline axis instead of acquiring a fixed
150px natural size. Preserve author dimensions, aspect ratios, box insets,
and intrinsic percentage contributions; resolve absolute sizing probes
against their containing block and positioning insets.

Add Chromium-calibrated geometry and paint coverage for search icons,
padded containers, explicit and constrained sizes, absolute positioning,
and shrink-to-fit containers. Correct the older SVG paint expectation
that assumed the same 150px fallback.

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast (18,310 passed, 13 skipped)
- Replayed the original Google document through moli serve: both the plus
  and apps icons are 24x24 instead of 150x150.
2026-09-21 06:39:53 +08:00
ldm0 796376878b refactor(curl): use owned byte header lists from curl-rust 2026-09-21 05:37:28 +08:00
ldm0 b080b65104 fix(tests): use byte headers in XHR response fixtures 2026-09-21 05:37:28 +08:00
ldm0 29283fd86a fix(network): scope CDP header overrides and preserve BiDi byte values
Restore original headers on redirect while preserving current-hop overrides
for authentication retries and keeping Network event identity intact.

Preserve raw BiDi Cookie, Set-Cookie, and extra header values through page,
navigation, and worker policies. Apply CDP's last-value behavior for duplicate
request header names.

Add coverage for header bytes, redirects, authentication, and event sequences.
2026-09-21 05:37:28 +08:00
ldm0 932a7225ac refactor(network): preserve request header bytes across interception
Carry RequestHeaders through navigation, Fetch/XHR, workers, redirects and auth,
with explicit Unicode and ByteString conversions at protocol and WebIDL boundaries.
Share the raw curl header list with WebSocket transport and decode binary response
headers without UTF-8 replacement. Keep header memory charging concrete.

Cover opaque values, UTF-8 overrides, duplicates, redirect/auth continuation and
WebSocket handshakes with byte-level regression tests.
2026-09-21 03:54:12 +08:00
ldm0 dd7cd1c1e1 fix(html2md): preserve code boundaries across empty inline events 2026-09-21 03:32:33 +08:00
kevin f315ff26ed fix(forms): preserve detached document property semantics 2026-09-20 22:03:30 +08:00
kevin 87c87e9539 chore(merge): sync main after review fixes
Resolve scroll fixture overlap with viewport-relative spacing while preserving the added regression assertions and diagnostics.
2026-09-20 21:23:01 +08:00
kevin 70d48db427 test(curl): wait for proxy fixture connections 2026-09-20 21:07:27 +08:00
kevin d871f7ee21 test(cdp): declare redirect expectations explicitly 2026-09-20 21:07:26 +08:00
kevin ad8cac3de6 fix(layout): invalidate adopted stylesheet geometry 2026-09-20 21:07:26 +08:00
kevin 1589b97760 fix(webdriver): preserve clicks through descendant frames 2026-09-20 21:07:26 +08:00
kevin 3560c85f4b Use CommonMark punctuation class and retain compatibility scenarios 2026-09-20 20:50:03 +08:00
kevin 8361929c4c Revert "Separate adjacent Markdown code spans"
This reverts commit fcc1c20576.
2026-09-20 20:50:03 +08:00
kevin 01910a6f14 Separate adjacent Markdown code spans 2026-09-20 20:50:03 +08:00
kevin 9848a96c1c Revert "Preserve literal characters in adjacent code HTML fallback"
This reverts commit 9359650240.
2026-09-20 20:50:03 +08:00
kevin 43b8064a49 Preserve literal characters in adjacent code HTML fallback 2026-09-20 20:50:03 +08:00
kevin ead6facb87 Preserve empty pre blocks and adjacent code text 2026-09-20 20:50:03 +08:00
kevin 0d91807041 Keep scroll test targets below every viewport 2026-09-20 20:50:03 +08:00
kevin 2c0fd9a8c0 Preserve preformatted boundaries and empty code separation 2026-09-20 20:50:03 +08:00
kevin 107c1536cb Retain image references without inferring content from pixels 2026-09-20 20:50:03 +08:00
kevin 4052110cff Preserve ambiguous embedded images and picture alternatives 2026-09-20 20:50:03 +08:00
kevin 8104206412 Preserve block boundaries inside preformatted content 2026-09-20 20:50:03 +08:00
kevin c496e37cb4 Preserve content semantics in HTML to Markdown conversion 2026-09-20 20:50:03 +08:00
kevin 91e9b568bd fix(html2md): detect empty inline SVGs structurally 2026-09-20 20:50:03 +08:00
kevin 7985fcb7bc fix(fetch): preserve details and discard empty SVG placeholders 2026-09-20 20:50:03 +08:00
kevin 5524a9dc82 Fix WebDriver activation boundaries and share network cleanup rules 2026-09-20 20:19:48 +08:00
ldm0 b75e26fca2 fix(workers): inherit EventTarget across worker global scopes 2026-09-20 20:15:21 +08:00
ldm0 c6418d05e2 fix(xhr): normalize script-visible response headers 2026-09-20 20:11:50 +08:00
kevin cff9c67838 Merge main and preserve typed provisional navigation failures 2026-09-20 19:48:38 +08:00
ldm0 3ae44b5150 fix(cdp): preserve navigation failure context at protocol boundaries
Render generic navigation failures with their complete anyhow context chain.
Keep blocked-URL error text canonical through an explicit typed policy cause,
and cover both serialized CDP output and an intercepted blocked navigation.

Replace the offline navigation cause's free-form error text with a typed kind
and a single protocol-text mapping. Keep these policy error types internal and
document that transport failures still use NetworkFetchFailureContext.

Update the unsupported authentication regression to expect preserved context
while retaining the assertion that no retry is issued.
2026-09-20 19:27:31 +08:00
ldm0 81663c6650 refactor(navigation): preserve errors through document loading 2026-09-20 19:27:31 +08:00
ldm0 5be3c7b644 refactor(cdp): preserve typed navigation network errors 2026-09-20 19:27:31 +08:00
kevin ba5711aad2 fix(browser): address activation and document review regressions 2026-09-20 19:03:55 +08:00
ldm0 3a1d432acc fix(fetch): include required headers in Blob URL responses 2026-09-20 18:59:25 +08:00
ldm0 04302d49fb fix(cors): parse Content-Type parameters without rejecting commas
Extracted from b57d75e801791c4d9b6d682f2aae254d3acd3c53.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets
--all-features -- -D warnings. Runtime tests were not run for this split.
2026-09-20 18:03:07 +08:00
ldm0 01e724d175 fix(csp): normalize base64url symbols in inline hashes
Extracted from 04b2aa7f0273ae5d63835c1ac466d8aa30dc57d3.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets
--all-features -- -D warnings. Runtime tests were not run for this split.
2026-09-20 17:25:41 +08:00
ldm0 11f8e9668b fix(wpt): run crashtests with their readiness protocol 2026-09-20 17:22:49 +08:00
ldm0 082717a952 fix(dom): return empty shallow clones of detached HTML documents 2026-09-20 17:16:21 +08:00
kevin 7e3e1f14b8 fix(network): project redirected request metadata 2026-09-20 16:56:02 +08:00
ldm0 846b24119a fix(cdp): commit error documents for offline Fetch continuations 2026-09-20 14:15:47 +08:00
ldm0 4ed30be874 fix(fetch): distinguish request header bytes from UTF-8 strings 2026-09-20 14:03:33 +08:00
ldm0 ba11283d57 fix(fetch): preserve HTTP header bytes across the transport
Extracted from f25578c2a9c188d3437e88f337ebaae9da49a246.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets
--all-features -- -D warnings. Runtime tests were not run for this split.
2026-09-20 14:03:33 +08:00