summaryrefslogtreecommitdiff
path: root/op_crates/fetch
diff options
context:
space:
mode:
authorAnh Hong <hong4rc@gmail.com>2020-12-11 02:45:45 +0700
committerGitHub <noreply@github.com>2020-12-11 06:45:45 +1100
commitb8bc24d167f2e19482d9dc6d367876c361abf4ea (patch)
tree5e46858514914eed698d1c941fe8593547e93ed4 /op_crates/fetch
parentfd9b0202c1bb0e83183fd0a53d8b1303612a5e31 (diff)
chore: fixed various misspellings and other typos (#8691)
Diffstat (limited to 'op_crates/fetch')
-rw-r--r--op_crates/fetch/11_streams.js2
-rw-r--r--op_crates/fetch/20_headers.js8
2 files changed, 5 insertions, 5 deletions
diff --git a/op_crates/fetch/11_streams.js b/op_crates/fetch/11_streams.js
index c3fa6cb6f..69787d24a 100644
--- a/op_crates/fetch/11_streams.js
+++ b/op_crates/fetch/11_streams.js
@@ -2482,7 +2482,7 @@
try {
transformStreamDefaultControllerEnqueue(
controller,
- // it defaults to no tranformation, so I is assumed to be O
+ // it defaults to no transformation, so I is assumed to be O
chunk,
);
} catch (e) {
diff --git a/op_crates/fetch/20_headers.js b/op_crates/fetch/20_headers.js
index c2ae72864..4202bea41 100644
--- a/op_crates/fetch/20_headers.js
+++ b/op_crates/fetch/20_headers.js
@@ -237,10 +237,10 @@
set(name, value) {
requiredArguments("Headers.set", arguments.length, 2);
- const [newname, newvalue] = normalizeParams(name, value);
- validateName(newname);
- validateValue(newvalue);
- dataSet(this[headersData], newname, newvalue);
+ const [newName, newValue] = normalizeParams(name, value);
+ validateName(newName);
+ validateValue(newValue);
+ dataSet(this[headersData], newName, newValue);
}
get [Symbol.toStringTag]() {