News for hackers. Stuff that matters.
Re:Chrome Ships WebGPU by illiarian on Thursday April 06, 2023 @08:18AM (#35467333)
Just put WebGL/WebGPU behind permission and the problem is solved.

Just put WebUSB behind permission and the problem is solved.

Just put WebHID behind permission and the problem is solved.

Just put WebMIDI behind permission and the problem is solved.

Just put Filesystem Access behind permission and the problem is solved.

Just put Sensors behind permission and the problem is solved.

Just put Location behind permission and the problem is solved.

Just put Camera behind permission and the problem is solved.

Just put ...

I don't understand why highly paid Google and Firefox developers cannot understand such a simple idea.

Re:Chrome Ships WebGPU by ctenb on Thursday April 06, 2023 @08:48AM (#35467639)
Yes please
Re:Chrome Ships WebGPU by shadowgovt on Thursday April 06, 2023 @09:45AM (#35468231)
Everything except WebGL and WebGPU allows the system to change more state than what is rendered on a screen.

Users already expect browsers to change screen contents. That's why WebGPU / WebGL aren't behind a permission block (any moreso than "show images" should be... Hey, remember back in the day when that was a thing?).

Re:Chrome Ships WebGPU by rockdoe on Thursday April 06, 2023 @10:35AM (#35468833)
I can't tell whether you're kidding or not, but this is exactly the path Firefox was advocating: https://blog.karimratib.me/2022/04/23/firefox-webmidi.html

The page implies it no longer requires permissions, but I just tested and you definitely get a permissions popup, just a different one.

WebHID, WebUSB and Filesystem Access are IIRC, "considered harmful" so they won't get implemented. And Sensor support was removed after sites started abusing battery APIs.

Re:Chrome Ships WebGPU by illiarian on Thursday April 06, 2023 @12:16PM (#35470547)
> I can't tell whether you're kidding or not,

I'm not.

> but this is exactly the path Firefox was advocating

Originally? Perhaps. Since then Firefox's stance is very much "we can't just pile on more and more permissions for every API because we can't properly explain to the user what the hell is going on, and permission fatigue is a thing"