When i was online using firefox i got something that popped up it says "a script on this page may be busy, or it may have stopped responding. You can stop this script now, or you can see if the script will continue."
Stop script/continue <-buttons to press.
I try to press stop script but it won't press so i try continue but nothing, so i ctrl/alt/del and closed the firefox.
What's happening?
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
A javascript function isn't returning (that is, is caught in an infinite loop, or at least taking too long to do something).
It would be silly in any other language than Javascript, but is understandable here. Javascript was originally designed as little fragments of code that "handled" events (like button presses or other interaction with the browser). That is - it runs in response to something happening.
Well, its supposed to complete its response to whatever the event was ... and if it takes longer than a few seconds, the browser ... uh ... gets worried.
There is nothing preventing me from creating a javscript function that computes pi to a few million places, but when the function is invoked, the browser will eventually get tired of waiting for it to return and print the message you describe.