From e31b8e6d3945e54ba9221c212ee0022de6cee856 Mon Sep 17 00:00:00 2001 From: Kazuki Higashiguchi Date: Mon, 28 Mar 2022 15:00:10 +0900 Subject: [PATCH] docs: fix small typo (#8167) The commit fixes the two typos. - guarnateed -> guaranteed - guaranteeded -> guaranteed --- src/common/HTTPRequest.ts | 4 ++-- .../version-10.0.0/puppeteer.httprequest.failure.md | 2 +- .../version-10.1.0/puppeteer.httprequest.failure.md | 2 +- .../version-9.1.1/puppeteer.httprequest.failure.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/HTTPRequest.ts b/src/common/HTTPRequest.ts index a9e0f2c419e..69ee61b0ce5 100644 --- a/src/common/HTTPRequest.ts +++ b/src/common/HTTPRequest.ts @@ -252,7 +252,7 @@ export class HTTPRequest { /** * Adds an async request handler to the processing queue. * Deferred handlers are not guaranteed to execute in any particular order, - * but they are guarnateed to resolve before the request interception + * but they are guaranteed to resolve before the request interception * is finalized. */ enqueueInterceptAction( @@ -389,7 +389,7 @@ export class HTTPRequest { * * @returns `null` unless the request failed. If the request fails this can * return an object with `errorText` containing a human-readable error - * message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be + * message, e.g. `net::ERR_FAILED`. It is not guaranteed that there will be * failure text if the request fails. */ failure(): { errorText: string } | null { diff --git a/website/versioned_docs/version-10.0.0/puppeteer.httprequest.failure.md b/website/versioned_docs/version-10.0.0/puppeteer.httprequest.failure.md index 9afc3be3613..4b15ba7c7f6 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.httprequest.failure.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.httprequest.failure.md @@ -17,7 +17,7 @@ failure(): { { errorText: string; } \| null -`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be failure text if the request fails. +`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteed that there will be failure text if the request fails. ## Remarks diff --git a/website/versioned_docs/version-10.1.0/puppeteer.httprequest.failure.md b/website/versioned_docs/version-10.1.0/puppeteer.httprequest.failure.md index 9afc3be3613..4b15ba7c7f6 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.httprequest.failure.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.httprequest.failure.md @@ -17,7 +17,7 @@ failure(): { { errorText: string; } \| null -`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be failure text if the request fails. +`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteed that there will be failure text if the request fails. ## Remarks diff --git a/website/versioned_docs/version-9.1.1/puppeteer.httprequest.failure.md b/website/versioned_docs/version-9.1.1/puppeteer.httprequest.failure.md index 9afc3be3613..4b15ba7c7f6 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.httprequest.failure.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.httprequest.failure.md @@ -17,7 +17,7 @@ failure(): { { errorText: string; } \| null -`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteeded that there will be failure text if the request fails. +`null` unless the request failed. If the request fails this can return an object with `errorText` containing a human-readable error message, e.g. `net::ERR_FAILED`. It is not guaranteed that there will be failure text if the request fails. ## Remarks