pxt-arcade
pxt-arcade copied to clipboard
Extremely easy way to freeze makecode
Describe the bug I found this bug on accident while commenting out a background image in javascript. It happened to me on accident. It happens when you comment out the top and bottom lines of a setBackgroundImage function when it is collapsed. It causes the site to no longer accept any input, things cannot be clicked or typed To Reproduce Steps to reproduce the behavior:
- open a new project
- go to javascript
- drag in a setBackgroundImage function
- open up the background image in the editor
- click done
- comment out the top line of the 2
- there should now be 6000 errors
- start to comment out the bottom line and the entire site will no longer accept any user input until the page is reloaded.
Expected behavior
I expect it to comment out the entire collapsed part when I comment out the top line
Screenshots
Desktop (please complete the following information):
- OS: windows
- Browser chrome, web app
Additional context there's a second bug that you can see in the 3rd picture, also described here: https://forum.makecode.com/t/is-it-normal/30282/2