diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /remote/cdp/observers | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/cdp/observers')
-rw-r--r-- | remote/cdp/observers/ContextObserver.sys.mjs | 2 | ||||
-rw-r--r-- | remote/cdp/observers/NetworkObserver.sys.mjs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/remote/cdp/observers/ContextObserver.sys.mjs b/remote/cdp/observers/ContextObserver.sys.mjs index d0d6fd1f93..14ad98108f 100644 --- a/remote/cdp/observers/ContextObserver.sys.mjs +++ b/remote/cdp/observers/ContextObserver.sys.mjs @@ -121,7 +121,7 @@ export class ContextObserver { } } - observe(subject, topic, data) { + observe(subject, topic) { switch (topic) { case "document-element-inserted": const window = subject.defaultView; diff --git a/remote/cdp/observers/NetworkObserver.sys.mjs b/remote/cdp/observers/NetworkObserver.sys.mjs index ffd8028ba7..10d5ba4588 100644 --- a/remote/cdp/observers/NetworkObserver.sys.mjs +++ b/remote/cdp/observers/NetworkObserver.sys.mjs @@ -186,7 +186,7 @@ export class NetworkObserver { this._redirectMap.set(newChannel, oldChannel); } - _onRequest(channel, topic) { + _onRequest(channel) { const httpChannel = channel.QueryInterface(Ci.nsIHttpChannel); const loadContext = getLoadContext(httpChannel); const browser = loadContext?.topFrameElement; @@ -242,7 +242,7 @@ export class NetworkObserver { }); } - _onResponse(fromCache, httpChannel, topic) { + _onResponse(fromCache, httpChannel) { const loadContext = getLoadContext(httpChannel); if ( !loadContext || |