参考所有分组:锁定 OPFS 目录和参数浏览器守卫,测试通过

This commit is contained in:
cnc
2026-06-03 16:03:04 +08:00
parent 1ef3f2c7df
commit ddc20eeb98

View File

@@ -805,10 +805,23 @@ grep -F 'OPFS copyFile did not create the backup file' web/test-browser-wasm-smo
grep -F 'OPFS copyFile did not update the WASM mirror destination' web/test-browser-wasm-smoke-opfs-mirror-sections.js >/dev/null
grep -F 'OPFS moveFile did not replace the destination file' web/test-browser-wasm-smoke-opfs-mirror-sections.js >/dev/null
grep -F 'OPFS moveFile left the WASM mirror source behind' web/test-browser-wasm-smoke-opfs-mirror-sections.js >/dev/null
grep -F 'unexpected OPFS directory persist file list' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'stale OPFS directory file remained after directory persist' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'removed WASM directory file remained in OPFS after directory persist' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS directory was not restored into a new WASM filesystem instance' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS metadata queries polluted the WASM filesystem mirror' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS persistDirectory did not preserve an empty directory' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS readDirectory did not mirror an empty directory into WASM FS' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS readFile did not replace the WASM mirror directory with a file' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'cleared OPFS workspace still exposed a persisted directory' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'OPFS removeFile removed a directory instead of preserving file-only semantics' web/test-browser-wasm-smoke-opfs-directory-sections.js >/dev/null
grep -F 'LinuxCNC parameter file was not persisted into OPFS' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC OPFS parameter file was not restored across WASM simulator instances' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC default OPFS parameter backup did not preserve the previous file' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC parameter backup file was not bridged into OPFS' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC existing OPFS parameter backup did not replace the stale backup with the previous file' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC missing parameter file was not created through OPFS' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC-created missing OPFS parameter file was not restored on the next parse' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'stale LinuxCNC missing-parameter temporary file remained in OPFS' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'stale LinuxCNC missing-parameter temporary file remained in WASM FS' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null
grep -F 'LinuxCNC out-of-order parameter file remained in WASM FS after restore failure' web/test-browser-wasm-smoke-opfs-parameter-sections.js >/dev/null