Commit Graph
54 Commits
Author SHA1 Message Date
ldm0 10dfe297e1 fix(canvas): settle ImageBitmap promises through bitmap tasks
Reject Web IDL conversion errors through the returned Promise and decode
raster Blobs from their bytes on the blocking pool. Deliver results through
a dedicated bitmap task source bound to the exact Page and Window realm.

Retain canvas, ImageData and ImageBitmap pixel snapshots for crop, resize,
flip and alpha processing. Clear pixels on close and reject closed sources
in drawImage. Read HTML canvas dimensions from native attributes.

Cover Promise timing, pixels, intrinsic prototypes, child realm retirement,
document.open and real navigation identity collisions with Page task tests.
2026-11-22 02:01:49 +08:00
ldm0 4f66df328b fix(trusted-types): align WebIDL interfaces and global accessors 2026-11-22 02:01:49 +08:00
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 6e18582f45 fix(url): align hierarchical and opaque path encoding
Encode carets in hierarchical paths and encode only the final opaque-path space before query or fragment delimiters. Preserve the encoded path across suffix mutations and remove the obsolete parser trimming and V8 query-removal workaround.

Add five shared-parser and three VM regressions covering constructors, setters, URLSearchParams, DOM links, and cross-realm behavior. Synchronize 11 stale vendored WPT expected records with pinned current WPT data; inputs, the WPT driver, and the remaining expected-failure entry are unchanged.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast (17632 passed, 13 skipped). Vendored all-features unit tests, WPT driver, and 67 doctests pass.

On the same 50 URL/Location WPT cases, CLI and CDP both improve from 42 to 48 passing cases and from 7036 to 7085 passing subtests (+49), with no new failures. The two remaining failures are the existing webkitURL alias and srcdoc scrolling cases. Move the verified non-file anchor case to passed.

CDP smoke: 42/43 groups pass. Puppeteer cannot run because node is absent, reproduced with the before binary.

Artifacts: target/wpt-url-encoding-20260908-AP6CI1. WPT revision: db95fafd1fcef8428805e41eb5705d444e8c67ce. Release SHA256: f132f0afe7f49d627ed9b5d397b1d5b71d80432180b08b1d076aa67637efdd65.
2026-11-22 02:01:48 +08:00
ldm0 731634b6d2 fix(events): retarget sources across composed dispatch 2026-11-22 02:01:47 +08:00
ldm0 a90718829e fix(html): align command interface semantics 2026-11-22 02:01:47 +08:00
ldm0 ff99194078 fix(dom): bind DOMParser to its relevant document 2026-11-22 02:01:47 +08:00
ldm0 9f0f54a65e fix(events): implement beforeunload return semantics 2026-11-22 02:01:47 +08:00
ldm0 df1f3d16b2 fix(svg): align matrix factories with DOMMatrix 2026-11-22 02:01:47 +08:00
ldm0 d8974e1735 fix(geometry): expose legacy window aliases 2026-11-22 02:01:47 +08:00
ldm0 a38a3299c9 fix(geometry): propagate NaN through DOMRect bounds 2026-11-22 02:01:47 +08:00
ldm0 c523b115c0 fix(geometry): construct DOMRectReadOnly instances 2026-11-22 02:01:47 +08:00
ldm0 e81c2b2940 refactor(events): share Window event dispatch state 2026-11-21 20:47:16 +08:00
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 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
ldm0 06692c6549 fix(canvas): support Path2D rendering and WebGL bindings 2026-11-20 12:01:49 +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 d1ccee7e06 feat(events): expose the native PageSwapEvent interface
Extracted from wpt-misc-fix commit 012dde71182bd56ac049cfbc759817406f63bdfb.
2026-11-20 01:39:46 +08:00
ldm0 d3c548fe02 refactor(webapi): share native event and response value construction 2026-11-20 00:11:14 +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 e4f3dfb402 refactor(webapi): share SVG and renderer value factories 2026-11-19 21:30:58 +08:00
ldm0 833c6af457 refactor(webapi): share CSSOM and DOM value factories 2026-11-19 21:30:58 +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 6b8baf41e0 refactor(webapi): check declared interface receivers by default 2026-11-18 20:40:51 +08:00
ldm0 bfc5e71355 refactor(webapi): share Blob File and FormData bindings 2026-11-18 20:16:52 +08:00
ldm0 7818b14864 refactor(webapi): move Streams bindings into moli-webapi 2026-11-18 20:16:52 +08:00
ldm0 ecf7800c06 refactor(webapi): share navigation storage and WebSocket values 2026-11-18 20:16:52 +08:00
ldm0 aaf0f0f34b fix(webrtc): expose native sender RTP capabilities
Extracted from ab9bae47ce on wpt-misc-fix.
2026-11-18 14:19:16 +08:00
ldm0 6555a38617 feat(events): implement the native PageRevealEvent constructor
Extract an independent, cohesive change from wpt-misc-fix.

Source-commit: 4ed92703687079f322bfb3b06bac41fa2588e508
2026-11-18 05:26:46 +08:00
ldm0 c9e3c9cf6d refactor(webapi): share pointing keyboard and touch event construction 2026-11-17 20:02:51 +08:00
ldm0 8dacd7680c refactor(webapi): share UI event construction and modifier state 2026-11-17 20:02:51 +08:00
ldm0 e2322b114b refactor(touch): share native TouchEvent construction and conversion
Extract an independent, cohesive change from wpt-misc-fix.

Source-commit: 69e523e6ce
2026-11-17 19:15:20 +08:00
ldm0 eb7cbc095e refactor(webapi): extract constructor values and document host boundaries 2026-11-17 17:14:28 +08:00
ldm0 f7ba5690c2 refactor(webapi): give text codecs independent runtime ownership 2026-11-17 17:14:28 +08:00
ldm0 2e32db6721 refactor(webapi): share base events and WebSocket value constructors 2026-11-17 17:14:28 +08:00
ldm0 7a03d68567 refactor(webapi): extract Highlight, event counts and push values 2026-11-17 14:59:13 +08:00
ldm0 4d37efa579 refactor(webapi): extract IndexedDB values and shared key models 2026-11-17 14:59:13 +08:00
ldm0 b69c282c69 refactor(webapi): extract standalone constructors and navigator values 2026-11-17 14:59:13 +08:00
ldm0 1d82022282 refactor(webapi): extract WebGL and canvas value bindings 2026-11-17 14:59:13 +08:00
ldm0 d3adfaa739 refactor(webapi): extract native collections and observer value bindings 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 5ea8eca75c refactor(webapi): extract URL and standalone platform values 2026-11-17 14:59:13 +08:00
ldm0 a2368fc2bc refactor(webapi): extract message and storage events with native factories 2026-11-17 04:40:15 +08:00
ldm0 1cb6b555f4 refactor(webapi): move RTC signaling bindings and template installation 2026-11-17 04:40:15 +08:00
ldm0 e0a134eab5 refactor(webapi): extract value event constructors and payloads 2026-11-17 04:40:15 +08:00
ldm0 9f08ea7640 refactor(webapi): extract audio, performance and navigator values 2026-11-16 21:44:29 +08:00