<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>276480</bug_id>
          
          <creation_ts>2024-07-11 05:45:33 -0700</creation_ts>
          <short_desc>[GTK][WPE] Do not pass invalid damage areas to the UI process</short_desc>
          <delta_ts>2024-07-23 02:52:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>276252</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2045732</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-07-11 05:45:33 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045733</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-07-11 05:53:31 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/30690</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047742</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-23 02:52:52 -0700</bug_when>
    <thetext>Committed 281236@main (e0016a645813): &lt;https://commits.webkit.org/281236@main&gt;

Reviewed commits have been landed. Closing PR #30690 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>