diff options
Diffstat (limited to 'op_crates/fetch')
-rw-r--r-- | op_crates/fetch/20_headers.js | 2 | ||||
-rw-r--r-- | op_crates/fetch/26_fetch.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/op_crates/fetch/20_headers.js b/op_crates/fetch/20_headers.js index 7ee19945e..27626018a 100644 --- a/op_crates/fetch/20_headers.js +++ b/op_crates/fetch/20_headers.js @@ -16,7 +16,7 @@ const headersData = Symbol("headers data"); - // TODO: headerGuard? Investigate if it is needed + // TODO(bartlomieju): headerGuard? Investigate if it is needed // node-fetch did not implement this but it is in the spec function normalizeParams(name, value) { name = String(name).toLowerCase(); diff --git a/op_crates/fetch/26_fetch.js b/op_crates/fetch/26_fetch.js index f5147d6b9..c8a470033 100644 --- a/op_crates/fetch/26_fetch.js +++ b/op_crates/fetch/26_fetch.js @@ -283,7 +283,7 @@ } function getStream(blobBytes) { - // TODO: Align to spec https://fetch.spec.whatwg.org/#concept-construct-readablestream + // TODO(bartlomieju): Align to spec https://fetch.spec.whatwg.org/#concept-construct-readablestream return new ReadableStream({ type: "bytes", start: (controller) => { @@ -1240,7 +1240,7 @@ let body; let clientRid = null; let redirected = false; - let remRedirectCount = 20; // TODO: use a better way to handle + let remRedirectCount = 20; // TODO(bartlomieju): use a better way to handle if (typeof input === "string" || input instanceof URL) { url = typeof input === "string" ? input : input.href; |