- Notifications
You must be signed in to change notification settings - Fork464
Player performance testing#10167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
changeset-botbot commentedMay 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
|
| setTimeout(()=>{ | ||
| // Create and release a large array to hint to the browser | ||
| // that it might want to run garbage collection | ||
| constlargeArray=newArray(1000000) | ||
| for(leti=0;i<1000000;i++){ |
Check notice
Code scanning / devskim
If untrusted data (data from HTTP requests, user submitted files, etc.) is included in an setTimeout statement it can allow an attacker to inject their own code. Note
Summary
How did you test this change?
Are there any deployment considerations?
Does this work require review from our design team?