mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
d11c7a19da
In the UI process, we encode generated HTML as Base64 to avoid having to deal with things like arbitrarily nested quotes. The HTML is encoded as UTF-8, and the raw bytes of that encoding are transcoded to Base64. In the Inspector process, we are decoding the Base64 string using atob, which has awkward non-Unicode limitations. The resulting string is only a byte string. We must further decode the bytes as UTF-8, which we do using TextDecoder. |
||
---|---|---|
.. | ||
etc | ||
home/anon | ||
res | ||
root | ||
usr/share | ||
www |