Commit Graph
1 Commits
Author SHA1 Message Date
ldm0 5ce8b8fd87 fix(webidl): enforce native Uint8Array buffer policies
Keep Uint8Array identity while validating the native buffer: reject author proxies and resizable/growable storage, distinguish detached fixed buffers from detached resizable buffers, and reject shared storage unless the declaration explicitly permits it. Add derive-level allow_shared support and mark TextEncoder.encodeInto’s destination according to Encoding IDL. Depends on the shared native buffer introspection foundation; conversion tests cover direct locals, optional/sequence fields, shared policy and getter exceptions.
2026-10-30 04:14:12 +08:00