calixteman 762cfd2d1b
[JS] Use heap allocation when initializing quickjs sandbox (#13286)
- In case of large string the sandbox initialization failed because of an OOM
    * so allocate a new string in the heap
    * and free it after use.
  - it requires a quickjs update since we need to export some symbols (stringToNewUTF8 and free).
2021-04-23 12:04:14 +02:00
..

Build

In order to generate the file quickjs-eval.js:

Licensing

Quickjs and pdf.js.quickjs are released under MIT license so quickjs-eval.js is released under MIT license too.