Refractoring Stage 6.15 Scoped the core app.js implementation locally; other renderer scripts continue to access it through window.epMailShell. Bumped the version to 0.4.27 (Android version code 427) and updated REFACTOR_PLAN.md.

This commit is contained in:
2026-10-16 22:32:57 +03:00
parent 9759c3579a
commit 0f2014213e
6 changed files with 12 additions and 4 deletions
+2
View File
@@ -24,6 +24,8 @@ test('renderer bootstrap loads shared state and mail security before the applica
test('core app shell uses the namespaced renderer state', () => {
const app = read('app.js');
assert.match(app, /^\(\(\) => \{/);
assert.match(app, /window\.epMailShell = Object\.freeze/);
assert.match(app, /const state = window\.epMailState/);
assert.doesNotMatch(app, /^\s*(?:const|let|var)\s+(?:messages|contacts|activeMessage|activeFolder|activeView|query|toastTimer|selectedIds)\b/m);
});