diff --git a/remote/shared/TabManager.jsm b/remote/shared/TabManager.jsm index 0f4b1e1f9061..bfebcbc65c0b 100644 --- a/remote/shared/TabManager.jsm +++ b/remote/shared/TabManager.jsm @@ -27,7 +27,7 @@ var TabManager = { * All the found s. Will return an empty array if * no windows and tabs can be found. */ - browsers() { + get browsers() { const browsers = []; for (const win of this.windows) { diff --git a/remote/shared/messagehandler/transports/FrameTransport.jsm b/remote/shared/messagehandler/transports/FrameTransport.jsm index 31ecf2d6cc18..cf508cf1b691 100644 --- a/remote/shared/messagehandler/transports/FrameTransport.jsm +++ b/remote/shared/messagehandler/transports/FrameTransport.jsm @@ -144,7 +144,7 @@ class FrameTransport { let browsingContexts = []; // Fetch all tab related browsing contexts for top-level windows. - for (const { browsingContext } of TabManager.browsers()) { + for (const { browsingContext } of TabManager.browsers) { if (isBrowsingContextCompatible(browsingContext, { browserId })) { browsingContexts = browsingContexts.concat( browsingContext.getAllBrowsingContextsInSubtree()