<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: "Duplicate Selector" 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: "Duplicate Selector" 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@apple.com" title="Brian Burg <bburg@apple.com>"> <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">> (In reply to <a href="show_bug.cgi?id=151628#c0">comment #0</a>)
> > We should extract the underlying command and add a test for this, since nobody even knew it was broken.
>
> When I implemented this it didn't use any new commands and simply created a
> new rule using the selector of the rule under the contextmenu. I could be
> 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 "click" 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>