<?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>90400</bug_id>
          
          <creation_ts>2012-07-02 13:51:57 -0700</creation_ts>
          <short_desc>Make the skia_test_expectations.txt file optional.</short_desc>
          <delta_ts>2012-07-03 10:22:02 -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>New Bugs</component>
          <version>528+ (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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Ojan Vafai">ojan</assigned_to>
          <cc>abarth</cc>
    
    <cc>dpranke</cc>
    
    <cc>eae</cc>
    
    <cc>epoger</cc>
    
    <cc>eric</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>661698</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-02 13:51:57 -0700</bug_when>
    <thetext>Make the skia_test_expectations.txt file optional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661701</commentid>
    <comment_count>1</comment_count>
      <attachid>150471</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-02 13:53:42 -0700</bug_when>
    <thetext>Created attachment 150471
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661721</commentid>
    <comment_count>2</comment_count>
    <who name="Emil A Eklund">eae</who>
    <bug_when>2012-07-02 14:27:03 -0700</bug_when>
    <thetext>This is great, thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661726</commentid>
    <comment_count>3</comment_count>
      <attachid>150471</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-07-02 14:36:04 -0700</bug_when>
    <thetext>Comment on attachment 150471
Patch

So, I&apos;m conflicted about this change ... r-/cq-&apos;ing it for a chance at discussion.

The skia test_expectations file was never optional. The chromium downstream file is optional. However, the skia file is used by both the upstream and downstream bots, and corresponds to the version of skia that both bots build against.

In other words, this file always exists and is used on the bots, and thus, it would be an error if the file was missing.

Therefore, if you are trying to figure out what the expectations for a test are, and you don&apos;t have this file in your checkout, there&apos;s a chance you will form the wrong expectations.

This means that if you run rebaseline-expectations, you better have this file in your checkout. If rebaseline-test is also trying to update the expectations, it needs the skia file as well, and I think that this implies that you need this even if you&apos;re running w/ garden-o-matic.

On the other hand, it&apos;s obviously annoying to have to do &apos;update-webkit --chromium&apos; just for this one file, especially when this file is supposed to be empty most of the time.

So, I&apos;m not sure what the right thing to do here is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661755</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-02 15:18:50 -0700</bug_when>
    <thetext>I think this won&apos;t generally be a problem in practice. update-expectations during rebaseline-test might not do the 100% optimal thing in a case where a test is listed in both files, but it won&apos;t break anything either, i.e. it&apos;ll leave the line in the skia test expectations file when it could have removed it.

I think this is preferable to requiring anyone rebaselining chromium results to need to get the skia test expectations file.

More importantly, most people working in WebKit won&apos;t even notice it modifying this file in the chromium repo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661761</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-07-02 15:24:26 -0700</bug_when>
    <thetext>Partially I&apos;m concerned because your change doesn&apos;t just affect rebaseline-test, it affects *everything* that tries to use a chromium port, and I&apos;m not sure what all the ramifications of that might be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661762</commentid>
    <comment_count>6</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-02 15:27:14 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Partially I&apos;m concerned because your change doesn&apos;t just affect rebaseline-test, it affects *everything* that tries to use a chromium port, and I&apos;m not sure what all the ramifications of that might be.

Your concern is reasonable. As I see it, this is just some of the cost of having this funky skia test expectations file. I&apos;m not too worried because in order to get to a place where you&apos;re actually running the tests locally, you&apos;ll necessarily have to checkout this file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661764</commentid>
    <comment_count>7</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-02 15:27:49 -0700</bug_when>
    <thetext>Would you be happier if we logged a warning?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>661769</commentid>
    <comment_count>8</comment_count>
      <attachid>150471</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-07-02 15:36:51 -0700</bug_when>
    <thetext>Comment on attachment 150471
Patch

(In reply to comment #7)
&gt; Would you be happier if we logged a warning?

Probably :)

Given that I&apos;m not sure what&apos;ll break, and you think we should be okay in practice, I&apos;m okay with landing this and we can see what happens. I just wanted people to understand why this was the way it was.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>662332</commentid>
    <comment_count>9</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-07-03 10:22:02 -0700</bug_when>
    <thetext>Committed r121784: &lt;http://trac.webkit.org/changeset/121784&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>150471</attachid>
            <date>2012-07-02 13:53:42 -0700</date>
            <delta_ts>2012-07-02 15:36:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-90400-20120702135341.patch</filename>
            <type>text/plain</type>
            <size>3572</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTIxNjk5CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggMTA2ZmNiNmZhM2U5NmVhOTc3MjVhMDc2ZDAwMjJhOThh
MzVjMjEyNC4uY2RlZjU4YmY5OGFmZjU5ZjJhNjE3NTQyOWJhYzdlNGFjODQzZDM2NyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDIy
IEBACiAyMDEyLTA3LTAyICBPamFuIFZhZmFpICA8b2phbkBjaHJvbWl1bS5vcmc+CiAKKyAgICAg
ICAgTWFrZSB0aGUgc2tpYV90ZXN0X2V4cGVjdGF0aW9ucy50eHQgZmlsZSBvcHRpb25hbC4KKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTkwNDAwCisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgSXQgdXNlZCB0byBi
ZSBvcHRpb25hbC4gVGhpcyByZWdyZXNzZWQgYXQgc29tZSBwb2ludC4gSXQncyBpbXBvcnRhbnQg
dGhhdCBpdCBiZQorICAgICAgICBvcHRpb25hbCBzbyB0aGF0IHdlYmtpdC1wYXRjaCBjb21tYW5k
cyB3b3JrIGluIGEgcHVyZS13ZWJraXQgY2hlY2tvdXQgZm9yIGNocm9taXVtIGJvdHMuCisgICAg
ICAgIFNwZWNpZmljYWxseSwgdGhpcyB3YXMgYnJlYWtpbmcgd2Via2l0LXBhdGNoIHJlYmFzZWxp
bmUtdGVzdCB3aGVuIGl0IHdvdWxkIGdvIHRvIHVwZGF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3RzL3Rlc3Rf
ZXhwZWN0YXRpb25zLnR4dCcsICd1cHN0cmVhbScpCisgICAgICAgIHNlbGYuYXNzZXJ0RXF1YWxz
KCdcbicuam9pbihzZWxmLnBvcnQuZXhwZWN0YXRpb25zX2RpY3QoKS52YWx1ZXMoKSksICdkb3du
c3RyZWFtXG51cHN0cmVhbScpCisKKyAgICAgICAgc2VsZi5wb3J0Ll9maWxlc3lzdGVtLndyaXRl
X3RleHRfZmlsZShzZWxmLnBvcnQucGF0aF9mcm9tX2Nocm9taXVtX2Jhc2UoJ3NraWEnLCAnc2tp
YV90ZXN0X2V4cGVjdGF0aW9ucy50eHQnKSwgJ3NraWEnKQorICAgICAgICBzZWxmLmFzc2VydEVx
dWFscygnXG4nLmpvaW4oc2VsZi5wb3J0LmV4cGVjdGF0aW9uc19kaWN0KCkudmFsdWVzKCkpLCAn
ZG93bnN0cmVhbVxuc2tpYVxudXBzdHJlYW0nKQorCiAKIGNsYXNzIENocm9taXVtUG9ydExvZ2dp
bmdUZXN0KGxvZ3Rlc3RpbmcuTG9nZ2luZ1Rlc3RDYXNlKToKIAo=
</data>
<flag name="review"
          id="158720"
          type_id="1"
          status="+"
          setter="dpranke"
    />
    <flag name="commit-queue"
          id="158721"
          type_id="3"
          status="-"
          setter="dpranke"
    />
          </attachment>
      

    </bug>

</bugzilla>