<?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>105778</bug_id>
          
          <creation_ts>2012-12-26 15:21:23 -0800</creation_ts>
          <short_desc>REGRESSION(r138394): platform/mac/accessibility/file-upload-button-subrole.html is failing</short_desc>
          <delta_ts>2013-01-04 15:37:19 -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>Accessibility</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>cfleizach</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>797392</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-12-26 15:21:23 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/138394
@@ -621,5 +639,5 @@

 /* accessibility role description for a file upload button */
-&quot;file upload&quot; = &quot;file upload button&quot;;
+&quot;file upload&quot; = &quot;file upload&quot;;

caused platform/mac/accessibility/file-upload-button-subrole.html to start failing.

http://build.webkit.org/results/Apple%20Lion%20Release%20WK1%20(Tests)/r138484%20(7648)/platform/mac/accessibility/file-upload-button-subrole-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797394</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-12-26 15:23:18 -0800</bug_when>
    <thetext>Mountain Lion results: http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r138484%20(5162)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797395</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-12-26 15:25:44 -0800</bug_when>
    <thetext>Added a test expectation in http://trac.webkit.org/changeset/138486.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797398</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-12-26 15:34:15 -0800</bug_when>
    <thetext>This part of the patch should be reverted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797417</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-12-26 16:44:49 -0800</bug_when>
    <thetext>From my comment over in 105592, https://bugs.webkit.org/show_bug.cgi?id=105592#c9

&quot;That happened simply because I ran update-localizable-strings (or whatever it is actually called) which apparently nobody had done in awhile.
If code changed that caused the generated string to be &quot;file upload button&quot; and that code was correct, then we should rebaseline.
I have no idea how to explore that.&quot;

Alexey, you say that part of the change should be reverted.  How do you determine this?

I ask because if someone reverted it then checked that in...  then someone later came along and ran update-webkit-localizable-strings again, the same change would be generated.

It seems if update-webkit-localizable-strings will always regenerate that change, yet that change is wrong, then either update-webkit-localizable-strings is broken or something in the code is broken.

And whichever of those is broken should be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>797639</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-12-27 12:06:46 -0800</bug_when>
    <thetext>&gt; Alexey, you say that part of the change should be reverted.  How do you determine this?

Such a change would require review, not a rubber-stamp. Accessibility behavior changes should be discussed on their own merits, not be kept in the tree after an accidental commit by default.

&quot;file upload button&quot; certainly sounds like a more appropriate plain English description for the button, if I were to guess about the rationale for existing behavior.

I think that update-webkit-localizable-strings just always makes English key and value match, which wasn&apos;t the case before. You can use svn blame to determine when they were made different. Perhaps someone fixed the text in Localizable.strings without realizing that don&apos;t treat the file as authoritative.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800109</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-04 02:18:10 -0800</bug_when>
    <thetext>What are we going to do about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800647</commentid>
    <comment_count>7</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-01-04 15:00:23 -0800</bug_when>
    <thetext>we should change the strings file to use

&quot;file upload button&quot; = &quot;file upload button&quot;;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800673</commentid>
    <comment_count>8</comment_count>
      <attachid>181389</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-04 15:18:27 -0800</bug_when>
    <thetext>Created attachment 181389
Fixes the bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800682</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-04 15:24:05 -0800</bug_when>
    <thetext>Attachment 181389 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;LayoutTests/ChangeLog&apos;, u&apos;LayoutTests/plat...&quot; exit_code: 1
LayoutTests/ChangeLog:8:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800684</commentid>
    <comment_count>10</comment_count>
      <attachid>181389</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-04 15:26:47 -0800</bug_when>
    <thetext>Comment on attachment 181389
Fixes the bug

View in context: https://bugs.webkit.org/attachment.cgi?id=181389&amp;action=review

&gt;&gt; LayoutTests/ChangeLog:8
&gt;&gt; +	Removed the old test expectations.
&gt; 
&gt; Line contains tab character.  [whitespace/tab] [5]

Fixes this. Thanks for the review, Alexey.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800685</commentid>
    <comment_count>11</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-01-04 15:27:54 -0800</bug_when>
    <thetext>&lt;rdar://problem/12960393&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800692</commentid>
    <comment_count>12</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-04 15:37:19 -0800</bug_when>
    <thetext>Committed r138860: &lt;http://trac.webkit.org/changeset/138860&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>181389</attachid>
            <date>2013-01-04 15:18:27 -0800</date>
            <delta_ts>2013-01-04 15:26:47 -0800</delta_ts>
            <desc>Fixes the bug</desc>
            <filename>bug-105778-20130104151534.patch</filename>
            <type>text/plain</type>
            <size>3554</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDEzODg1NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDEzLTAxLTA0ICBSeW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l0Lm9yZy9iLzEw
NTk4NiBbIERlYnVnIF0gdHJhbnNpdGlvbnMvaGFuZy13aXRoLWJhZC10cmFuc2l0aW9uLWxpc3Qu
aHRtbCBbIFBhc3MgQ3Jhc2ggXQo=
</data>
<flag name="review"
          id="198993"
          type_id="1"
          status="+"
          setter="ap"
    />
    <flag name="commit-queue"
          id="198997"
          type_id="3"
          status="-"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>