diff options
Diffstat (limited to 'op_crates')
-rw-r--r-- | op_crates/fetch/20_headers.js | 2 | ||||
-rw-r--r-- | op_crates/fetch/26_fetch.js | 4 | ||||
-rw-r--r-- | op_crates/web/01_event.js | 2 | ||||
-rw-r--r-- | op_crates/web/21_filereader.js | 2 |
4 files changed, 5 insertions, 5 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; diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js index f4932179e..578f771f6 100644 --- a/op_crates/web/01_event.js +++ b/op_crates/web/01_event.js @@ -668,7 +668,7 @@ setRelatedTarget(eventImpl, null); } - // TODO: invoke activation targets if HTML nodes will be implemented + // TODO(bartlomieju): invoke activation targets if HTML nodes will be implemented // if (activationTarget !== null) { // if (!eventImpl.defaultPrevented) { // activationTarget._activationBehavior(); diff --git a/op_crates/web/21_filereader.js b/op_crates/web/21_filereader.js index c82c52864..eee96e9d8 100644 --- a/op_crates/web/21_filereader.js +++ b/op_crates/web/21_filereader.js @@ -61,7 +61,7 @@ if (!chunk.done && chunk.value instanceof Uint8Array) { chunks.push(chunk.value); - // TODO: (only) If roughly 50ms have passed since last progress + // TODO(bartlomieju): (only) If roughly 50ms have passed since last progress { const size = chunks.reduce((p, i) => p + i.byteLength, 0); const ev = new ProgressEvent("progress", { |