~bigbes/sr-ht-ecore: 9377c43a

chrome: carry the service's extra hashed assets

bench and cover each grew a pair of UplotCSSHref/UplotJSHref fields beside
the embedded Page, compare a BundleHref, and all three wrote the same
justification next to it: the hash in the name is a property of the binary
rather than of a page, so a page handed its own asset URLs is one that can be
written without them and silently render nothing where the chart was. That
argument is about the chrome, so the slot belongs to the chrome.

A map rather than named fields because ecore has no business knowing that
this instance vendors uPlot; the service names its own artefacts and its
layout reads them back with index, guarded on emptiness the way StyleHref is.

Eugene Blikh <bigbes@gmail.com> — 2026-08-08 19:22:41 UTC

Commit 9377c43a02cacb37c998bfbe2599c7afeb746692view raw patch

Parent(s): 6a2cf04c

3 changed file(s)

FileStatus+
README.md M +1
chrome/chrome.go M +18
chrome/chrome_test.go M +16