Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: ensure the sandboxed preloads globals do not leak #17712
Description of Change
This PR re-adds the preload wrapping we used to have for sandboxed renderers that was accidentally removed as part of C71. It takes a different approach partially due to API changes in node and partially for performance reasons. Instead of wrapping the script at runtime, we wrap the scripts at build time.
This PR enables the
Notes: Fixed issue where sandboxed renderers could sometimes leak globals outside of the preload script