Hacker News new | ask | show | jobs
by alt227 935 days ago
Are you really that worried that firefox is aware of the desktop coordinates of 2 of its own windows?
2 comments

Firefox knows where all its windows are, of course, but that’s not the potential issue being raised. The problem is allowing untrusted javascript access to that info. Luckily, Firefox doesn’t do that, it only allows you (JavaScript author) window information for the windows you’ve directly opened in code.
Actually I don't think Firefox knows the position of the window in Wayland. I thought that coordinates of windows were considered as a compositor concern and not shared with the client.
Not on Wayland it doesn't. Nor does it know if either window is visible, nor if it has been damaged since the last render.
Better even: the parent window knows the position of it's child window. So firefox only knows the one window. And that in a situation where you actively had to allow the permission for the parent to spawn the child in the first place.

Sounds nothing but reasonable to me.