<?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>85271</bug_id>
          
          <creation_ts>2012-05-01 02:55:56 -0700</creation_ts>
          <short_desc>[Chromium] Regression r113405 ContextMenuImpl does not set misspelled word</short_desc>
          <delta_ts>2012-05-01 04:17:32 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Hironori Bono">hbono</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>morrita</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>613318</commentid>
    <comment_count>0</comment_count>
    <who name="Hironori Bono">hbono</who>
    <bug_when>2012-05-01 02:55:56 -0700</bug_when>
    <thetext>Greetings,

Sorry for my stupid request.
My WebKit change r113405 (*1) has a bonehead mistake that it sets &apos;range-&gt;text()&apos; to misspelledWord instead of calling selectMisspelledWord(). Unfortunately, this code causes a serious inconsistency that it sets empty text to misspelledWord when a user enables asynchronous spellchecking and right-clicks a misspelled word without manually selecting it. Is it possible to replace this &apos;range-text()&apos; with &apos;selectMispelledWord()&apos; for consistency with the behavior of synchronous spellchecking?

(*1) http://trac.webkit.org/changeset/113405

Regards,

Hironori Bono</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613324</commentid>
    <comment_count>1</comment_count>
      <attachid>139606</attachid>
    <who name="Hironori Bono">hbono</who>
    <bug_when>2012-05-01 03:32:58 -0700</bug_when>
    <thetext>Created attachment 139606
Quick fix v1

Greetings,

Would it be possible to review this patch?

Regards,

Hironori Bono</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613326</commentid>
    <comment_count>2</comment_count>
      <attachid>139606</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2012-05-01 03:37:49 -0700</bug_when>
    <thetext>Comment on attachment 139606
Quick fix v1

Looks reasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613335</commentid>
    <comment_count>3</comment_count>
      <attachid>139606</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-01 04:17:27 -0700</bug_when>
    <thetext>Comment on attachment 139606
Quick fix v1

Clearing flags on attachment: 139606

Committed r115718: &lt;http://trac.webkit.org/changeset/115718&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613336</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-01 04:17:32 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>139606</attachid>
            <date>2012-05-01 03:32:58 -0700</date>
            <delta_ts>2012-05-01 04:17:27 -0700</delta_ts>
            <desc>Quick fix v1</desc>
            <filename>issue86271-patch0.txt</filename>
            <type>text/plain</type>
            <size>1582</size>
            <attacher name="Hironori Bono">hbono</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvY2hyb21pdW0vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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Ao9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBT
b3VyY2UvV2ViS2l0L2Nocm9taXVtL3NyYy9Db250ZXh0TWVudUNsaWVudEltcGwuY3BwCShyZXZp
c2lvbiAxMTU3MDEpCisrKyBTb3VyY2UvV2ViS2l0L2Nocm9taXVtL3NyYy9Db250ZXh0TWVudUNs
aWVudEltcGwuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yOTAsNyArMjkwLDcgQEAgUGxhdGZvcm1N
ZW51RGVzY3JpcHRpb24gQ29udGV4dE1lbnVDbGllbgogICAgICAgICAgICAgICAgICAgICB9CiAg
ICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgIGRhdGEuZGljdGlvbmFyeVN1Z2dlc3Rp
b25zID0gc3VnZ2VzdGlvbnM7Ci0gICAgICAgICAgICAgICAgZGF0YS5taXNzcGVsbGVkV29yZCA9
IHJhbmdlLT50ZXh0KCk7CisgICAgICAgICAgICAgICAgZGF0YS5taXNzcGVsbGVkV29yZCA9IHNl
bGVjdE1pc3NwZWxsZWRXb3JkKGRlZmF1bHRNZW51LCBzZWxlY3RlZEZyYW1lKTsKICAgICAgICAg
ICAgIH0KICAgICAgICAgfSBlbHNlIGlmIChtX3dlYlZpZXctPmZvY3VzZWRXZWJDb3JlRnJhbWUo
KS0+ZWRpdG9yKCktPmlzQ29udGludW91c1NwZWxsQ2hlY2tpbmdFbmFibGVkKCkpIHsKICAgICAg
ICAgICAgIGRhdGEuaXNTcGVsbENoZWNraW5nRW5hYmxlZCA9IHRydWU7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>