[Webkit-unassigned] [Bug 12753] Incorrect values for window.screenTop and window.screenLeft

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 19 14:32:20 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=12753

--- Comment #8 from Gérard Talbot <browserbugs2 at gtalbot.org> ---
> Isn't there talk of not allowing JS to know where the window is on 
> screen, for privacy reasons?

I do not know of this or about this. I have not heard of this or about this before.

- - - - - - 

https://bugs.chromium.org/p/chromium/issues/detail?id=151983#c9

[Matryoshka] - Wrapping Overflow Leak on Frames
http://sirdarckcat.blogspot.ca/2013/09/matryoshka-wrapping-overflow-leak-on.html

I am not sure I understand why knowing where the position of the iframe relative to the browser and screen can become a security/privacy issue. By itself alone, I do not see how this can represent a security concern ... but maybe in conjunction with other tricks and hacks... I really do not know.

- - - - - - - 

If a javascript can figure out the window frame border thickness, the window.outerHeight, the window.innerHeight and if there is an horizontal scrollbar and/or vertical scrollbar, if a window is maximized, etc..., then it is often possible to know the x,y coordinates of the top-left corner of the client area, even in webkit browsers. It's just a matter of calculations of already available window and screen data and logical deductions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161219/92511c08/attachment.html>


More information about the webkit-unassigned mailing list