summaryrefslogtreecommitdiff
path: root/ext/web
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web')
-rw-r--r--ext/web/03_abort_signal.js2
-rw-r--r--ext/web/12_location.js2
-rw-r--r--ext/web/13_message_port.js2
-rw-r--r--ext/web/timers.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/web/03_abort_signal.js b/ext/web/03_abort_signal.js
index 07a274dd2..4c6230e52 100644
--- a/ext/web/03_abort_signal.js
+++ b/ext/web/03_abort_signal.js
@@ -129,7 +129,7 @@ class AbortSignal extends EventTarget {
}
}
- // `addEventListener` and `removeEventListener` have to be overriden in
+ // `addEventListener` and `removeEventListener` have to be overridden in
// order to have the timer block the event loop while there are listeners.
// `[add]` and `[remove]` don't ref and unref the timer because they can
// only be used by Deno internals, which use it to essentially cancel async
diff --git a/ext/web/12_location.js b/ext/web/12_location.js
index 680f3d53b..c612ca743 100644
--- a/ext/web/12_location.js
+++ b/ext/web/12_location.js
@@ -17,7 +17,7 @@ const {
WeakMapPrototypeSet,
} = primordials;
-const locationConstructorKey = Symbol("locationConstuctorKey");
+const locationConstructorKey = Symbol("locationConstructorKey");
// The differences between the definitions of `Location` and `WorkerLocation`
// are because of the `LegacyUnforgeable` attribute only specified upon
diff --git a/ext/web/13_message_port.js b/ext/web/13_message_port.js
index 6d9a2c01f..08f668b2d 100644
--- a/ext/web/13_message_port.js
+++ b/ext/web/13_message_port.js
@@ -123,7 +123,7 @@ class MessagePort extends EventTarget {
}
const { transfer } = options;
if (ArrayPrototypeIncludes(transfer, this)) {
- throw new DOMException("Can not tranfer self", "DataCloneError");
+ throw new DOMException("Can not transfer self", "DataCloneError");
}
const data = serializeJsMessageData(message, transfer);
if (this[_id] === null) return;
diff --git a/ext/web/timers.rs b/ext/web/timers.rs
index 54e185abd..6e0759a98 100644
--- a/ext/web/timers.rs
+++ b/ext/web/timers.rs
@@ -91,7 +91,7 @@ pub async fn op_sleep(
// Windows timer period is 15ms, this means a 100ms timer could fire at 115ms (15% late). We assume that
// timers longer than 100ms are a reasonable cutoff here.
- // The high-res timers on Windows are still limited. Unfortuntely this means that our shortest duration 4ms timers
+ // The high-res timers on Windows are still limited. Unfortunately this means that our shortest duration 4ms timers
// can still be 25% late, but without a more complex timer system or spinning on the clock itself, we're somewhat
// bounded by the OS' scheduler itself.
let _hr_timer_lock = if millis <= 100 {