summaryrefslogtreecommitdiffstats
path: root/remote/webdriver-bidi/modules/windowglobal
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /remote/webdriver-bidi/modules/windowglobal
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/webdriver-bidi/modules/windowglobal')
-rw-r--r--remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs14
1 files changed, 4 insertions, 10 deletions
diff --git a/remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs b/remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs
index adf821601d..ef61954284 100644
--- a/remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs
+++ b/remote/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs
@@ -17,6 +17,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
"chrome://remote/content/webdriver-bidi/modules/root/browsingContext.sys.mjs",
OriginType:
"chrome://remote/content/webdriver-bidi/modules/root/browsingContext.sys.mjs",
+ OwnershipModel: "chrome://remote/content/webdriver-bidi/RemoteValue.sys.mjs",
PollPromise: "chrome://remote/content/shared/Sync.sys.mjs",
});
@@ -425,16 +426,9 @@ class BrowsingContextModule extends WindowGlobalBiDiModule {
}
_locateNodes(params = {}) {
- const {
- locator,
- maxNodeCount,
- resultOwnership,
- sandbox,
- serializationOptions,
- startNodes,
- } = params;
+ const { locator, maxNodeCount, serializationOptions, startNodes } = params;
- const realm = this.messageHandler.getRealm({ sandboxName: sandbox });
+ const realm = this.messageHandler.getRealm();
const contextNodes = [];
if (startNodes === null) {
@@ -482,7 +476,7 @@ class BrowsingContextModule extends WindowGlobalBiDiModule {
this.serialize(
returnedNode,
serializationOptions,
- resultOwnership,
+ lazy.OwnershipModel.None,
realm,
{ seenNodeIds }
)