Bug 182889 - Broker DOM window operations to UIProcess.
Summary: Broker DOM window operations to UIProcess.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 15:00 PST by Per Arne Vollan
Modified: 2018-02-16 15:46 PST (History)
5 users (show)

See Also:


Attachments
Patch (20.87 KB, patch)
2018-02-16 15:34 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch (20.78 KB, patch)
2018-02-16 15:46 PST, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2018-02-16 15:00:06 PST
The methods DOMWindow::[moveBy|moveTo|resizeBy|resizeTo] will call screenAvailableRect in the WebContent process. This is unfortunate, since the implementation of screenAvailableRect is using NSScreen, which is communicating with the WindowServer.
Comment 1 Per Arne Vollan 2018-02-16 15:34:26 PST
Created attachment 334080 [details]
Patch
Comment 2 Per Arne Vollan 2018-02-16 15:46:24 PST
Created attachment 334082 [details]
Patch