// fixtures/font-system-session.mjs — font-session.mjs's other half: the // session for a page whose web faces are not on. Kept apart so that // file stays the rule itself; font-session.mjs re-exports it. /** * The session for a page whose web faces are not on (no hold, or the * hold's fail-safe showed the page first): every slide is in its system * faces for the visit, so there is nothing to load and nothing to wait * for. */ export function createSystemSession () { return { web: false, manifest: null, ready: () => true, loaded: () => false, committed: () => false, failed: () => false, state: () => 'system', inUse: [], fallback: [], use () {}, keys: [], uploaded: {}, learn () {}, learnUploaded () {}, load: async () => false, markShown () {}, shown: true, gate: async () => [], waitFor: async () => true, prepare: async () => {}, commitFallback () {}, prefetch: async () => {} } }