Bug 276480

Summary: [GTK][WPE] Do not pass invalid damage areas to the UI process
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WPE WebKitAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 276252    

Carlos Garcia Campos
Reported 2024-07-11 05:45:33 PDT
This is not a problem under wayland because the compositor always handles the case of the area being empty or bigger than the buffer. In DRM the request fails with invalid argument if the area passed is not valid. We can make sure the damage areas we generate in the web process are always valid. We should also avoid passing a damage region containing the whole buffer.
Attachments
Carlos Garcia Campos
Comment 1 2024-07-11 05:53:31 PDT
EWS
Comment 2 2024-07-23 02:52:52 PDT
Committed 281236@main (e0016a645813): <https://commits.webkit.org/281236@main> Reviewed commits have been landed. Closing PR #30690 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.