Commit Graph
7 Commits
Author SHA1 Message Date
ldm0 08983c68af feat(file-api): snapshot blob URL objects with creator access keys 2026-10-07 23:41:12 +08:00
ldm0 67a04fc1cc refactor(file-api): share owner object URL removal 2026-10-07 14:05:49 +08:00
ldm0 9fd3e07f47 fix(renderer): retain detached document state until realm collection
Retain native DOM, Blob, AbortSignal and intrinsic interface backing while
JavaScript still holds a retired realm. Retire active execution resources and
trace wrapper and traversal-filter ownership through V8 so the last reference
releases the native host without Rust-to-V8 root cycles.

Cover retained native values, realm finalizers and traversal callback lifetimes.

Validation: cargo fmt --all; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo nextest run --no-fail-fast.
2026-10-06 01:01:03 +08:00
ldm0 fcdabf7385 fix(blob): generate UUIDs for object URL identifiers
Use collision-checked random UUIDs for object URL identifiers instead of a process-local counter. Reuse the existing UUID generation for Blob identity and cover URL format plus independent lifetime for multiple URLs referencing one Blob.
2026-09-18 04:45:50 +08:00
ldm0 b47fab8bcd fix(file-api): authorize blob URL revocation by storage key
Store the URL creator’s browser partition and storage key separately from its backing Blob, and check authorization atomically with URL removal. Use the Worker environment storage key and a shared opaque-origin nonce allocator for Windows and Workers.

Source: e090f2b070
2026-09-16 16:32:31 +08:00
ldm0 3830abc0ac fix(blob): ignore URL fragments during resource lookup 2026-09-14 05:56:17 +08:00
ldm0 27b5135cb6 Public preview 2026-08-11 00:10:12 +08:00