Guard browser OPFS custom session INI wasm paths
This commit is contained in:
@@ -9398,6 +9398,7 @@
|
||||
const iniFileMachineId = "browser-ini-file-session";
|
||||
const iniFileParameterFilename = "browser-custom.var";
|
||||
const iniFileToolTableFilename = "browser-custom-tool.tbl";
|
||||
const iniFileIniWasmPath = "/work/browser-ini-file-session.ini";
|
||||
const browserIniFileTextPaths = await saveMachineTextFiles(iniFileMachineId, {
|
||||
ini: [
|
||||
"[EMC]",
|
||||
@@ -9438,7 +9439,7 @@
|
||||
iniFileMachineId,
|
||||
{
|
||||
iniSdk: ini,
|
||||
iniWasmPath: "/work/browser-ini-file-session.ini",
|
||||
iniWasmPath: iniFileIniWasmPath,
|
||||
parameterWasmPath: opfsCustomSessionWasmPath(iniFileParameterFilename),
|
||||
toolTableWasmPath: opfsCustomSessionWasmPath(iniFileToolTableFilename),
|
||||
},
|
||||
@@ -9451,7 +9452,7 @@
|
||||
iniFileMachineId,
|
||||
iniFileParameterFilename,
|
||||
iniFileToolTableFilename,
|
||||
"/work/browser-ini-file-session.ini",
|
||||
iniFileIniWasmPath,
|
||||
),
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
@@ -9569,6 +9570,7 @@
|
||||
const iniOverrideMachineId = "browser-ini-override-session";
|
||||
const explicitParameterFilename = "browser-explicit.var";
|
||||
const explicitToolTableFilename = "browser-explicit-tool.tbl";
|
||||
const iniOverrideIniWasmPath = "/work/browser-ini-override-session.ini";
|
||||
const browserIniOverrideTextPaths = await saveMachineTextFiles(iniOverrideMachineId, {
|
||||
ini: [
|
||||
"[EMC]",
|
||||
@@ -9609,7 +9611,7 @@
|
||||
iniOverrideMachineId,
|
||||
{
|
||||
iniSdk: ini,
|
||||
iniWasmPath: "/work/browser-ini-override-session.ini",
|
||||
iniWasmPath: iniOverrideIniWasmPath,
|
||||
parameterFilename: explicitParameterFilename,
|
||||
parameterWasmPath: opfsCustomSessionWasmPath(explicitParameterFilename),
|
||||
toolTableFilename: explicitToolTableFilename,
|
||||
@@ -9624,7 +9626,7 @@
|
||||
iniOverrideMachineId,
|
||||
explicitParameterFilename,
|
||||
explicitToolTableFilename,
|
||||
"/work/browser-ini-override-session.ini",
|
||||
iniOverrideIniWasmPath,
|
||||
),
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
|
||||
Reference in New Issue
Block a user