<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: REGRESSION: &quot;Duplicate Selector&quot; context menu item doesn't work"
   href="https://bugs.webkit.org/show_bug.cgi?id=151628#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: REGRESSION: &quot;Duplicate Selector&quot; context menu item doesn't work"
   href="https://bugs.webkit.org/show_bug.cgi?id=151628">bug 151628</a>
              from <span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=151628#c3">comment #3</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=151628#c0">comment #0</a>)
&gt; &gt; We should extract the underlying command and add a test for this, since nobody even knew it was broken.
&gt; 
&gt; When I implemented this it didn't use any new commands and simply created a
&gt; new rule using the selector of the rule under the contextmenu.  I could be
&gt; wrong, but I'm pretty sure the addRule command already has a test for it.</span >

What I meant was that we should expose the same action that the context menu does, as part of a model or controller so that we can &quot;click&quot; it using a test. The failure is probably specific to how the backend command is being generated in the context menu code.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>