From 09e2eef0d214661ec82c506286de3a97663f83fa Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 12 Nov 2026 19:51:02 +0800 Subject: [PATCH] gui: the core script budget carries withScheme's 113 bytes (eachg0 on X) 6055f626e (v0.1.3899) fit the budget at fd9033cbf, but the base moved under the rebase (a2feeb11a, 4519eea71) and TestCoreScriptBudget read 1264422 against 1264309. withScheme was already cut to one expression and respellURL's /i flags dropped; nothing on the page has a plugin to move to, so the budget rises by the 113 bytes over, as the entries before it did. Run: TestCoreScriptBudget ok on mica. --- internal/gui/core_budget_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gui/core_budget_test.go b/internal/gui/core_budget_test.go index dc574effb..73bf52f2d 100644 --- a/internal/gui/core_budget_test.go +++ b/internal/gui/core_budget_test.go @@ -18,7 +18,7 @@ import ( // `git log -L` of this file. const ( appScriptBudget = 1_086_267 // app.js: 1,080,614 at 8016205e3, with the 5,653 of room it had - coreScriptBudget = 1_264_309 // every core script at 8016205e3, the old measure 682 over its cap there (#5918); +367 for the model test on a chosen account (tmr11235), no page left to move it to; +151 for the provider menu's "Only on this device" item and its four translations; +458 for Settings › About's Report a problem row and its translations + coreScriptBudget = 1_264_422 // every core script at 8016205e3, the old measure 682 over its cap there (#5918); +367 for the model test on a chosen account (tmr11235), no page left to move it to; +151 for the provider menu's "Only on this device" item and its four translations; +458 for Settings › About's Report a problem row and its translations; +113 for withScheme, the one rule every typed address goes through (eachg0 on X), cut to the shortest form that keeps it whole ) // codeBytes is how many bytes of b are code: its blank lines, its lines