Commit Graph
1116 Commits
Author SHA1 Message Date
lanyue-llk 66a74a6754 Revert "fix(emulation): compose context style defaults with target overrides"
This reverts commit 9b92c4f8b8.
2026-09-24 21:17:05 +08:00
lanyue-llk 38822756e3 test(cdp): keep style defaults within one frontend owner 2026-09-24 20:08:04 +08:00
lanyue-llk e692b1f76c fix(ci): retain Stylo baseline and use page-root emulation 2026-09-24 18:52:12 +08:00
lanyue-llk 9b92c4f8b8 fix(emulation): compose context style defaults with target overrides 2026-09-24 18:47:31 +08:00
lanyue-llk 94bdfe9f59 fix: preserve per-target style state and bound vision blur memory 2026-09-24 18:47:31 +08:00
lanyue-llk 9152c7c460 fix(protocol): honor overlay payload and session lifecycle 2026-09-24 18:47:31 +08:00
lanyue-llk b3cc277346 test(worker): use renderer stack budget for child message test 2026-09-24 18:47:31 +08:00
kevin 0068a37de1 fix(protocol): complete inspector rendering and navigation contracts 2026-09-24 18:47:31 +08:00
lanyue-llk 45f8c72ef4 fix(parser): omit doctype from text documents 2026-09-24 18:47:00 +08:00
lanyue-llk 35859cde01 fix(browser): preserve layout and navigation invariants 2026-09-24 18:25:23 +08:00
kevin f88c59ec21 fix(review): preserve cache lifetime and validation contracts 2026-09-24 18:09:20 +08:00
kevin 036fe0aa9f fix(forms): preserve detached document property semantics 2026-09-24 18:09:19 +08:00
kevin 323e63067a test(curl): wait for proxy fixture connections 2026-09-24 18:09:19 +08:00
kevin 15846dca67 test(cdp): declare redirect expectations explicitly 2026-09-24 18:09:19 +08:00
kevin e08412418e fix(layout): invalidate adopted stylesheet geometry 2026-09-24 18:09:19 +08:00
kevin 3e66eaa4bc Fix WebDriver activation boundaries and share network cleanup rules 2026-09-24 18:09:19 +08:00
kevin e5205a28e0 fix(browser): address activation and document review regressions 2026-09-24 18:09:19 +08:00
kevin f176585cac fix(network): project redirected request metadata 2026-09-24 18:09:19 +08:00
kevin 121df3a6d3 fix(layout): exclude collapsed line-end spaces from overflow 2026-09-24 18:09:19 +08:00
kevin c3e0aec416 test(parser): remove unnecessary mutable binding 2026-09-24 18:09:19 +08:00
kevin 40ea579de4 fix(browser): address benchmark-discovered protocol and rendering failures 2026-09-24 18:09:19 +08:00
ldm0 9916039eb8 fix(dom): create AbortSignals with intrinsic factories and typed arguments 2026-09-24 16:44:14 +08:00
ldm0 ad757730ba fix(style): invalidate validity containers on child changes 2026-09-24 15:38:15 +08:00
ldm0 06018f4983 fix(cssom): share EventTarget bindings for MediaQueryList 2026-09-24 15:37:10 +08:00
ldm0 94186f6bb6 fix(events): unify object-valued simple event handlers 2026-09-24 15:35:12 +08:00
ldm0 1ebdb981fe fix(workers): share intrinsic bootstrap error events 2026-09-24 15:30:24 +08:00
ldm0 f5a934c033 fix(service-worker): use shared WebIDL promise bindings 2026-09-24 15:29:15 +08:00
ldm0 cc1c030e3f fix(forms): use native FileList data for inputs and FormData 2026-09-24 15:28:05 +08:00
ldm0 f591863281 fix(webidl): unify EventListener argument conversion 2026-09-24 15:24:35 +08:00
ldm0 260ed11c21 fix(url): share component parsing between URL and hyperlinks 2026-09-24 14:45:09 +08:00
ldm0 9b2f86bbf3 chore(release): update version to 1.1.10 v1.1.10 2026-09-24 06:14:56 +08:00
ldm0 c3b795bff2 fix(css): use native FontFaceSet bindings and shared EventTarget 2026-09-24 06:10:05 +08:00
ldm0 cecd00f3c1 fix(wpt): serve XHR body and encoded document fixtures
Model XHR binary body and Content-Type echo responses plus six encoded document resources. Preserve raw request metadata and encoding bytes, avoid waiting for unused uploads, and discover only supported resource references. Match upstream cache and absent-body response headers.

Validation: 584 Python tests passed with 32 workers; 270 HTTP responses matched official wptserve for status, body, and 15 response fields. New regression tests fail on the unmodified main baseline.

