On 03/06/2026 16:20, 𝕍𝕖𝕝𝕠𝕔𝕚𝕗𝕪𝕖𝕣 wrote:
Why do they not use data: URIs so that it works offline?

If you set DRM_PANIC_SCREEN_QR_CODE and not DRM_PANIC_SCREEN_QR_CODE_URL, then the data will be set in raw in the QR code, and that works offline.

The drawback is that the data is not compressed, and not efficiently encoded.

So with zlib compressed, you have about ~7500 bytes of kmsg, and with raw data, it's only ~2900 bytes.

Also, even when using an URL, the panic data stays on the browser, because the data is in an URI fragment, which is not sent to the server.

Best regards,

--

Jocelyn

Reply via email to