gui: the core budgets back to 1,316,874 and 1,539,856, the sync row's raise undone
a511b11d8(v0.1.2372, Settings > Sync's Kept on this computer row, hayden4608) raised appScriptBudget by 623 bytes to 1,317,497 and coreScriptBudget to 1,540,479. A budget raised whenever a change reaches it bounds nothing (LESSONS.md). Since then later commits trimmed app.js, so at origin/main213d59f3bapp.js is 1,308,363 bytes and the core's scripts 1,533,355: both fit the values they had before the raise with nothing moved. This puts the constants back and rewrites the two notes to say the raise was taken back. No code or behaviour changes. Run on mote through mote-run, at213d59f3b+ this commit; after the rebase onto0379f2610(site docs only) TestCoreScriptBudget ran again: ok. - go test -count=1 -run TestCoreScriptBudget ./internal/gui/: ok. - Broken by hand: 7,000 spaces appended to app.js, the same test fails with "the core's scripts are 1540355 bytes, over their budget of 1539856". - node --test sync-own-fields.test.cjs (the raise's own GUI test), Chromium and WebKit: 14 of 14 pass. - gofmt -l on the test file: clean. Not run: the full Go and GUI suites; only a test constant and its comments change.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user