diff options
Diffstat (limited to 'op_crates/fetch')
-rw-r--r-- | op_crates/fetch/11_streams.js | 2 | ||||
-rw-r--r-- | op_crates/fetch/20_headers.js | 8 |
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]() { |