summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapeltop <psycho3081@gmail.com>2022-03-25 08:36:30 +0900
committerGitHub <noreply@github.com>2022-03-25 00:36:30 +0100
commitbb3387de17953ea1f0558f5f9863b0cd6c59d48c (patch)
treec14388a31e001030d01625d01ebb4e7552402a0c
parenteb4daafc51a2a9f4fba9702b9afcda5bbab4e6bd (diff)
chore(ext): fix typo in ext/webgpu, ext/fetch (#14106)
-rw-r--r--ext/fetch/20_headers.js2
-rw-r--r--ext/fetch/23_request.js2
-rw-r--r--ext/webgpu/02_idl_types.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js
index e8a658d67..11a5d29b4 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 9672287df..b61f46c61 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 dd19f4027..0dd8c00f9 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 = [