Commit Graph
14 Commits
Author SHA1 Message Date
ldm0 d124fbf6ee fix(scripts): enforce client-origin CORS before script execution
Bind script loads and cache entries to the document client origin, authorize redirects before following them, and preserve redirect origin taint across Window and Worker Fetch/XHR validation and response filtering.

Check dynamic script CSP before transport, cover real HTTP and lifecycle regressions, and refresh the one newly passing WPT case after fixed-binary CLI/CDP comparisons.
2026-11-22 02:01:48 +08:00
ldm0 3536fc8f6a refactor(webapi): share IndexedDB argument conversion 2026-11-20 02:31:09 +08:00
ldm0 359c32095a refactor(network): separate request updates from transport observations 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 fcdec1dba7 refactor(webapi): share renderer-independent bindings and conversions
Move event initialization, WebAssembly bindings, Fetch values, interface constants and WebIDL conversions into moli-webapi. Reuse existing native owners for dispatch, resources and realm installation.
2026-11-20 00:11:14 +08:00
ldm0 14274ee14a build: update Rust toolchain to 1.100.0
Use matching Bookworm images for CI and release builds. Address the compiler deprecations and Clippy diagnostics introduced by Rust 1.100.0.
2026-11-19 05:56:01 +08:00
ldm0 3ce8ad6cd8 feat(devtools): make external renderer automation optional 2026-11-18 19:09:35 +08:00
ldm0 2e32db6721 refactor(webapi): share base events and WebSocket value constructors 2026-11-17 17:14:28 +08:00
ldm0 4d37efa579 refactor(webapi): extract IndexedDB values and shared key models 2026-11-17 14:59:13 +08:00
ldm0 47400960dd refactor(webapi): extract Headers and transport-independent header policy 2026-11-17 14:59:13 +08:00
ldm0 064c589b54 refactor(types): extract renderer Inspector commands and native replies 2026-11-16 17:45:39 +08:00
ldm0 ed9ad079c2 refactor(worker): own fetch and XHR loading natively
Give each load a stable native network handle and single-use interception ports. Keep Worker Promise settlement separate from network completion, route observations to Worker targets, and remove the parent request table and continuation messages.

Cover cancellation, streaming, request overrides, authentication, CSP and Service Worker responses. Keep the bucket-deletion test transaction active until retirement instead of racing its normal auto-commit.
2026-11-16 15:23:35 +08:00
ldm0 638ca7f686 refactor(parser): use shared fetch priority types 2026-11-15 14:41:50 +08:00
ldm0 7ca5ce7d4b refactor(types): group fetch and page types under moli-types 2026-11-15 14:41:50 +08:00