Skip to content

Commit

Permalink
Bug 1665820, r=emalysz
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaizer Soze committed Oct 14, 2020
1 parent 16aaee1 commit 5a9ad19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/extensions/screenshots/selector/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ this.ui = (function() { // eslint-disable-line no-unused-vars
this.element.setAttribute("role", "dialog");
this.element.onload = watchFunction(() => {
msgsPromise.then(([cancelTitle, copyTitle, downloadTitle]) => {
assertIsBlankDocument(this.element.contentDocument);
this.document = this.element.contentDocument;
this.window = this.element.contentWindow;
// eslint-disable-next-line no-unsanitized/property
Expand Down

0 comments on commit 5a9ad19

Please sign in to comment.