Chrome DevTools for coding agents
chore: fix some typos (#1240)
Nikolay Vitkove8e33d4172d2
diff --git a/src/McpResponse.ts b/src/McpResponse.tsindex b6162c27..12a0605d 100644--- a/src/McpResponse.ts+++ b/src/McpResponse.ts@@ -165,10 +165,10 @@ export class McpResponse implements Response {}attachNetworkRequest(- reqid: number,+ reqId: number,options?: {requestFilePath?: string; responseFilePath?: string},): void {- this.#attachedNetworkRequestId = reqid;+ this.#attachedNetworkRequestId = reqId;this.#attachedNetworkRequestOptions = options;}@@ -346,7 +346,7 @@ export class McpResponse implements Response {});if (!formatter.isValid()) {throw new Error(- "Can't provide detals for the msgid " + consoleMessageStableId,+ "Can't provide details for the msgid " + consoleMessageStableId,);}detailedConsoleMessage = formatter;diff --git a/src/PageCollector.ts b/src/PageCollector.tsindex 8a419fc6..d943baa5 100644--- a/src/PageCollector.ts+++ b/src/PageCollector.ts@@ -272,13 +272,13 @@ class PageEventSubscriber {if (this.#issueAggregator) {this.#issueAggregator.removeEventListener(DevTools.IssueAggregatorEvents.AGGREGATED_ISSUE_UPDATED,- this.#onAggregatedissue,+ this.#onAggregatedIssue,);}this.#issueAggregator = new DevTools.IssueAggregator(this.#issueManager);this.#issueAggregator.addEventListener(DevTools.IssueAggregatorEvents.AGGREGATED_ISSUE_UPDATED,- this.#onAggregatedissue,+ this.#onAggregatedIssue,);}@@ -303,7 +303,7 @@ class PageEventSubscriber {if (this.#issueAggregator) {this.#issueAggregator.removeEventListener(DevTools.IssueAggregatorEvents.AGGREGATED_ISSUE_UPDATED,- this.#onAggregatedissue,+ this.#onAggregatedIssue,);}void this.#session.send('Audits.disable').catch(() => {@@ -311,7 +311,7 @@ class PageEventSubscriber {});}- #onAggregatedissue = (+ #onAggregatedIssue = (event: DevTools.Common.EventTarget.EventTargetEvent<DevTools.AggregatedIssue>,) => {if (this.#seenIssues.has(event.data)) {diff --git a/tests/McpResponse.test.ts b/tests/McpResponse.test.tsindex e2db88c5..7b2964d5 100644--- a/tests/McpResponse.test.ts+++ b/tests/McpResponse.test.ts@@ -619,7 +619,7 @@ describe('McpResponse', () => {try {await response.handle('test', context);} catch (e) {- assert.ok(e.message.includes("Can't provide detals for the msgid 1"));+ assert.ok(e.message.includes("Can't provide details for the msgid 1"));}});});