3 ms·
Safari will terminate a page for using excess resources with the same message.
by frumplestlatz 2y ago
Safari will terminate a page for using excess resources with the same message.
- kccqzy 2y agoSo? Still Safari's problem for not displaying a proper error message.
- frumplestlatz 2y agoSounds like you just dislike Safari. Doesn’t seem to be much help here.
- kccqzy 2y agoNo. Safari chose the exact wrong way to handle this case. Let's suppose some webpage is in fact allocating too much memory. It is the user agent's job to inform the user of this fact. What does Safari do? It silently crashes. It's not even about displaying the wrong error message here: the handler for the crash is to simply refresh the page and render it again. But this is exactly the wrong way to handle out-of-memory errors: chances are the web page will again allocate too much memory and crash yet again. In the end the final displayed error message is "a problem repeatedly occurred" with no reference to the nature of the problem. I hate this trend of hiding error messages from the user. Apple as a company known for its attention to detail in UI, should have been the one company especially dedicated to presenting a good error message without overwhelming the user with technical details—it is supposed to be the master in user communication. And it is not. Hence my disappointment.