[Bug 37505] New: window.screenLeft fails silently and stops script execution

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 4 07:34:36 CST 2014


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 at codeweavers.com
          Reporter: freddi34 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list