mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -05:00
chore(ext): fix typo in ext/webgpu, ext/fetch (#14106)
This commit is contained in:
parent
84afe6ae71
commit
172de68920
3 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@
|
||||||
const value = entry[1];
|
const value = entry[1];
|
||||||
if (value === null) throw new TypeError("Unreachable");
|
if (value === null) throw new TypeError("Unreachable");
|
||||||
// The following if statement is not spec compliant.
|
// 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.
|
// so must be given to the user as multiple headers.
|
||||||
// The else block of the if statement is spec compliant again.
|
// The else block of the if statement is spec compliant again.
|
||||||
if (name === "set-cookie") {
|
if (name === "set-cookie") {
|
||||||
|
|
|
@ -401,7 +401,7 @@
|
||||||
return webidl.converters["Request"](V, opts);
|
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);
|
return webidl.converters["DOMString"](V, opts);
|
||||||
};
|
};
|
||||||
webidl.converters["RequestRedirect"] = webidl.createEnumConverter(
|
webidl.converters["RequestRedirect"] = webidl.createEnumConverter(
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
} = window.__bootstrap.webgpu;
|
} = window.__bootstrap.webgpu;
|
||||||
const { SymbolIterator, TypeError } = window.__bootstrap.primordials;
|
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.
|
// otherwise their converters might not be available yet.
|
||||||
// DICTIONARY: GPUObjectDescriptorBase
|
// DICTIONARY: GPUObjectDescriptorBase
|
||||||
const dictMembersGPUObjectDescriptorBase = [
|
const dictMembersGPUObjectDescriptorBase = [
|
||||||
|
|
Loading…
Reference in a new issue