freeCodeCamp/client
Oliver Eyton-Williams f5feff386a fix: stop user code after 500ms of execution
Code like `var xs = []; while(true){ xs.push(1) }` can quickly run the
browser out of memory causing it to crash.  These changes stop user loops
from running indefinitely so that common mistakes will no longer cause
the browser to crash.

Also, the user is informed if a long running loop is detected (js and
jsx challenges) during preview or testing.  Before this there was no
protection for js challenges and no information was given to the
user if they had created such a loop.

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-01-03 11:41:52 +05:30
..
config fix(build): Make build unrelient on root level deps (take 2) 2018-09-06 16:07:03 +01:00
plugins fix: make Gatsby wait for challenges to be sourced 2019-07-26 19:40:46 +05:30
src fix: stop user code after 500ms of execution 2020-01-03 11:41:52 +05:30
static fix: update caching on resources (#37460) 2019-10-23 00:19:56 +05:30
utils fix: show default theme for donation related pages (#37956) 2019-12-18 17:40:48 +03:00
.babelrc fix: warnings about babel corejs config 2019-05-02 01:01:00 -07:00
.gitignore fix(client): add cache-busting hashes to chunks (#37746) 2019-11-15 01:43:44 +05:30
gatsby-browser.js fix: save the fonts locally 2019-10-16 19:29:48 +09:00
gatsby-config.js fix: remove Gatsby proxy (#37364) 2019-10-17 18:20:02 +05:30
gatsby-node.js fix(donate): handle missing stripe keys (#37847) 2019-11-30 01:41:31 +05:30
gatsby-ssr.js fix: conditionally load MathJax (#37360) 2019-10-30 15:46:39 +03:00
jest.config.js feat: Use prettier-eslint to format code 2019-02-19 14:30:27 +05:30
jest.transform.js feat: Use prettier-eslint to format code 2019-02-19 14:30:27 +05:30
package-lock.json fix: stop user code after 500ms of execution 2020-01-03 11:41:52 +05:30
package.json fix: stop user code after 500ms of execution 2020-01-03 11:41:52 +05:30
postcss.config.js feat: commandline chic 2019-08-20 13:37:11 +05:30
webpack-workers.js fix(client): add cache-busting hashes to chunks (#37746) 2019-11-15 01:43:44 +05:30