尽快推进:收紧OPFS smoke边界

This commit is contained in:
cnc
2026-06-05 08:20:31 +08:00
parent c1a130f5fb
commit c71d2964ee
2 changed files with 12 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ persistence. It is a policy and bridge map only; it must not add independent fil
- Browser app and wasm bridge code must not use Local Storage, IndexedDB,
File Picker, Directory Picker, WebKit filesystem, or FileReader persistence
paths for CNC programs, LinuxCNC parameter files, or mirrored workspace files.
- Browser OPFS smoke harness files must also stay free of Local Storage,
IndexedDB, File Picker, Directory Picker, WebKit filesystem, and FileReader
persistence paths; they may only verify OPFS-backed browser persistence.
- `web/src/app.js` must parse browser programs through
`parseFileWithParameterFile()` so the program file and LinuxCNC parameter
state both live under OPFS.