summaryrefslogtreecommitdiffstats
path: root/browser/actors
diff options
context:
space:
mode:
Diffstat (limited to 'browser/actors')
-rw-r--r--browser/actors/PromptParent.sys.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/actors/PromptParent.sys.mjs b/browser/actors/PromptParent.sys.mjs
index 76eca1a66f..eaabe22ca8 100644
--- a/browser/actors/PromptParent.sys.mjs
+++ b/browser/actors/PromptParent.sys.mjs
@@ -132,7 +132,7 @@ export class PromptParent extends JSWindowActorParent {
switch (message.name) {
case "Prompt:Open":
- if (!this.windowContext.isCurrentGlobal) {
+ if (!this.windowContext.isActiveInTab) {
return undefined;
}