summaryrefslogtreecommitdiffstats
path: root/browser/components/aboutlogins/AboutLoginsChild.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/aboutlogins/AboutLoginsChild.sys.mjs')
-rw-r--r--browser/components/aboutlogins/AboutLoginsChild.sys.mjs6
1 files changed, 5 insertions, 1 deletions
diff --git a/browser/components/aboutlogins/AboutLoginsChild.sys.mjs b/browser/components/aboutlogins/AboutLoginsChild.sys.mjs
index 3fcdf77923..c7059d8f40 100644
--- a/browser/components/aboutlogins/AboutLoginsChild.sys.mjs
+++ b/browser/components/aboutlogins/AboutLoginsChild.sys.mjs
@@ -160,7 +160,11 @@ export class AboutLoginsChild extends JSWindowActorChild {
}
#aboutLoginsCopyLoginDetail(detail) {
- lazy.ClipboardHelper.copyString(detail, lazy.ClipboardHelper.Sensitive);
+ lazy.ClipboardHelper.copyString(
+ detail,
+ this.windowContext,
+ lazy.ClipboardHelper.Sensitive
+ );
}
#aboutLoginsCreateLogin(login) {