[Webkit-unassigned] [Bug 171841] New: In a WKWebView app, window.screenX and window.screenY are garbage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 8 18:29:18 PDT 2017


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

            Bug ID: 171841
           Summary: In a WKWebView app, window.screenX and window.screenY
                    are garbage
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

In a WKWebView app on macOS, if a page reads window.screenX/window.screenY, they get back nonsensical data. This is because UIClient::windowFrame() returns an empty rect, which we then send through coordinate-flipping code. windowFrame() needs to work for the Objective-C API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170509/83d843c6/attachment.html>


More information about the webkit-unassigned mailing list