Show a question mark in the capability summary when the memory size is unknown #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
summarizein web/js/runtime/caps.js builds the diagnostic line for the Settings screen. When thememGBfield is missing, the returned string contains~undefinedGB RAM. Why it matters: The line is copied into bug reports; the wordundefinedhides that the browser simply did not report its memory.Proposal
Render a missing
memGBas?so the text reads~?GB RAM, and leave the output unchanged whenmemGBis a number.Acceptance criteria
summarizeof a capability object withoutmemGBreturns a string that contains~?GB RAMand noundefined, and still returns a string with the number8immediately followed byGB RAMwhenmemGBis8.Files
web/js/runtime/caps.jsT2T-Issue: 0xe5d8236604e7fd0fab91244de1d1ce1fa7b80b8c36a72ec07212402922aaf7ae
Number: 4
Kind: bug
Origin: imported
Proposer: 0x08809b42d05ae9526f4aa4c9670ce168aac68919
Ledger: elffuss/ledger, event 437