Commit Graph
11 Commits
Author SHA1 Message Date
ldm0 0a87c564fc fix(webidl): validate observer Element arguments with native brands
Use native Web API identity for ResizeObserver and IntersectionObserver targets and roots, accepting genuine cross-realm objects and registered native proxies while rejecting forged, inherited and author-Proxy values. Validate root membership during dictionary conversion, before later getters, and resolve native targets without reading public nodeType properties.

A 204-case regression matrix covers both observer interfaces and realms, native proxy acceptance, invalid targets, poisoned properties, option conversion order and original exception identity.

Expose the backing-object lookup from the existing native brand layer rather than unwrapping author Proxies in DOM callbacks. Extend its existing identity tests for cross-realm objects, forged objects, registered native Proxies, outer author Proxies and revocation.
2026-10-02 01:10:35 +08:00
ldm0 a7160b75ac refactor(webapi): rename record role to plain 2026-09-12 01:38:23 +08:00
ldm0 961eac7f7c refactor(webapi): share accessor preparation and validation 2026-09-12 01:38:23 +08:00
ldm0 2e6167f127 refactor(webapi): make object roles and receiver identity explicit 2026-09-12 01:38:23 +08:00
ldm0 c1679b1b25 refactor(webapi): share generated interface descriptors 2026-09-12 01:38:23 +08:00
ldm0 c35acc033d refactor(webapi): retire unused interface object derive 2026-09-12 01:38:23 +08:00
ldm0 967a0d03d8 refactor(webapi): replace legacy brands with generated receiver checks 2026-09-11 18:32:44 +08:00
ldm0 9f2e9632ac refactor(webapi): migrate native construction paths to shared identity 2026-09-11 18:32:44 +08:00
ldm0 25d7b63e06 feat(webapi): generate private platform object identity 2026-09-11 18:32:44 +08:00
ldm0 91a0c5b970 fix(webidl): generate native receiver checks in declarative bindings 2026-09-09 00:22:07 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00