Bug 276480
| Summary: | [GTK][WPE] Do not pass invalid damage areas to the UI process | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WPE WebKit | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/30690
EWS
Committed 281236@main (e0016a645813): <https://commits.webkit.org/281236@main>
Reviewed commits have been landed. Closing PR #30690 and removing active labels.