feat: Windows RAM profiles

This commit is contained in:
zhom committed 2026-10-19 05:38:20 +04:00
1 parent f493c9ef7c
commit 58b0febe42
29 files changed
+3087 -109

No files matched your search

+11
View File
@@ -1522,6 +1522,17 @@ test("a storage state file moves cookies and Local Storage into a closed profile
}),
/LOCAL_STORAGE_EPHEMERAL/,
);
const storage = await app.invoke("get_ephemeral_storage_status");
assert.deepEqual(Object.keys(storage).sort(), ["in_memory", "reason"]);
if (process.platform === "win32") {
assert.equal(storage.in_memory, storage.reason === null);
if (storage.reason !== null) {
assert.match(storage.reason, /^winfsp_(missing|error)$/);
}
} else {
assert.deepEqual(storage, { in_memory: true, reason: null });
}
});
});