Name Description Size
content
fileHelpers.mjs Gets the filename automatically or by a file picker depending on "browser.download.useDownloadDir" @param filenameTitle The title of the current page @param browser The current browser @returns Path of the chosen filename 8526
jar.mn 1669
moz.build 545
overlay
screenshots-buttons.css 804
screenshots-buttons.js eslint-env mozilla/browser-window 2064
ScreenshotsOverlayChild.sys.mjs The Screenshots overlay is inserted into the document's canvasFrame anonymous content container (see dom/webidl/Document.webidl). This container gets cleared automatically when the document navigates. Since the overlay markup is inserted in the canvasFrame using insertAnonymousContent, this means that it can be modified using the API described in AnonymousContent.webidl. Any mutation of this content must be via the AnonymousContent API. This is similar in design to [devtools' highlighters](https://firefox-source-docs.mozilla.org/devtools/tools/highlighters.html#inserting-content-in-the-page), though as Screenshots doesnt need to work on XUL documents, or allow multiple kinds of highlight/overlay our case is a little simpler. To retrieve the AnonymousContent instance, use the `content` getter. 58929
ScreenshotsUtils.sys.mjs 19179
tests