补充浏览器 OPFS 默认路径覆盖

结论:浏览器解释器 smoke 现在验证真实 INI WASM 会话在缺失参数文件和刀具表文件名时回落到默认 OPFS 路径。
This commit is contained in:
2026-06-08 09:33:07 +08:00
parent 4de2c84a62
commit e141b4fc69
2 changed files with 16 additions and 2 deletions

View File

@@ -135,7 +135,8 @@ to reject invalid INI-derived parameter/tool-table file names through the OPFS
path model after the names are parsed by the LinuxCNC-backed INI WASM SDK. It
also verifies that explicit session parameter/tool-table file-name options
override INI-derived names before OPFS text is copied into the LinuxCNC-backed
WASM filesystem.
WASM filesystem, and that absent INI file-name values use the default OPFS
parameter/tool-table paths in a real browser session.
The aggregate host smoke script builds the INI and interpreter-core WASM
artifacts once, then runs the Node WASM smokes, the Node OPFS mock smoke, and
@@ -279,7 +280,8 @@ session snapshot custom filename handling plus envelope/path rejection
for unsupported format/version, wrong session id, and invalid snapshot
filenames, and a browser interpreter smoke that uses the same session bridge
with real LinuxCNC INI WASM parsing before saving OPFS-backed parameter and
tool-table text through vendored LinuxCNC file APIs.
tool-table text through vendored LinuxCNC file APIs, including default OPFS
path fallback when INI file-name values are absent.
Full browser coverage, full SDK coverage, and richer machine-state validation
remain future work.