https://bugs.winehq.org/show_bug.cgi?id=37505
Bug ID: 37505 Summary: window.screenLeft fails silently and stops script execution Product: Wine-gecko Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: freddi34@yahoo.de Distribution: ---
Created attachment 49894 --> https://bugs.winehq.org/attachment.cgi?id=49894 demonstration of the problem
When a website's javascript accesses the property `window.screenLeft` or `window.screenTop` to get the screen position of the viewport's top left corner, the script is stopped without returning a value or `undefined` or raising an error. It appears wine-gecko implements this property (however it does not even implement Firefox's cross-browser `window.screenX`).
This is a problem because it neither returns `undefined` nor raises an error that could be handled or work-around. Websites that use `window.screenLeft` fail to function.
wine 1:1.7.28-0ubuntu amd64
https://bugs.winehq.org/show_bug.cgi?id=37505
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |df63590706b0bcd4c114bd55149 | |1e25b65866f36 Status|UNCONFIRMED |RESOLVED Component|wine-gecko-unknown |mshtml Resolution|--- |FIXED Assignee|jacek@codeweavers.com |wine-bugs@winehq.org Product|Wine-gecko |Wine
--- Comment #1 from Jacek Caban jacek@codeweavers.com --- Fixed in Git.
https://bugs.winehq.org/show_bug.cgi?id=37505
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.37.