Bug 196271

Summary: Web Inspector: "Copy as HTML" appears twice when showing a context menu for a logged node
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-03-26 13:54:24 PDT
# STEPS TO REPRODUCE:
1. inspect any page
2. go to the Elements tab
3. select any node
4. go to the Console tab
5. log `{foo: $0}`
6. expand the resulting object
7. context menu click on the value of `foo` (e.g. the node)
 => "Copy as HTML", "Scroll Into View", and "Reveal in DOM Tree" all appear twice
Comment 1 Radar WebKit Bug Importer 2019-03-26 14:06:07 PDT
<rdar://problem/49290676>
Comment 2 Devin Rousso 2019-03-26 14:13:07 PDT
Created attachment 365997 [details]
Patch
Comment 3 WebKit Commit Bot 2019-04-01 15:35:56 PDT
Comment on attachment 365997 [details]
Patch

Clearing flags on attachment: 365997

Committed r243717: <https://trac.webkit.org/changeset/243717>
Comment 4 WebKit Commit Bot 2019-04-01 15:35:57 PDT
All reviewed patches have been landed.  Closing bug.