<?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>33660</bug_id>
          
          <creation_ts>2010-01-14 01:50:58 -0800</creation_ts>
          <short_desc>[Chromium] Fix a bug that a selected word is not recognized as a spell-check source.</short_desc>
          <delta_ts>2010-01-31 17:45:51 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</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="Kent Tamura">tkent</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>yaar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180613</commentid>
    <comment_count>0</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-14 01:50:58 -0800</bug_when>
    <thetext>[Chromium] Fix a bug that a selected word is not recognized as a spell-check source.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180616</commentid>
    <comment_count>1</comment_count>
      <attachid>46549</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-14 01:52:57 -0800</bug_when>
    <thetext>Created attachment 46549
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180637</commentid>
    <comment_count>2</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-14 02:37:34 -0800</bug_when>
    <thetext>The current implementation of isASingleWord() means:
   &quot;true if the text has no characters.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181025</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-14 17:22:26 -0800</bug_when>
    <thetext>You should CC people who you think could best review this.  I&apos;m not familiar with this code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181067</commentid>
    <comment_count>4</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-14 18:33:43 -0800</bug_when>
    <thetext>isASingleWord() implementation was changed during upstreaming WebKit API.
The last revision in Chromium repository seems to have a correct implementation.

http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/context_menu_client_impl.cc?annotate=29390&amp;pathrev=29813</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181097</commentid>
    <comment_count>5</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-14 21:41:57 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; isASingleWord() implementation was changed during upstreaming WebKit API.
&gt; The last revision in Chromium repository seems to have a correct
&gt; implementation.
&gt; 
&gt; http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/context_menu_client_impl.cc?annotate=29390&amp;pathrev=29813

Correction: It was changed by Chromium r29814, http://src.chromium.org/viewvc/chrome?view=rev&amp;revision=29814, Moving it from webkit/glue/ to webkit/api/src.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186174</commentid>
    <comment_count>6</comment_count>
      <attachid>46549</attachid>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-01-31 00:05:39 -0800</bug_when>
    <thetext>Comment on attachment 46549
Patch

I don&apos;t know this code super well, but assuming this is just up-streaming a downstream fix (that was presumably reviewed): r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186267</commentid>
    <comment_count>7</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-31 17:45:51 -0800</bug_when>
    <thetext>Landed as r54119 &lt;http://trac.webkit.org/changeset/54119&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>46549</attachid>
            <date>2010-01-14 01:52:57 -0800</date>
            <delta_ts>2010-01-31 00:05:39 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-33660-20100114185255.patch</filename>
            <type>text/plain</type>
            <size>1587</size>
            <attacher name="Kent Tamura">tkent</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cgYi9XZWJLaXQvY2hyb21pdW0v
Q2hhbmdlTG9nCmluZGV4IDU0ZDA3ZTAuLjY4ZDJlODIgMTAwNjQ0Ci0tLSBhL1dlYktpdC9jaHJv
bWl1bS9DaGFuZ2VMb2cKKysrIGIvV2ViS2l0L2Nocm9taXVtL0NoYW5nZUxvZwpAQCAtMSwzICsx
LDE1IEBACisyMDEwLTAxLTE0ICBLZW50IFRhbXVyYSAgPHRrZW50QGNocm9taXVtLm9yZz4KKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBbQ2hyb21pdW1d
IEZpeCBhIGJ1ZyB0aGF0IGEgc2VsZWN0ZWQgd29yZCBpcyBub3QgcmVjb2duaXplZCBhcyBhCisg
ICAgICAgIHNwZWxsLWNoZWNrIHNvdXJjZS4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5v
cmcvc2hvd19idWcuY2dpP2lkPTMzNjYwCisKKyAgICAgICAgKiBzcmMvQ29udGV4dE1lbnVDbGll
bnRJbXBsLmNwcDoKKyAgICAgICAgKFdlYktpdDo6aXNBU2luZ2xlV29yZCk6IFVzZSB3b3JkQnJl
YWtJdGVyYXRvcigpLCBhbmQgY29ycmVjdGx5IG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ci0gICAgcmV0dXJuIGl0ICYmIHRleHRCcmVha05leHQoaXQpID09IFRl
eHRCcmVha0RvbmU7CisgICAgVGV4dEJyZWFrSXRlcmF0b3IqIGl0ID0gd29yZEJyZWFrSXRlcmF0
b3IodGV4dC5jaGFyYWN0ZXJzKCksIHRleHQubGVuZ3RoKCkpOworICAgIHJldHVybiBpdCAmJiB0
ZXh0QnJlYWtOZXh0KGl0KSA9PSB0ZXh0Lmxlbmd0aCgpOwogfQogCiAvLyBIZWxwZXIgZnVuY3Rp
b24gdG8gZ2V0IG1pc3NwZWxsZWQgd29yZCBvbiB3aGljaCBjb250ZXh0IG1lbnUK
</data>
<flag name="review"
          id="28839"
          type_id="1"
          status="+"
          setter="jorlow"
    />
    <flag name="commit-queue"
          id="30325"
          type_id="3"
          status="-"
          setter="jorlow"
    />
          </attachment>
      

    </bug>

</bugzilla>