From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- remote/cdp/targets/TabTarget.sys.mjs | 4 ++-- remote/cdp/targets/Target.sys.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'remote/cdp/targets') diff --git a/remote/cdp/targets/TabTarget.sys.mjs b/remote/cdp/targets/TabTarget.sys.mjs index a35b0c3f07..016b934cb3 100644 --- a/remote/cdp/targets/TabTarget.sys.mjs +++ b/remote/cdp/targets/TabTarget.sys.mjs @@ -94,7 +94,7 @@ export class TabTarget extends Target { /** @returns {Promise} */ get faviconUrl() { - return new Promise((resolve, reject) => { + return new Promise(resolve => { lazy.Favicons.getFaviconURLForPage(this.browser.currentURI, url => { if (url) { resolve(url.spec); @@ -143,7 +143,7 @@ export class TabTarget extends Target { // nsIObserver - observe(subject, topic, data) { + observe(subject) { if (subject === this.mm && subject == "message-manager-disconnect") { // disconnect debugging target if is disconnected, // otherwise this is just a host process change diff --git a/remote/cdp/targets/Target.sys.mjs b/remote/cdp/targets/Target.sys.mjs index 9264110c37..ee6353983b 100644 --- a/remote/cdp/targets/Target.sys.mjs +++ b/remote/cdp/targets/Target.sys.mjs @@ -21,7 +21,7 @@ export class Target { */ constructor(targetList, sessionClass) { // Save a reference to TargetList instance in order to expose it to: - // domains/parent/Target.jsm + // domains/parent/Target.sys.mjs this.targetList = targetList; // When a new connection is made to this target, -- cgit v1.2.3