<?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>40348</bug_id>
          
          <creation_ts>2010-06-08 21:01:12 -0700</creation_ts>
          <short_desc>[chromium] Menu key should act on current selection even if it is not editable</short_desc>
          <delta_ts>2010-06-12 19:10:08 -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 API</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="Evan Stade">estade</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>235632</commentid>
    <comment_count>0</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2010-06-08 21:01:12 -0700</bug_when>
    <thetext>In r52124, I reworked the menu key in a way that made it so that it only acted on selections in an editable node. A user pointed this out in &lt;http://crbug.com/45434&gt;. This reverts it to the old behavior. The rest of the issues that I fixed previously (see &lt;https://bugs.webkit.org/show_bug.cgi?id=32347&gt;) are unaffected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235633</commentid>
    <comment_count>1</comment_count>
      <attachid>58208</attachid>
    <who name="Evan Stade">estade</who>
    <bug_when>2010-06-08 21:03:48 -0700</bug_when>
    <thetext>Created attachment 58208
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235660</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2010-06-08 22:34:27 -0700</bug_when>
    <thetext>Is it possible to test this with eventSender.keyDown or does it not know about this key?  Can we add this key to the method?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235897</commentid>
    <comment_count>3</comment_count>
    <who name="Evan Stade">estade</who>
    <bug_when>2010-06-09 11:22:01 -0700</bug_when>
    <thetext>we could test it with eventSender.keyDown, but I&apos;m not sure how we&apos;d verify that it&apos;s doing what we want from within a layout test. It&apos;s probably better suited to test via a chromium UI test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237409</commentid>
    <comment_count>4</comment_count>
      <attachid>58208</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-06-12 18:58:42 -0700</bug_when>
    <thetext>Comment on attachment 58208
patch

OK.  rs=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237423</commentid>
    <comment_count>5</comment_count>
      <attachid>58208</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-12 19:09:54 -0700</bug_when>
    <thetext>Comment on attachment 58208
patch

Clearing flags on attachment: 58208

Committed r61072: &lt;http://trac.webkit.org/changeset/61072&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237424</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-06-12 19:10:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58208</attachid>
            <date>2010-06-08 21:03:48 -0700</date>
            <delta_ts>2010-06-12 19:09:53 -0700</delta_ts>
            <desc>patch</desc>
            <filename>tmp.diff</filename>
            <type>text/plain</type>
            <size>1299</size>
            <attacher name="Evan Stade">estade</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cgYi9XZWJLaXQvY2hyb21pdW0v
Q2hhbmdlTG9nCmluZGV4IDg3ZDBmZGUuLjdiZjY4NmUgMTAwNjQ0Ci0tLSBhL1dlYktpdC9jaHJv
bWl1bS9DaGFuZ2VMb2cKKysrIGIvV2ViS2l0L2Nocm9taXVtL0NoYW5nZUxvZwpAQCAtMSwzICsx
LDE1IEBACisyMDEwLTA2LTA4ICBFdmFuIFN0YWRlICA8ZXN0YWRlQGNocm9taXVtLm9yZz4KKwor
ICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBbY2hyb21pdW1d
IE1lbnUga2V5IHNob3VsZCBhY3Qgb24gY3VycmVudCBzZWxlY3Rpb24gZXZlbiBpZiBpdCBpcyBu
b3QgZWRpdGFibGUKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dp
P2lkPTQwMzQ4CisKKyAgICAgICAgQWxsb3cgdGhlIG1lbnUga2V5IHRvIGFjdCBvbiBub24tZWRp
dGFibGUgc2VsZWN0aW9ucy4KKworICAgICAgICAqIHNyYy9XZWJWaWV3SW1wbC5jcHA6CisgICAg
ICAgIChXZWJLaXQ6OldlYlZpZXdJbXBsOjpzZW5kQ29udGV4dE1lbnVFdmVudCk6CisKIDIwMTAt
MDYtMDggIFRvbnkgQ2hhbmcgIDx0b255QGNocm9taXVtLm9yZz4KIAogICAgICAgICBOb3QgcmV2
aWV3ZWQsIGJ1aWxkIGZpeC4KZGlmZiAtLWdpdCBhL1dlYktpdC9jaHJvbWl1bS9zcmMvV2ViVmll
d0ltcGwuY3BwIGIvV2ViS2l0L2Nocm9taXVtL3NyYy9XZWJWaWV3SW1wbC5jcHAKaW5kZXggNWI1
Mjg2Ny4uMDUzOTU0NiAxMDA2N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