openvibers/openvibe.host Commits

browser-check: wait for Chrome to exit and its profile to be removed before the report is written (browser-harness close() now resolves once the profile is gone)

OP OpenVibers committed 26 Sept 2026 · 3165a9096b · 1 file, +1 −1


Changes

ddiff --git a/scripts/browser-check.js b/scripts/browser-check.js
iindex f994f6e..84ffc8a 100644
---- a/scripts/browser-check.js
++++ b/scripts/browser-check.js
@@@ -255,7 +255,7 @@ function runRemote(host, harnessFile) {
rep.id = site.id;
reports.push(rep);
}
-- } finally { if (browser) browser.close(); }
++ } finally { if (browser) await browser.close(); }
code = reports.every((r) => r.ok) ? 0 : 1;
}
meta.chrome = (reports.find((r) => r.chrome) || {}).chrome;