Guard browser OPFS invalid INI path helper
This commit is contained in:
@@ -4626,13 +4626,14 @@
|
||||
iniSdk,
|
||||
iniWasmPath: `/work/${machineId}.ini`,
|
||||
};
|
||||
const expectedIniOpfsPath = opfsMachineFilePath(machineId, "machine.ini");
|
||||
assertOpfsIniStaging(
|
||||
`${label}_ini_staging`,
|
||||
{
|
||||
opfsPath: `linuxcnc/machines/${machineId}/machine.ini`,
|
||||
opfsPath: expectedIniOpfsPath,
|
||||
wasmPath: sessionOptions.iniWasmPath,
|
||||
},
|
||||
`linuxcnc/machines/${machineId}/machine.ini`,
|
||||
expectedIniOpfsPath,
|
||||
`/work/${machineId}.ini`,
|
||||
);
|
||||
await verifyRejects(
|
||||
|
||||
Reference in New Issue
Block a user