logoalt Hacker News

hyperhelloyesterday at 11:12 PM4 repliesview on HN

[flagged]


Replies

StilesCrisistoday at 12:04 AM

Blowing up a browser tab with bad JavaScript is not considered to be a problem. But kernel panicking the computer is different--this brings us back to the bad old days of MacOS where a buggy program could force a freeze/restart at any time.

SahAssaryesterday at 11:27 PM

Usually you can't freeze the whole system UI with an infinite counter though. I'm pretty sure normal JS browser processes are not supposed to be able to do that.

show 1 reply
mikestewyesterday at 11:59 PM

There's more to it than just a loop. If it was just a loop, it would peg a CPU core and be done with it. But you'll have to reread TFA to find out how it takes out the window server, thus freezing the rest of the system.

hyperhelloyesterday at 11:55 PM

Why does everyone hate this comment? Attitude? I can’t figure out the wavelength here. I’m just commenting.

show 5 replies