-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
IDK this issue makes it seem that Components.utils.Sandbox is used when included in firefox, which would be the browser's own JS engine (but confined to a sandbox), and quickjs in other settings (say a website). https://github.com/mozilla/pdf.js/issues/12487
But I can't find Components.utils.Sandbox being referenced in the code on github. So maybe they decided to use quickjs for all use cases?
It's horrible for security but it can be really useful. This guy made an entire Dungeons & Dragons character sheet generator embedded into a PDF and I probably wouldn't have ever played D&D without it: https://www.flapkan.com/
I looked at the source code briefly and it's on the order of 10K lines of Javascript.
A good way to get traction on a Firefox performance bug is to provide a profile. You don't need to install any new software. Instructions for recording a Firefox performance profile:
https://profiler.firefox.com/
Depends on your PDF viewer... https://github.com/osnr/horrifying-pdf-experiments