Both old-webkit reds had been on main for a week with no owner, and
commit after commit cited them as "red on origin/main, filed".
#5919: d374168d0 gave the sidebar foot `.side-foot:has(> .nav-sub)
{ max-height: 80% }`, and Safari before 15.4 can't parse :has(). The
foot is now .with-sub, set by navSubs when Settings' tabs go in and
cleared once the last one has folded away (navSubLeave's gone), so the
foot keeps its height through the fold as before.
#6030: the check that every script is loaded by index.html or on
demand kept a hand list, and headerpresets.js, navpages.js and
pasteread.js were each left out of it. A script some script imports
with import("./x.js") now counts as loaded on demand.
Budget: +103 bytes of app.js (and of the core) for the class. Nothing
small enough to pay for it could move out: modelInfo looked dead in
app.js but the gateway and routing plugins both call it.
Run, on mica at ae94571d7 plus this change:
- old-webkit, sidebar-settings-steady, nav-sub-fold, nav-sub-unroll,
i18n-keys: 86/86;
- go test -run Budget ./internal/gui/: ok; gofmt -l internal/gui: clean;
- the sidebar and nav files (nav-*, side-*, sidebar-*, phone- and
view-no-sideways, side-effort, nav-timeout): their only reds are the
same at a clean ae94571d7: nav-timeout (#5425), phone-no-sideways
(#5869), side-effort (#6353), view-no-sideways (#6669).
Broken by hand:
- without the line that adds .with-sub, sidebar-settings-steady's new
"the foot grows for the tabs" is red, 40/40;
- an unimported zzorphan.js turns old-webkit red ("is not loaded by
index.html, and no script imports it").
Not tried: the whole GUI suite; a real Safari 15.0.