mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb+WebContent: Support window.confirm() in OOPWV
This commit is contained in:
parent
abf7c02acb
commit
1ad65b173b
Notes:
sideshowbarker
2024-07-18 22:27:12 +09:00
Author: https://github.com/awesomekling
Commit: 1ad65b173b
7 changed files with 23 additions and 2 deletions
|
@ -176,4 +176,9 @@ void PageHost::page_did_request_alert(const String& message)
|
|||
m_client.send_sync<Messages::WebContentClient::DidRequestAlert>(message);
|
||||
}
|
||||
|
||||
bool PageHost::page_did_request_confirm(const String& message)
|
||||
{
|
||||
return m_client.send_sync<Messages::WebContentClient::DidRequestConfirm>(message)->result();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue