summaryrefslogtreecommitdiffstats
path: root/browser/actors/ClickHandlerParent.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/actors/ClickHandlerParent.sys.mjs')
-rw-r--r--browser/actors/ClickHandlerParent.sys.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser/actors/ClickHandlerParent.sys.mjs b/browser/actors/ClickHandlerParent.sys.mjs
index 4078c6404f..bdb722d958 100644
--- a/browser/actors/ClickHandlerParent.sys.mjs
+++ b/browser/actors/ClickHandlerParent.sys.mjs
@@ -6,6 +6,7 @@
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
+ BrowserUtils: "resource://gre/modules/BrowserUtils.sys.mjs",
E10SUtils: "resource://gre/modules/E10SUtils.sys.mjs",
PlacesUIUtils: "resource:///modules/PlacesUIUtils.sys.mjs",
PrivateBrowsingUtils: "resource://gre/modules/PrivateBrowsingUtils.sys.mjs",
@@ -99,7 +100,7 @@ export class ClickHandlerParent extends JSWindowActorParent {
}
// This part is based on handleLinkClick.
- var where = window.whereToOpenLink(data);
+ var where = lazy.BrowserUtils.whereToOpenLink(data);
if (where == "current") {
return;
}