Bug 196271 - Web Inspector: "Copy as HTML" appears twice when showing a context menu for a logged node
Summary: Web Inspector: "Copy as HTML" appears twice when showing a context menu for a...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-26 13:54 PDT by Devin Rousso
Modified: 2019-04-01 15:35 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.02 KB, patch)
2019-03-26 14:13 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.