mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWebView+WebContent: Port JS console handling to String
This commit is contained in:
parent
bbcd8bd97c
commit
a8d3252f93
Notes:
github-actions[bot]
2025-02-28 12:09:54 +00:00
Author: https://github.com/trflynn89
Commit: a8d3252f93
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3686
14 changed files with 58 additions and 56 deletions
|
@ -393,14 +393,14 @@ void ViewImplementation::debug_request(ByteString const& request, ByteString con
|
|||
client().async_debug_request(page_id(), request, argument);
|
||||
}
|
||||
|
||||
void ViewImplementation::run_javascript(StringView js_source)
|
||||
void ViewImplementation::run_javascript(String js_source)
|
||||
{
|
||||
client().async_run_javascript(page_id(), js_source);
|
||||
client().async_run_javascript(page_id(), move(js_source));
|
||||
}
|
||||
|
||||
void ViewImplementation::js_console_input(ByteString const& js_source)
|
||||
void ViewImplementation::js_console_input(String js_source)
|
||||
{
|
||||
client().async_js_console_input(page_id(), js_source);
|
||||
client().async_js_console_input(page_id(), move(js_source));
|
||||
}
|
||||
|
||||
void ViewImplementation::js_console_request_messages(i32 start_index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue