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