3 ms·
IIRC Chrome's PDF viewer is built upon NaCl which is basically a precursor to WASM. So it has lots of the same benefits and is basically running inside the web
by kevincox 3y ago
IIRC Chrome's PDF viewer is built upon NaCl which is basically a precursor to WASM. So it has lots of the same benefits and is basically running inside the web sandbox already. Until Firefox shipped PDF.js it was likely the most secure widely used PDF viewer due to this layered architecture.
Of course NaCl is no longer available to web clients, so I don't know what the exact state of the Chromium PDF viewer is. Is NaCl maintained just for it or is it using some other sandbox now?
- kevingadd 3y agoAccording to https://blog.chromium.org/2024/02/optimizing-safe-browsing-checks-in.html https://blog.chromium.org/2024/02/optimizing-safe-browsing-c... the PDF viewer is still sandboxed, which would suggest they're either still using NaCl or they've moved to WASM.