Prevent ``` while (true) {} ``` from crashing the whole page. Options: - Timeout - async execution? relevant: https://cs.brown.edu/~sk/Publications/Papers/Published/bnpkg-stopify/paper.pdf https://developers.google.com/caja/ https://en.wikipedia.org/wiki/Caja_project https://github.com/sveltejs/svelte-repl/issues/40 https://repl.it/site/blog/infinite-loops https://www.figma.com/blog/how-we-built-the-figma-plugin-system/
Prevent
from crashing the whole page.
Options:
relevant:
https://cs.brown.edu/~sk/Publications/Papers/Published/bnpkg-stopify/paper.pdf
https://developers.google.com/caja/
https://en.wikipedia.org/wiki/Caja_project
sveltejs/svelte-repl#40
https://repl.it/site/blog/infinite-loops
https://www.figma.com/blog/how-we-built-the-figma-plugin-system/