Guard browser OPFS tool-table seed text

This commit is contained in:
2026-06-14 08:26:39 +08:00
parent 912394d65a
commit 30646b08c4
2 changed files with 58 additions and 1 deletions

View File

@@ -9479,9 +9479,10 @@
const browserInterpMachineId = "browser-interp";
const browserInterpWasmPaths = opfsBrowserSessionWasmPaths("browser");
const browserInterpInitialParameterValues = opfsParameterValueSet("10.5", "20.25", "2.25", "44");
const browserInterpToolTableInputText = "T2 P7 Z3.125 D1.5 I12 J34 Q4 ;browser finish tool\n";
const browserInterpTextPaths = await saveMachineTextFiles(browserInterpMachineId, {
ini: `[EMC]\nMACHINE = ${browserInterpMachineId}\n`,
toolTable: "T2 P7 Z3.125 D1.5 I12 J34 Q4 ;browser finish tool\n",
toolTable: browserInterpToolTableInputText,
parameters: browserDirectParameterSeedLines(true).join("\n"),
});
assertMachineTextStorePaths(