1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00

chore(ext): fix typo in ext/webgpu, ext/fetch (#14106)

This commit is contained in:
apeltop 2022-03-25 08:36:30 +09:00 committed by Luca Casonato
parent 84afe6ae71
commit 172de68920
No known key found for this signature in database
GPG key ID: 01A83EB62563811F
3 changed files with 3 additions and 3 deletions

View file

@ -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") {

View file

@ -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(

View file

@ -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 = [