mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWebView+WebContent+UI: Migrate to the new autoplay settings
This removes the old autoplay allowlist file in favor of the new site setting. We still support the command-line flag to enable autoplay globally, as this is needed for WPT.
This commit is contained in:
parent
223b04f087
commit
ed265b568d
Notes:
github-actions[bot]
2025-03-30 15:20:08 +00:00
Author: https://github.com/trflynn89
Commit: ed265b568d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4146
Reviewed-by: https://github.com/tcl3 ✅
20 changed files with 17 additions and 137 deletions
|
@ -275,11 +275,6 @@ struct HideCursor {
|
|||
m_web_view_bridge->debug_request(request, argument);
|
||||
}
|
||||
|
||||
- (void)setEnableAutoplay:(BOOL)enabled
|
||||
{
|
||||
m_web_view_bridge->set_enable_autoplay(enabled);
|
||||
}
|
||||
|
||||
- (void)viewSource
|
||||
{
|
||||
m_web_view_bridge->get_source();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue