3862 Commits
Author SHA1 Message Date
ldm0 0abfa1b92d fix(indexeddb): validate schema key paths and exception ordering
Extracted from wpt-misc-fix commit ed78778f5d.
2026-11-20 19:15:13 +08:00
ldm0 f3e09c4dc7 test(webdriver): keep dialogs open in Selenium smoke 2026-11-20 17:52:32 +08:00
ldm0 af29483c2b test(webdriver): match preload messages by context 2026-11-20 16:55:05 +08:00
ldm0 bb1ae62f43 perf(style): read current styles directly from canonical storage
Validate the retained generation before entering style resolution. Clone clean styles from the document bucket and reuse the cached Arc for lazy pseudo snapshots.
v1.1.27
2026-11-20 16:46:51 +08:00
ldm0 0553725777 fix(devtools,layout): share marker generation rules 2026-11-20 13:54:19 +08:00
ldm0 7cbec9f174 perf(devtools): batch marker styles for DOM snapshots 2026-11-20 13:54:19 +08:00
ldm0 f0e22073af fix(canvas): round-trip non-finite HSL and HWB colors
Use Stylo's CSS dimension serializer for infinite and NaN components. Keep the computed percentages when the getter's value is assigned back.
2026-11-20 13:15:15 +08:00
ldm0 c4465be52f fix(cdp): preserve buffered Audits issues during replay 2026-11-20 12:40:22 +08:00
ldm0 df885c8d6a fix(canvas): store typed fill and stroke colors
Sync main and use a single Stylo color value for Canvas style serialization and drawing.
2026-11-20 12:36:44 +08:00
user.email 7aafb58a8d fix(canvas): parse absolute CSS colors in 2D style setters 2026-11-20 12:36:44 +08:00
ldm0 996073b97e fix(images): include src in density candidate selection
Extracted from wpt-misc-fix commit 305c4c17c3dda7f47e4faa3656308d5fc4a83c13.
2026-11-20 12:34:44 +08:00
ldm0 8b0208ee8c fix(css): retain AAT font technology support 2026-11-20 12:33:31 +08:00
ldm0 2525e9ac6a fix(css): unify font support queries 2026-11-20 12:33:31 +08:00
ldm0 7f1defc040 fix(canvas): snapshot drawing paths and enclose raster bounds 2026-11-20 12:01:49 +08:00
ldm0 06692c6549 fix(canvas): support Path2D rendering and WebGL bindings 2026-11-20 12:01:49 +08:00
ldm0 cbaf7dc3a4 test: consolidate browser API regression fixtures
Combine the fixture changes from #3271, #3272, #3274, #3275, #3276, #3277.
2026-11-20 11:33:20 +08:00
lanyue-llk d5e1ced4be fix(accessibility): omit focused on unfocused frame roots 2026-11-20 04:41:49 +08:00
lanyue-llk 5f0b143c37 fix(accessibility): give each frame root its own title, url and focus 2026-11-20 04:41:49 +08:00
ldm0 81838232a9 test(workers): propagate errors after truthy onerror returns
Extracted from wpt-misc-fix commit ef56ba6ac3.
2026-11-20 04:27:25 +08:00
ldm0 e923162e93 fix: avoid unused UI event import without DevTools 2026-11-20 04:26:57 +08:00
ldm0 9fd58e5cb8 perf(layout): reuse a document style resolution pass 2026-11-20 04:20:46 +08:00
ldm0 e3871fb599 chore(release): update version to 1.1.27 2026-11-20 03:19:24 +08:00
ldm0 72f764e9ce revert: remove runtime changes from #3265
Restore the Canvas2D and native event dispatch code before dfa4aa3fd0.
Keep the consolidated fixtures and limit Canvas IDL and click checks
to behavior covered by the restored runtime.
2026-11-20 03:14:38 +08:00
ldm0 dfa4aa3fd0 fix: align Canvas2D arity and node event dispatch
Expose the one-argument createImageData overload in the method length.
Invoke registered node handlers in the non-capture listener snapshot,
preserving the slot when a handler is replaced during dispatch.
2026-11-20 02:50:53 +08:00
ldm0 c80d14e45c test: consolidate web platform regression coverage
Consolidates #3242, #3243, #3244, #3245, #3247, #3248, #3249, #3250, #3251, #3252, #3253, #3254, #3255, #3256, #3258.
2026-11-20 02:50:53 +08:00
ldm0 43af9e02c4 refactor(webapi): share native events and WebIDL options 2026-11-20 02:31:09 +08:00
ldm0 4544fc3942 refactor(webapi): initialize Response factories natively 2026-11-20 02:31:09 +08:00
ldm0 710f6194b6 refactor(webapi): share PushSubscription and service worker options 2026-11-20 02:31:09 +08:00
ldm0 3536fc8f6a refactor(webapi): share IndexedDB argument conversion 2026-11-20 02:31:09 +08:00
ldm0 a1847fce17 refactor(webapi): share SVGMatrix bindings 2026-11-20 02:31:09 +08:00
ldm0 1a4eeee66e fix(network): preserve worker redirect transport observations
Retain each manually followed HTTP hop's request/response ExtraInfo and
derive redirect availability from observed exchanges instead of a fixed flag.
Keep wire ExtraInfo when interception changes the logical response, and
preserve buffered redirect metadata without announcing requests twice.

Cover Worker fetch/XHR through two 302 Set-Cookie hops, including synthetic
first-hop redirects that must not produce transport ExtraInfo.
2026-11-20 02:23:32 +08:00
ldm0 931d2be805 refactor(iframe): isolate child script network admission 2026-11-20 02:23:32 +08:00
ldm0 359c32095a refactor(network): separate request updates from transport observations 2026-11-20 02:23:32 +08:00
ldm0 e72fc83531 refactor(network): pair shared script loads with consumer subscriptions 2026-11-20 02:23:32 +08:00
ldm0 a5c8897cc8 fix(network): keep prepared cookies out of CDP transport headers
Retain admission cookie metadata in the typed automation event for BiDi, while deferring CDP Cookie headers and ExtraInfo to observed transport data.

Verify a Service Worker supplied iframe script executes without an HTTP script request or invented CDP Cookie header, and keep the prepared metadata available to BiDi.
2026-11-20 02:23:32 +08:00
ldm0 c7569ab28f fix(network): seal cancelled script downloads before cache reuse
Close admission under the load mutex when the last consumer retires, before signalling transport cancellation. Reserve new consumers during cache lookup so callback installation cannot race the last cancellation, and discard late completion from cancelled downloads.

Cover cancellation before transport acknowledgement, late success, reserved consumers and same-turn iframe removal followed by a parent script using the same URL.
2026-11-20 02:23:32 +08:00
ldm0 87c9d92c94 fix(network): retain worker request metadata updates
Keep repeated native request snapshots in the output queue so Fetch overrides refresh captured upload bodies. Mark which snapshots announce a new request and suppress duplicate CDP starts during metadata enrichment.

Check that chained binary, text and empty upload overrides preserve a single requestWillBeSent per request and session.
2026-11-20 02:23:32 +08:00
ldm0 ffd465e6ff fix(network): include child script cookies in BiDi admission
Prepare initial headers and cookie metadata through the child Document's
request client, including credentials and browser site-context policy.
BiDi beforeRequestSent and terminal events retain this request metadata.

Defer CDP ExtraInfo separately so admission cookie metadata does not consume
the single later transport ExtraInfo event. Test HTTP 200, HTTP 404 and
cross-origin anonymous script requests.
2026-11-20 02:23:32 +08:00
ldm0 f007717c47 fix(network): cancel discarded parser scripts before document.open transfer
Finish and cancel announced parser-script consumers before transferring
surviving Window loads into the replacement Document registry. Preserve
the original network request identity and ignore late source callbacks.

Test replacement content and networkIdle while the old response is held.
2026-11-20 02:23:32 +08:00
ldm0 12b587bf33 fix(network): count future waiters in shared script cancellation
Register futures through the same cancellable consumer path as callbacks.
Retiring one iframe can no longer cancel a download still awaited by a
parent script. Dropping the final pending future still cancels transport.

Test mixed callback/future consumers with explicitly polled futures.
2026-11-20 02:23:32 +08:00
ldm0 28213784f0 fix(network): retire announced child scripts with their documents
Use Document resource-load leases and shared cache consumer cancellation
for announced child parser scripts. Finish the original request on
retirement, ignore late callbacks, and publish completion independently
of parser-runner lifetime when navigation is cancelled.

Track request ExtraInfo publication separately from enriched cookie
metadata so HTTP-error responses preserve one Cookie ExtraInfo event.

Cover held-response retirement, cancelled srcdoc, late source callbacks,
and repeated metadata enrichment with regression tests.
2026-11-20 02:23:32 +08:00
ldm0 6256a6fa28 fix(network): announce child parser script requests before completion 2026-11-20 02:23:32 +08:00
ldm0 4edcd179ab refactor(target): remove legacy attachment workflow wrappers
Commit Browser detach and auto-attach disable synchronously, preserving event
ordering while supervising each native retirement independently. Remove the
synthetic completion objects, test-only serial runner, and obsolete recovery.

Batch script removal with SessionPageUpdates and retain the original disposal
identity for completion. Enqueue target-owned Inspector initialization without
claim/reply observers or a cancellable route. Share endpoint selection and
borrow connection keys/bindings separately from navigation restore snapshots.

Clarify session admission names and separate static policy from Page readiness
selection while retaining the admission token through synchronous redispatch.
Exercise the production Browser commit and supervisor paths in disposal tests.
2026-11-20 02:10:47 +08:00
ldm0 1a2d1015b4 fix(target): isolate native cleanup and Page subscription admission
Supervise each retired session independently so a busy Renderer cannot delay
another target's detach finalizer and successor connection. Preserve Browser
cascade publication and each session's cleanup-before-retirement ordering.

Apply Page subscriptions at command admission and defer only their initial
Document work. Resume without replaying an obsolete enable or chooser setting.
Remove the redundant cleanup owner and unreachable connection replacement.

Cover Primary lane reuse across auto-attach with a held peer, and Page
subscription changes while the initial installer remains pending.
2026-11-20 02:10:47 +08:00
ldm0 3cfec23af6 refactor(target): decouple Browser sessions from Renderer readiness
Commit Browser attachment and withdrawal independently of native Page and
Inspector initialization. Keep shared initial builds on the target and bind
queued Main/IO work to its admitted session connection and native agent.

Separate minimum Inspector connect from ordered binding replay, and publish
unobserved initialization facts without snapshots or completion fences.
Retire Browser contributions immediately and supervise cleanup using the
original native authority, including failed or replaced connections.
2026-11-20 02:10:47 +08:00
ldm0 1a08aa3454 fix(target): supervise deferred Inspector initialization 2026-11-20 02:10:47 +08:00
coolswood 5fe7478591 test(target): make the deferred attachment binding apply fixture test match fixture reality
The fixture renderer is not modal-blocked (the pushed dialog only
publishes connection-level state), so the deferred apply settles as
soon as its dispatch runs instead of staying parked behind a live
modal: the completion arrives as success and finishes cleanly. Assert
that, and cover the scheduler warn-path contract by injecting a
failure directly into the completion. Renderer death while the apply
is parked behind a production modal stays covered by the websocket
integration test.
2026-11-20 02:10:47 +08:00
coolswood ef4cc019b2 fix(scheduler): keep a closed deferred-attachment channel from preempting background inputs
The deferred attachment binding completion channel is owned by the
connection, so it closes as soon as the connection goes away (and in
tests, as soon as a hand-built receivers struct drops the sender). The
new receive arms sat ahead of the background-event and
renderer-publication arms in the biased select order without a
closed-channel guard, so a closed channel returned None immediately and
starved every input behind it.

Guard the arms with the same is_closed() check the protocol-work
completion arm already uses: a closed deferred channel cannot produce
further completions, so skipping it loses nothing.
2026-11-20 02:10:47 +08:00
coolswood f3504965ab fix(target): complete Target.attachToTarget while a JavaScript dialog is open
Chromium resolves Target.attachToTarget in ~0 ms even when the target
shows a modal alert/confirm/prompt; moli parked the attach response
behind the renderer's modal wait because the attachment binding apply
was awaited before the commit.

Defer the binding apply instead: a dialog that is already published for
the target (or one that opens while the apply waits) hands the
still-queued dispatch to a supervised background wait, and the attach
commits immediately. The apply settles once the renderer frees up and
its completion is consumed by the scheduler with the same failure
tolerance as the synchronous path, minus the response predecessor
fence that no longer orders anything after publication. Renderer FIFO
still keeps the new session's first command behind the bindings.

createTarget/setAutoAttach share the broader dispatch path and remain
follow-up work.
2026-11-20 02:10:47 +08:00
ldm0 7c7c130d19 refactor(diagnostics): publish only completed error reports 2026-11-20 01:52:30 +08:00