mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 04:02:52 +00:00
LibWeb: Fix typos - act II
This commit is contained in:
parent
86be8abfbf
commit
5cc371d54c
Notes:
github-actions[bot]
2025-04-09 14:06:24 +00:00
Author: https://github.com/szepeviktor
Commit: 5cc371d54c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4264
Reviewed-by: https://github.com/AtkinsSJ ✅
30 changed files with 69 additions and 69 deletions
|
@ -688,7 +688,7 @@ NonnullRefPtr<Core::Promise<LexicalPath>> ViewImplementation::take_screenshot(Sc
|
|||
auto promise = Core::Promise<LexicalPath>::construct();
|
||||
|
||||
if (m_pending_screenshot) {
|
||||
// For simplicitly, only allow taking one screenshot at a time for now. Revisit if we need
|
||||
// For simplicity, only allow taking one screenshot at a time for now. Revisit if we need
|
||||
// to allow spamming screenshot requests for some reason.
|
||||
promise->reject(Error::from_string_literal("A screenshot request is already in progress"));
|
||||
return promise;
|
||||
|
@ -720,7 +720,7 @@ NonnullRefPtr<Core::Promise<LexicalPath>> ViewImplementation::take_dom_node_scre
|
|||
auto promise = Core::Promise<LexicalPath>::construct();
|
||||
|
||||
if (m_pending_screenshot) {
|
||||
// For simplicitly, only allow taking one screenshot at a time for now. Revisit if we need
|
||||
// For simplicity, only allow taking one screenshot at a time for now. Revisit if we need
|
||||
// to allow spamming screenshot requests for some reason.
|
||||
promise->reject(Error::from_string_literal("A screenshot request is already in progress"));
|
||||
return promise;
|
||||
|
@ -749,7 +749,7 @@ NonnullRefPtr<Core::Promise<String>> ViewImplementation::request_internal_page_i
|
|||
auto promise = Core::Promise<String>::construct();
|
||||
|
||||
if (m_pending_info_request) {
|
||||
// For simplicitly, only allow one info request at a time for now.
|
||||
// For simplicity, only allow one info request at a time for now.
|
||||
promise->reject(Error::from_string_literal("A page info request is already in progress"));
|
||||
return promise;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue