Closed Bug 1777579 Opened 3 years ago Closed 3 years ago

Screenshots of an area of Firefox View aren't working

Categories

(Firefox :: Screenshots, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1786558

People

(Reporter: sfoster, Unassigned)

References

Details

If you enable the browser.tabs.firefox-view in Nightly you can open Firefox View using the new button to the left of your tabs on the toolbar.

Triggering the screenshot capture from here (using screenshots.browser.component.enabled=true) only partly works: the "full page / visible page" toolbar shows up and those buttons work, but its not possible to drag to select a capture area.

Firefox View loads about:firefoxview into a hidden tab, which I suspect is relevant here.

Summary: Screenshots on Firefox View aren't working → Screenshots of an area of Firefox View aren't working
Severity: -- → S3
Priority: -- → P3

There's a logged exception when you try to reproduce:

SecurityError: Node.appendChild: Adopting nodes across docgroups in chrome documents is unsupported

from ScreenshotsOverlayChild.jsm#332 which is where we add the constructed documentFragment to the anonymous content document.

I think this is a dupe as I can't reproduce right now, but it should block enabling on Nightly either way.

Blocks: 1789727
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.