Guard browser OPFS session wasm map helper
This commit is contained in:
@@ -4549,6 +4549,10 @@
|
||||
return `/work/${filename}`;
|
||||
}
|
||||
|
||||
function opfsSessionWasmPaths(ini, parameters, toolTable) {
|
||||
return { ini, parameters, toolTable };
|
||||
}
|
||||
|
||||
function opfsCustomSessionPaths(machineId, parameterFilename, toolTableFilename, iniWasmPath) {
|
||||
return {
|
||||
opfs: {
|
||||
@@ -9169,11 +9173,11 @@
|
||||
loadedSession,
|
||||
browserInterpMachineId,
|
||||
{
|
||||
wasm: {
|
||||
ini: browserInterpIniWasmPath,
|
||||
parameters: browserInterpParameterWasmPath,
|
||||
toolTable: browserInterpToolTableWasmPath,
|
||||
},
|
||||
wasm: opfsSessionWasmPaths(
|
||||
browserInterpIniWasmPath,
|
||||
browserInterpParameterWasmPath,
|
||||
browserInterpToolTableWasmPath,
|
||||
),
|
||||
},
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
@@ -9340,11 +9344,11 @@
|
||||
loadedRandomSession,
|
||||
browserRandomMachineId,
|
||||
{
|
||||
wasm: {
|
||||
ini: browserRandomIniWasmPath,
|
||||
parameters: browserRandomParameterWasmPath,
|
||||
toolTable: browserRandomToolTableWasmPath,
|
||||
},
|
||||
wasm: opfsSessionWasmPaths(
|
||||
browserRandomIniWasmPath,
|
||||
browserRandomParameterWasmPath,
|
||||
browserRandomToolTableWasmPath,
|
||||
),
|
||||
},
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
|
||||
Reference in New Issue
Block a user