参考所有分组,完成尽量多的内容:同步 OPFS 与 smoke 映射

结论:未扩展 smoke 功能行为,仅收紧 OPFS workspace、directory、policy 浏览器烟测和 source-map 守卫。

LinuxCNC 来源依据:src/emc/rs274ngc/rs274ngc_pre.cc 的 restore_parameters/save_parameters/read_text 参数文件与文件读取语义,以及 interp_internal.hh 的 rs274ngc.var/.bak 常量边界。

检查通过:./check-linuxcnc-opfs-source-map.sh;./check-linuxcnc-wasm-smoke-source-map.sh;./check-linuxcnc-workstreams-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
This commit is contained in:
cnc
2026-06-05 06:06:23 +08:00
parent ae7de73a7c
commit 7f45abe93c
5 changed files with 70 additions and 2 deletions

View File

@@ -175,6 +175,13 @@ required_browser_sections = {
'runSection("opfs invalid parameter restore failures"',
'runSection("opfs stale parameter state cleanup"',
),
"web/test-browser-wasm-smoke-opfs-directory-sections.js": (
'runSection("opfs directory persist and load"',
'runSection("opfs metadata queries avoid wasm mirror pollution"',
),
"web/test-browser-wasm-smoke-opfs-policy-sections.js": (
'runSection("browser opfs policy"',
),
"web/test-browser-wasm-smoke-app-sections.js": (
'runSection("browser app opfs save"',
'runSection("browser app opfs restore"',