Source-commit: 5389231812
2026-09-24 05:02:24 +08:00
ldm0 72bc7cbef7 fix(forms): validate setRangeText offsets before clamping 2026-09-24 03:14:00 +08:00
ldm0 987b09ca13 fix(history): isolate traversal info to initiating navigation 2026-09-24 02:39:25 +08:00
ldm0 7e40b17284 refactor(history): extract pure session history state machine 2026-09-24 02:39:25 +08:00
ldm0 f8f46bf488 fix(history): coordinate complete joint traversal plans 2026-09-24 02:39:25 +08:00
ldm0 59ad7921a8 ci: use TUNA mirrors and extend release build timeouts
Install Debian build dependencies from TUNA mirrors in the three self-hosted jobs and allow both release builds to run for up to 180 minutes.
2026-09-24 01:05:00 +08:00
ldm0 1933cec74f refactor(input): centralize editing and native element clicks 2026-09-23 23:06:17 +08:00
ldm0 f0a31d85ed fix(input): dispatch InputEvent metadata for text edits
Dispatch trusted beforeinput and input events with operation-specific
inputType and data for text controls and contenteditable editing. Keep
beforeinput cancelable and report input.data after text normalization
and maxlength truncation.

Cover keyboard and CDP insertion, cancellation, deletion, and textarea
line breaks with 57 regression scenarios.
2026-09-23 23:06:17 +08:00
ldm0 4d10ff1916 fix(input): preserve Enter cancellation and multi-character text
Dispatch a cancelable insertLineBreak beforeinput before implicit form
submission, including default submit button activation. Require a standalone
CR when inferring Enter from character text.

Cover combined keydown, standalone char, and embedded-CR input so text is
preserved without accidental submission.

Temporarily ignore the two Chromium-verified iframe overlay click tests
pending separate implementation fixes.
2026-09-23 23:06:17 +08:00
lanyue-llk 7bf36c9823 fix(input): preserve activation and navigation boundaries 2026-09-23 23:06:17 +08:00
ldm0 36ae738e6f fix(parser): preserve stylesheet pauses across encoding notices 2026-09-23 22:34:09 +08:00
ldm0 261b4f3052 test: fix macOS workspace test failures 2026-09-23 22:24:26 +08:00
ldm0 8c2956908b refactor(fetch): preserve typed request preparation errors 2026-09-23 20:51:08 +08:00
ldm0 eb3e9b772b refactor(fetch): preserve typed argument conversion errors
Carry WebIdlError and structured fetch validation errors through Window and
Worker argument conversion, formatting them only at the rejection boundary.
Propagate Proxy.has exceptions before further conversion or body consumption,
and cover exception identity, validation messages, realms, and side effects.

Fix existing XHR response-document header type mismatches in the parser and
its regression fixture so the workspace builds with byte-valued headers.

Validation:
- cargo fmt --all
- cargo clippy --workspace --all-targets --all-features -- -D warnings
- cargo nextest run --no-fail-fast (18490 passed, 14 skipped)
2026-09-23 20:51:08 +08:00
ldm0 ebc016ace3 fix(wpt): serve the common HTML echo fixture
Serve common/echo.py as HTML with byte-preserving first query values, all-method handling, and ordered response pipes. Recognize exact relative and absolute references during case discovery.

Validation: 582 Python tests passed with 32 workers; 144 HTTP responses matched official wptserve for status, body, and 15 response fields. New regression tests fail on the unmodified main baseline.

Source-commit: 4042e1a11a
2026-09-23 20:42:52 +08:00
ldm0 1418e3aa35 refactor(history): centralize joint session history state
Per-Window length counters cannot shrink after traversal and branching, and
leave retained sibling History objects stale. Give each traversable one
ordered history and cursor with stable step, browsing context, and Document
identities. All History getters read that state; Navigation entries remain
Document views.

Route push, replace, traversal, and pruning through the shared model. Carry
browser positions or renderer snapshots into new Documents and publish
committed mutations through the Page owner-action FIFO. Remove cached length
adjustments and DOM-order traversal guesses. Preserve srcdoc identity when
only its parent's URL changes.

Keep reset callback pushes in both renderer and browser history, and prune
discarded sibling Navigation entries when forward steps are removed.

Validation: cargo fmt --all; workspace all-targets/all-features Clippy with
warnings denied; cargo nextest run --no-fail-fast (18,501 passed, 14 skipped);
12 targeted Chromium/Moli state and length comparisons; frontend differential
1,020/1,020 matches, all 5,259 observed frames matching, with zero retries.
2026-09-23 20:39:06 +08:00
ldm0 f013d6db75 fix(history): preserve browser session length across child pushes
Seed newly committed renderer documents with the browser-owned session-history
length before author scripts run. Keep navigation, reload, and traversal from
losing prior entries that the Navigation API does not expose.

Grow joint history by newly appended entries, preserving existing parent steps
when a child pushes history and avoiding an extra step when replacing forward
history after back. Add protocol and renderer regression coverage.
2026-09-23 20:39:06 +08:00
ldm0 7540d64247 fix: restore XHR build and gate websocket test helper 2026-09-23 19:10:46 +08:00