8bff4f1ea9
* move set/clear|Timeout/Interval and crackURL code in pdf.js * remove the "backdoor" in the proxy (used to dispatch event) and so return the dispatch function in the initializer * remove listeners if an error occured during sandbox initialization * add support for alert and prompt in the sandbox * add a function to eval in the global scope |
||
---|---|---|
.. | ||
quickjs-eval.js | ||
README.md |
Build
In order to generate the file quickjs-eval.js
:
- git clone https://github.com/mozilla/pdf.js.quickjs/
- the build requires to have a Docker setup and then:
node build.js -C
to build the Docker imagenode build.js -co /pdf.js/external/quickjs/
to compile the sandbox
Licensing
Quickjs and pdf.js.quickjs are released under MIT license so quickjs-eval.js
is released under MIT license too.