From 172de68920c72c5f93971d99fb3d643a7c03a429 Mon Sep 17 00:00:00 2001 From: apeltop Date: Fri, 25 Mar 2022 08:36:30 +0900 Subject: [PATCH] chore(ext): fix typo in ext/webgpu, ext/fetch (#14106) --- ext/fetch/20_headers.js | 2 +- ext/fetch/23_request.js | 2 +- ext/webgpu/02_idl_types.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js index e8a658d67b..11a5d29b44 100644 --- a/ext/fetch/20_headers.js +++ b/ext/fetch/20_headers.js @@ -210,7 +210,7 @@ const value = entry[1]; if (value === null) throw new TypeError("Unreachable"); // The following if statement is not spec compliant. - // `set-cookie` is the only header that can not be concatentated, + // `set-cookie` is the only header that can not be concatenated, // so must be given to the user as multiple headers. // The else block of the if statement is spec compliant again. if (name === "set-cookie") { diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js index 9672287df3..b61f46c61d 100644 --- a/ext/fetch/23_request.js +++ b/ext/fetch/23_request.js @@ -401,7 +401,7 @@ return webidl.converters["Request"](V, opts); } } - // Passed to new URL(...) which implictly converts DOMString -> USVString + // Passed to new URL(...) which implicitly converts DOMString -> USVString return webidl.converters["DOMString"](V, opts); }; webidl.converters["RequestRedirect"] = webidl.createEnumConverter( diff --git a/ext/webgpu/02_idl_types.js b/ext/webgpu/02_idl_types.js index dd19f40271..0dd8c00f94 100644 --- a/ext/webgpu/02_idl_types.js +++ b/ext/webgpu/02_idl_types.js @@ -41,7 +41,7 @@ } = window.__bootstrap.webgpu; const { SymbolIterator, TypeError } = window.__bootstrap.primordials; - // This needs to be initalized after all of the base classes are implmented, + // This needs to be initialized after all of the base classes are implemented, // otherwise their converters might not be available yet. // DICTIONARY: GPUObjectDescriptorBase const dictMembersGPUObjectDescriptorBase = [