Inspector has a context menu entry for screenshoting a DOM element. It currently involves a GCLI command and should instead use an actor method to do that: https://searchfox.org/mozilla-central/source/devtools/client/inspector/inspector.js#2107-2121 This is to be coordinated with bug 1447490 which also aims to remove another usage of screenshot command. The actual screenshot code is here: https://searchfox.org/mozilla-central/source/devtools/shared/gcli/commands/screenshot.js#80
I made this depend on bug 1282462 which aims at preserving the --fullpage option, which is very useful. I also think we should consider preserving the --dpi option somehow.
Priority: -- → P2
Refactor the inspector code to use the same path as the webconsole, in order to remove GCLI
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1483173
You need to log in before you can comment on or make changes to this bug.