aboutsummaryrefslogtreecommitdiff
path: root/test-suite/scenarios/choredesk/cheats.js
diff options
context:
space:
mode:
authorIgor Soarez <igor@soarez.org>2026-11-11 13:15:51 +0200
committerIgor Soarez <igor@soarez.org>2026-11-11 13:15:51 +0200
commite18559a1240219b977ffc7da2076c09cd96d1dad (patch)
treefed77646ab6ba996538a34b9b6daa3728d235327 /test-suite/scenarios/choredesk/cheats.js
parentcf47a164991bf5588fd2b41ce244f55d900c1167 (diff)
extension: never show the bridge footer while PI_CHROME_AUTHORIZE is setHEADmaster
The footer was hidden through envGranted, a flag that depended on which grant a runtime ended up with. Any grant restored from globalThis, such as one an older build saved there before a /reload or a session switch, left the flag false and brought the footer back. Decide from the environment itself, on every status update: with a valid PI_CHROME_AUTHORIZE the footer never shows, whatever grant is active. A /reload is enough to clear the footer in a pi that has one today. The envGranted flag is gone.
Diffstat (limited to 'test-suite/scenarios/choredesk/cheats.js')
0 files changed, 0 insertions, 0 deletions