<?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>52702</bug_id>
          
          <creation_ts>2011-01-18 23:35:56 -0800</creation_ts>
          <short_desc>[GTK] No need to invalidate empty areas in ChromeClient::invalidateContentsAndWindow</short_desc>
          <delta_ts>2011-01-19 10:52:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Joone Hur">joone</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>336360</commentid>
    <comment_count>0</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2011-01-18 23:35:56 -0800</bug_when>
    <thetext>When rendering a web page, WebKitGtk+ invalidates empty areas too much. 
It causes unnecessary calls to GDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336365</commentid>
    <comment_count>1</comment_count>
      <attachid>79397</attachid>
    <who name="Joone Hur">joone</who>
    <bug_when>2011-01-19 00:01:21 -0800</bug_when>
    <thetext>Created attachment 79397
Proposed Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336402</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2011-01-19 01:56:18 -0800</bug_when>
    <thetext>gdk_window_invalidate_rect() doesn&apos;t check whether the rectangle is empty, so the patch makes sense to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336404</commentid>
    <comment_count>3</comment_count>
      <attachid>79397</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2011-01-19 02:06:53 -0800</bug_when>
    <thetext>Comment on attachment 79397
Proposed Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336442</commentid>
    <comment_count>4</comment_count>
      <attachid>79397</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-19 05:39:20 -0800</bug_when>
    <thetext>Comment on attachment 79397
Proposed Patch

Rejecting attachment 79397 from commit-queue.

Failed to run &quot;[&apos;./Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=eseidel-cq-sl&apos;, &apos;bu...&quot; exit_code: 2

Last 500 characters of output:
ests/css ....
http/tests/eventsource .......
http/tests/eventsource/workers .
http/tests/globalhistory ....
http/tests/history .............................
http/tests/incremental ......
http/tests/inspector-enabled .
http/tests/inspector ......
http/tests/inspector/extensions-resources-redirect.html -&gt; failed

Exiting early after 1 failures. 21479 tests run.
418.29s total testing time

21478 test cases (99%) succeeded
1 test case (&lt;1%) had incorrect layout
11 test cases (&lt;1%) had stderr output

Full output: http://queues.webkit.org/results/7615202</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336517</commentid>
    <comment_count>5</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2011-01-19 07:36:45 -0800</bug_when>
    <thetext>The above test fail is not relevant to this patch.
You can see the automatically generated bug from the commit-queue.
https://bugs.webkit.org/show_bug.cgi?id=52709</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336583</commentid>
    <comment_count>6</comment_count>
      <attachid>79397</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-19 09:48:09 -0800</bug_when>
    <thetext>Comment on attachment 79397
Proposed Patch

Clearing flags on attachment: 79397

Committed r76130: &lt;http://trac.webkit.org/changeset/76130&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336584</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-19 09:48:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>336639</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-01-19 10:52:59 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; The above test fail is not relevant to this patch.
&gt; You can see the automatically generated bug from the commit-queue.
&gt; https://bugs.webkit.org/show_bug.cgi?id=52709

Thanks.  The commit-queue runs the tests 3 times.  Twice with your patch and once w/o (if the first two runs failed).  In this case, the flaky test failed both times when you patch was applied, and then didn&apos;t fail when the tests ran w/o your patch.  So the queue had no choice but to (wrongly) assume it was your patch at fault.

Such is the cost of flaky tests!  Hopefully folks will continue to whittle down the number of flaky tests in the tree.

http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/bot/commitqueuetask.py#L214</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>79397</attachid>
            <date>2011-01-19 00:01:21 -0800</date>
            <delta_ts>2011-01-19 09:48:09 -0800</delta_ts>
            <desc>Proposed Patch</desc>
            <filename>updatedRect.patch</filename>
            <type>text/plain</type>
            <size>1460</size>
            <attacher name="Joone Hur">joone</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvZ3RrL0NoYW5nZUxvZyBiL1NvdXJjZS9XZW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