Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 5a9ad19

Browse files
author
Kaizer Soze
committed
Bug 1665820, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92589
1 parent 16aaee1 commit 5a9ad19

File tree

1 file changed

+1
-0
lines changed
  • browser/extensions/screenshots/selector

1 file changed

+1
-0
lines changed

browser/extensions/screenshots/selector/ui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ this.ui = (function() { // eslint-disable-line no-unused-vars
365365
this.element.setAttribute("role", "dialog");
366366
this.element.onload = watchFunction(() => {
367367
msgsPromise.then(([cancelTitle, copyTitle, downloadTitle]) => {
368+
assertIsBlankDocument(this.element.contentDocument);
368369
this.document = this.element.contentDocument;
369370
this.window = this.element.contentWindow;
370371
// eslint-disable-next-line no-unsanitized/property

0 commit comments

Comments
 (0)