summaryrefslogtreecommitdiff
path: root/op_crates/fetch
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-01-17 00:32:59 +0100
committerGitHub <noreply@github.com>2021-01-17 00:32:59 +0100
commitb26dcbc69d56b6ac5780520dad47f10460127d3e (patch)
tree1f0c45b2c39eff83a9fede7a9e6e268a5e04194b /op_crates/fetch
parentfc45a19801fe32eaf3a82ab8333f433fcfd7ca4e (diff)
chore: Enforce ban-untagged-todo lint rule (#9135)
Diffstat (limited to 'op_crates/fetch')
-rw-r--r--op_crates/fetch/20_headers.js2
-rw-r--r--op_crates/fetch/26_fetch.js4
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;