summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Games/Flood/main.cpp2
-rw-r--r--Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.h2
-rw-r--r--Userland/Libraries/LibVideo/VP9/Decoder.cpp2
-rw-r--r--Userland/Libraries/LibWeb/HTML/NavigatorID.h4
-rw-r--r--Userland/Libraries/LibWeb/Page/EventHandler.cpp2
-rw-r--r--Userland/Services/WebContent/ConnectionFromClient.cpp2
-rw-r--r--Userland/Services/WebDriver/Session.cpp2
7 files changed, 8 insertions, 8 deletions
diff --git a/Userland/Games/Flood/main.cpp b/Userland/Games/Flood/main.cpp
index d400cdf0ea..9d4c9f1780 100644
--- a/Userland/Games/Flood/main.cpp
+++ b/Userland/Games/Flood/main.cpp
@@ -66,7 +66,7 @@ static ErrorOr<Vector<Color>> get_color_scheme_from_string(StringView name)
}
// FIXME: Improve this AI.
-// Currently, this AI always chooses a move that gets the most cells flooded immidiately.
+// Currently, this AI always chooses a move that gets the most cells flooded immediately.
// This far from being able to generate an optimal solution, and is something that needs to be improved
// if a user-facing auto-solver is implemented or a harder difficulty is wanted.
// A fairly simple way to improve this would be to test deeper moves and then choose the most efficient sequence.
diff --git a/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.h b/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.h
index 2216c97c96..678010052e 100644
--- a/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.h
+++ b/Userland/Libraries/LibJS/Runtime/RegExpLegacyStaticProperties.h
@@ -14,7 +14,7 @@
namespace JS {
// https://github.com/tc39/proposal-regexp-legacy-features#regexp
-// The %RegExp% instrinsic object, which is the builtin RegExp constructor, has the following additional internal slots:
+// The %RegExp% intrinsic object, which is the builtin RegExp constructor, has the following additional internal slots:
// [[RegExpInput]]
// [[RegExpLastMatch]]
// [[RegExpLastParen]]
diff --git a/Userland/Libraries/LibVideo/VP9/Decoder.cpp b/Userland/Libraries/LibVideo/VP9/Decoder.cpp
index d03f9df5fd..a41a6980fb 100644
--- a/Userland/Libraries/LibVideo/VP9/Decoder.cpp
+++ b/Userland/Libraries/LibVideo/VP9/Decoder.cpp
@@ -396,7 +396,7 @@ DecoderErrorOr<void> Decoder::predict_intra(u8 plane, u32 x, u32 y, bool have_le
// - [0]
// - [1 .. block_size]
// - [block_size + 1 .. block_size * 2]
- // The array indices must be offset by 1 to accomodate index -1.
+ // The array indices must be offset by 1 to accommodate index -1.
Vector<Intermediate>& above_row = m_buffers.above_row;
DECODER_TRY_ALLOC(above_row.try_resize_and_keep_capacity(block_size * 2 + 1));
auto above_row_at = [&](i32 index) -> Intermediate& {
diff --git a/Userland/Libraries/LibWeb/HTML/NavigatorID.h b/Userland/Libraries/LibWeb/HTML/NavigatorID.h
index ef4318a20d..230466cb79 100644
--- a/Userland/Libraries/LibWeb/HTML/NavigatorID.h
+++ b/Userland/Libraries/LibWeb/HTML/NavigatorID.h
@@ -32,13 +32,13 @@ public:
String product() const { return "Gecko"sv; }
// https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-productsub
- String product_sub() const { return "20030107"sv; } // Compatability mode "Chrome"
+ String product_sub() const { return "20030107"sv; } // Compatibility mode "Chrome"
// https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-useragent
String user_agent() const;
// https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-vendor
- String vendor() const { return "Google Inc."sv; } // Compatability mode "Chrome"
+ String vendor() const { return "Google Inc."sv; } // Compatibility mode "Chrome"
// https://html.spec.whatwg.org/multipage/system-state.html#dom-navigator-vendorsub
String vendor_sub() const { return ""sv; }
diff --git a/Userland/Libraries/LibWeb/Page/EventHandler.cpp b/Userland/Libraries/LibWeb/Page/EventHandler.cpp
index 7c36ee6066..9989a5ab64 100644
--- a/Userland/Libraries/LibWeb/Page/EventHandler.cpp
+++ b/Userland/Libraries/LibWeb/Page/EventHandler.cpp
@@ -669,7 +669,7 @@ bool EventHandler::fire_keyboard_event(FlyString const& event_name, HTML::Browsi
return focused_element->dispatch_event(*event);
}
- // FIXME: De-duplicate this. This is just to prevent wasting a KeyboardEvent alloction when recursing into an (i)frame.
+ // FIXME: De-duplicate this. This is just to prevent wasting a KeyboardEvent allocation when recursing into an (i)frame.
auto event = UIEvents::KeyboardEvent::create_from_platform_event(document->realm(), event_name, key, modifiers, code_point);
if (JS::GCPtr<HTML::HTMLElement> body = document->body())
diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp
index 6b0abf4cf1..b86003b094 100644
--- a/Userland/Services/WebContent/ConnectionFromClient.cpp
+++ b/Userland/Services/WebContent/ConnectionFromClient.cpp
@@ -71,7 +71,7 @@ Web::Page const& ConnectionFromClient::page() const
void ConnectionFromClient::connect_to_webdriver(String const& webdriver_ipc_path)
{
- // FIXME: Propogate this error back to the browser.
+ // FIXME: Propagate this error back to the browser.
if (auto result = m_page_host->connect_to_webdriver(webdriver_ipc_path); result.is_error())
dbgln("Unable to connect to the WebDriver process: {}", result.error());
}
diff --git a/Userland/Services/WebDriver/Session.cpp b/Userland/Services/WebDriver/Session.cpp
index 98ab4d3783..4754b9dff1 100644
--- a/Userland/Services/WebDriver/Session.cpp
+++ b/Userland/Services/WebDriver/Session.cpp
@@ -125,7 +125,7 @@ ErrorOr<void> Session::start()
TRY(Core::System::posix_spawn("/bin/Browser"sv, nullptr, nullptr, const_cast<char**>(argv), environ));
- // FIXME: Allow this to be more asynchronous. For now, this at least allows us to propogate
+ // FIXME: Allow this to be more asynchronous. For now, this at least allows us to propagate
// errors received while accepting the Browser and WebContent sockets.
TRY(promise->await());