by smoldesu · 4y ago · 0 comments
It pops up an interface on the lower side of the screen asking “do you want to dial this number?” or something like that. This seems to be the relevant doc: https://developer.apple.com/library/archive/featuredarticles...
This is a bug. These are unexpected results! And as the article notes, "sometimes this behavior makes Safari crash."
So a website can make your browser crash by getting it to do something nonsensical (opening 30 overlapping full screen videos), without your forewarning that this could happen.
You can quibble and say it's a "misfeature" or similar, but I'm not sure that means much.
Yes, he absolutely is, and the proof is
> So here’s a tiny web page I created to play with it.
What OP is reporting is more accurately described as a possible memory overflow exploit. The software appears to be operating as designed, but a malicious attacker might be able to exploit the behavior to do bad things, though this is not exactly necessarily true, and we won't know until we see it happen.
If this is intentional behavior, I don't understand the point. A full-screen video should be the only one playing IMO. Playing multiple (windowed) videos is one thing, but having 30 of them overlap full screen is quite another. And with no affordances to mass-terminate them, the result is unwanted behavior.
So: not a bug in the "off-by-one" or "use-after-free" sense, but damn if it ain't a close cousin.
No they aren't there is a button that the user clicks that runs code to play multiple overlapping videos. This serves no conceivable purpose and can cause the browser to crash, it is a bug.
The reason it works is the code is run from a user action, the problem is after the first video play the browser should no longer consider the subsequent plays a user action, or it should only play the last video and cleanup the now overlapped previous video.