Open Bug 1429337 Opened 7 years ago Updated 2 years ago

Support extra options in captureOptions

Categories

(WebExtensions :: Frontend, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: ntim, Unassigned)

Details

(Whiteboard: [design-decision-approved])

tabs.captureVisibleTab/captureTab could support extra options: scrollX, scrollY, height, width, which would be equivalent to the ctx.drawWindow options.
Whiteboard: [design-decision-needed]
Hi Tim, this has been added to the January 16, 2018 WebExtensions APIs triage meeting. Would you be able to join us? Here’s a quick overview of what to expect at the triage: * We normally spend 5 minutes per bug * The more information in the bug, the better * The goal of the triage is to give a general thumbs up or thumbs down on a proposal; we won't be going deep into implementation details Relevant Links: * Wiki for the meeting: https://wiki.mozilla.org/WebExtensions/Triage#Next_Meeting * Meeting agenda: https://docs.google.com/document/d/13AiUqFgtLsuJ17QjzUOQ7nBN1U_ZEO0yzMaHLLl0JKk/edit# * Vision doc for WebExtensions: https://wiki.mozilla.org/WebExtensions/Vision
Severity: normal → enhancement
Priority: -- → P5
Flags: needinfo?(mstriemer)
Whiteboard: [design-decision-needed] → [design-decision-approved]
What are you wanting to use this for and do you think all of these options would be needed? I'm not sure how useful specifying a scroll offset would be if you don't know what the contents of the page would be. Would just specifying a height be enough?
Flags: needinfo?(mstriemer)
(In reply to Mark Striemer [:mstriemer] from comment #2) > What are you wanting to use this for and do you think all of these options > would be needed? > > I'm not sure how useful specifying a scroll offset would be if you don't > know what the contents of the page would be. Would just specifying a height > be enough? I want the unscrolled 2 first pixel rows, not the 2 first pixel rows of the visible area. This is what the scroll parameter would let me do.
This would provide a great webpage-browserchrome integration for vivaldifox. Would be nice to have!
Product: Toolkit → WebExtensions
Would like to know what's the state of this... Is it blocked?
It is not blocked, but it is marked P5 which means it is not a priority for any Mozilla employee, but we would accept patches.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.