Tizen does not have offline caching — correct the baseline

The platform audit caught my own contract lying. I gave the Tizen baseline
offline.cache; Tizen caches only the playlist JSON (st_payload_cache, in
localStorage) and has no service worker and no media cache, so the bytes still
come from the network and an outage leaves a panel holding a playlist it cannot
play.

That is exactly the claim this model exists to prevent, made by the model itself,
and it would have applied to every legacy Tizen panel — the ones that declare
nothing and depend entirely on the baseline being honest.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uaeo9MvzKoyXuN6ZsbhtkL
This commit is contained in:
ScreenTinker 2026-08-05 14:15:34 -05:00
parent 6bc709d2f7
commit a08e6c3e06
2 changed files with 13 additions and 1 deletions

View file

@ -72,7 +72,11 @@ const BASELINE = {
'display.rotation', 'display.rotation',
'remote.input', 'remote.input',
'system.restart_player', 'system.restart_player',
'sync.clock', 'offline.cache', 'sync.clock',
// NOT offline.cache: Tizen caches only the playlist JSON (st_payload_cache in localStorage).
// There is no service worker and no media cache, so the bytes still come from the network and
// content does NOT survive an outage. My first baseline claimed it — caught by the platform
// audit, and exactly the kind of optimistic claim this model exists to stop.
], ],
brightsign: [ brightsign: [
'playback.video', 'playback.image', 'playback.widget', 'playback.youtube', 'playback.video', 'playback.image', 'playback.widget', 'playback.youtube',

View file

@ -89,3 +89,11 @@ test('BrightSign claims display power and reboot; Tizen claims neither', () => {
assert.equal(caps.supports(tizen, 'display.power'), false); assert.equal(caps.supports(tizen, 'display.power'), false);
assert.equal(caps.supports(tizen, 'system.reboot'), false); assert.equal(caps.supports(tizen, 'system.reboot'), false);
}); });
test('Tizen does NOT claim offline caching — it caches the playlist, not the media', () => {
// st_payload_cache holds the playlist JSON in localStorage; there is no service worker and no
// media cache, so an outage leaves the panel with a playlist it cannot play. The first version
// of this baseline claimed offline.cache, which is precisely the lie the model exists to stop.
assert.equal(caps.supports({ platform: 'Tizen 6.5' }, 'offline.cache'), false);
assert.ok(caps.supports({ client_type: 'apk' }, 'offline.cache'), 'Android really does cache media');
});