diff options
Diffstat (limited to 'op_crates')
-rw-r--r-- | op_crates/fetch/11_streams.js | 2 | ||||
-rw-r--r-- | op_crates/fetch/20_headers.js | 8 | ||||
-rw-r--r-- | op_crates/web/03_global_interfaces.js | 2 |
3 files changed, 6 insertions, 6 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]() { diff --git a/op_crates/web/03_global_interfaces.js b/op_crates/web/03_global_interfaces.js index 7ade64cc1..21a44eb8e 100644 --- a/op_crates/web/03_global_interfaces.js +++ b/op_crates/web/03_global_interfaces.js @@ -1,7 +1,7 @@ ((window) => { const { EventTarget } = window; - const illegalConstructorKey = Symbol("illegalConstuctorKey"); + const illegalConstructorKey = Symbol("illegalConstructorKey"); class Window extends EventTarget { constructor(key = null) { |