gecko-dev/toolkit/components/pdfjs/test/file_pdfjs_js.pdf
Calixte Denizet 582df65115 Bug 1667973 - Add a sandbox to evaluate js embedded in PDF r=bdahl,dveditz,robwu
PDF files can embed some js code in order to validate, format, ... the data entered by a user in a PDF form.
So in order to safely execute this js code, we create a Cu.Sandbox with only what we need/want to expose to the scripts.

Differential Revision: https://phabricator.services.mozilla.com/D91746
2021-02-19 16:14:38 +00:00

24 KiB