Commit Graph
997 Commits
Author SHA1 Message Date
ldm0 c3c01f20ea refactor(curl): use owned byte header lists from curl-rust 2026-09-21 04:26:40 +08:00
ldm0 60d9a2be9a fix(tests): use byte headers in XHR response fixtures 2026-09-21 04:01:46 +08:00
ldm0 fbfc213d82 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 03:58:53 +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 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
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
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
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
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
BibekPathak 8032606abf report offline navigations as network failures, not -32000 2026-09-20 10:54:25 +08:00
BibekPathak f3ef88f6dc fix(cdp): allow loopback navigations under offline emulation 2026-09-20 10:54:25 +08:00
Donough Liu 4751262331 refactor(profile): use standard library file locking v1.1.9 2026-09-20 10:24:50 +08:00
Random30000 dcdca64d3e fix(profile): recover Windows lock after process exit 2026-09-20 08:22:07 +08:00
ldm0 db615d78eb fix(webidl): validate remaining Document member receivers 2026-09-19 23:08:03 +08:00
zhouzirui a9c6e3ba4e fix(windows): sync OPFS and storage directories safely 2026-09-19 21:56:20 +08:00
ldm0 d4f5e2fc01 fix(profile): simplify file writes for Windows 2026-09-19 21:56:20 +08:00
ldm0 8668a6f9fc chore(release): update version to 1.1.9 2026-09-19 18:23:13 +08:00
ldm0 5727dc7dff fix(webidl): validate Document attribute receivers
Enable generated native receiver checks for Document metadata, view, focus and state attributes. Cover genuine cross-realm and windowless documents, author Proxies and forged receivers, callee-realm TypeError and validation before domain conversion. Preserve existing lenient mouse event handlers.
2026-09-19 02:36:28 +08:00
ldm0 56cd4ddd1a fix(wpt): serve Fetch Range streaming fixtures
Serve the upstream long WAV and range stash resources with streaming writes, byte-range metadata, cancellation and exact path discovery. Cover custom methods, duplicate headers, stash isolation and shutdown.
2026-09-19 00:22:39 +08:00
ldm0 8b09e71d15 fix(wpt): serve as-is fixtures as raw HTTP responses
Write .asis fixtures directly to the connection, preserving raw status lines, duplicate framing fields and malformed bytes. Bypass generated headers, pipelines, substitutions and HEAD body suppression as upstream wptserve does.
2026-09-19 00:11:55 +08:00
ldm0 39709370fd fix(xhr): allow repeated synchronous requests to the same URL
Remove the URL-based synchronous XHR repetition gate. Independent requests to the same resource must run normally, including failures followed by recovery, method changes and child-document requests.
2026-09-18 21:38:39 +08:00
ldm0 e152abd914 feat(cli): simplify option names and add dump aliases 2026-09-18 20:26:54 +08:00
ldm0 bc998c5748 fix(modules): preserve constructors through module trees
Retain Error and WebAssembly CompileError/LinkError kinds when translating module failures into and out of the shared module tree. Cover cached graph failures and malformed Wasm import rejection, including author-replaced constructors.
2026-09-18 20:26:35 +08:00
ldm0 3e2d2251b5 fix(wpt): serve empty Location redirect fixtures
Serve redirect-empty-location.py with a present empty Location header, fixed 302 status and no CORS grants. Respond before unused uploads complete and recognize only the supported resource references.
2026-09-18 16:43:51 +08:00
ldm0 393338d444 test(layout): cover resolution and reduced-motion changes 2026-09-18 16:19:28 +08:00
ldm0 984c20ec98 Fix table cell baselines and float vertical alignment 2026-09-18 16:19:13 +08:00
ldm0 d98b2255f1 Fix table cell containing blocks and measured baselines 2026-09-18 16:19:13 +08:00