<?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>44612</bug_id>
          
          <creation_ts>2010-08-25 08:30:56 -0700</creation_ts>
          <short_desc>Web Inspector: support checked and disabled context menu items.</short_desc>
          <delta_ts>2010-08-25 09:56:00 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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="Pavel Feldman">pfeldman</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>269255</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-08-25 08:30:56 -0700</bug_when>
    <thetext>Patch to follow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269256</commentid>
    <comment_count>1</comment_count>
      <attachid>65421</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-08-25 08:34:22 -0700</bug_when>
    <thetext>Created attachment 65421
[PATCH] Proposed fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269258</commentid>
    <comment_count>2</comment_count>
      <attachid>65421</attachid>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2010-08-25 08:38:54 -0700</bug_when>
    <thetext>Comment on attachment 65421
[PATCH] Proposed fix.

WebCore/platform/ContextMenu.cpp:825
 +      if (ContextMenuItemBaseCustomTag &lt;= item.action() &amp;&amp; item.action() &lt;= ContextMenuItemLastCustomTag)
Please move this above the switch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269264</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-08-25 08:49:14 -0700</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/platform/ContextMenu.cpp
Committed r66015</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>269304</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-08-25 09:56:00 -0700</bug_when>
    <thetext>&gt; WebCore/platform/ContextMenu.cpp:825
&gt;  +      if (ContextMenuItemBaseCustomTag &lt;= item.action() &amp;&amp; item.action() &lt;= ContextMenuItemLastCustomTag)
&gt; Please move this above the switch.

Yury&apos;s, when you make review comments it would be helpful to also explain
why you made your suggestion. Sometimes it is not obvious to me. Here, with
a little investigation I see that was a very good review comment to prevent
doing unnecessary work before an early return. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>65421</attachid>
            <date>2010-08-25 08:34:22 -0700</date>
            <delta_ts>2010-08-25 08:38:53 -0700</delta_ts>
            <desc>[PATCH] Proposed fix.</desc>
            <filename>check_items</filename>
            <type>text/plain</type>
            <size>1207</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">ZGlmZiAtLWd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b3JtL0NvbnRleHRNZW51LmNwcApAQCAtODIxLDYgKzgyMSwxMCBAQCB2b2lkIENvbnRleHRN
ZW51OjpjaGVja09yRW5hYmxlSWZOZWVkZWQoQ29udGV4dE1lbnVJdGVtJiBpdGVtKSBjb25zdAog
ICAgICAgICAgICAgYnJlYWs7CiAgICAgfQogCisgICAgLy8gQ3VzdG9tIGl0ZW1zIGFscmVhZHkg
aGF2ZSBwcm9wZXIgY2hlY2tlZCBhbmQgZW5hYmxlZCB2YWx1ZXMuCisgICAgaWYgKENvbnRleHRN
ZW51SXRlbUJhc2VDdXN0b21UYWcgPD0gaXRlbS5hY3Rpb24oKSAmJiBpdGVtLmFjdGlvbigpIDw9
IENvbnRleHRNZW51SXRlbUxhc3RDdXN0b21UYWcpCisgICAgICAgIHJldHVybjsKKwogICAgIGl0
ZW0uc2V0Q2hlY2tlZChzaG91bGRDaGVjayk7CiAgICAgaXRlbS5zZXRFbmFibGVkKHNob3VsZEVu
YWJsZSk7CiB9Cg==
</data>
<flag name="review"
          id="54201"
          type_id="1"
          status="+"
          setter="yurys"
    />
          </attachment>
      

    </bug>

</bugzilla>