ladybird/Services/WebContent
Luke Wilde 8dc8835b64 LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default
The autoplay setting was binary and its default blocked all media,
including muted video, leaving sites that rely on muted autoplay
visibly broken. Replace it with a tri-state user-agent autoplay
policy (allow audio and video, block audio, or block audio and video)
defaulting to allowing only inaudible media to autoplay.

This is enforced through the media element's "allowed to play" check,
so unmuting a muted autoplay or calling `play()` cannot slip audio
past the policy; audible playback is permitted once the document has
been activated by the user. The policy lives in a dedicated
AutoplaySettings consulted from HTMLMediaElement instead of the
Permissions Policy "allowed to use feature" check it was previously
conflated with.
2026-06-19 09:41:32 +02:00
..
CMakeLists.txt LibSandbox: Add macOS service sandboxing 2026-06-10 21:16:41 +02:00
CompositorConnection.cpp LibGfx+LibWeb+Compositor+WebContent: Commit 2D canvas flushes atomically 2026-06-19 00:01:26 +02:00
CompositorConnection.h LibGfx+LibWeb+Compositor+WebContent: Commit 2D canvas flushes atomically 2026-06-19 00:01:26 +02:00
ConnectionFromClient.cpp LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
ConnectionFromClient.h LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
ConsoleGlobalEnvironmentExtensions.cpp WebContent: Make more use of Value::as_if 2026-02-28 10:24:37 -05:00
ConsoleGlobalEnvironmentExtensions.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
DevToolsConsoleClient.cpp LibJS: Drop source ranges from bytecode source maps 2026-05-14 09:41:03 +02:00
DevToolsConsoleClient.h LibJS+LibWeb: Make DOMException hold an [[ErrorData]] slot 2026-04-08 20:33:53 +02:00
Forward.h Compositor+LibWebView+WebContent: Scaffold opt-in Compositor process 2026-05-22 19:50:42 +01:00
main.cpp LibWebView+WebContent: Stop creating GPU Skia backend in WebContent 2026-06-18 10:25:44 +02:00
PageClient.cpp LibWeb+WebContent+WebWorker: Drop display list player type selection 2026-06-18 10:25:44 +02:00
PageClient.h LibWeb+WebContent+WebWorker: Drop display list player type selection 2026-06-18 10:25:44 +02:00
PageHost.cpp LibWeb+WebContent: Restore canvas contexts after Compositor loss 2026-06-17 19:07:32 +02:00
PageHost.h LibWeb+WebContent: Restore canvas contexts after Compositor loss 2026-06-17 19:07:32 +02:00
WebContentClient.ipc LibWeb: Stabilize same-document history mirrors 2026-06-16 00:00:38 +02:00
WebContentCompositorHost.cpp LibGfx+LibWeb+Compositor+WebContent: Commit 2D canvas flushes atomically 2026-06-19 00:01:26 +02:00
WebContentCompositorHost.h LibWebView+WebContent: Remove compositor thread option 2026-05-25 00:45:24 +02:00
WebContentConsoleClient.cpp LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
WebContentConsoleClient.h WebContent: Replace WeakPtr/Weakable with GC::Ptr for console client 2026-01-30 20:57:42 +01:00
WebContentServer.ipc LibWeb+LibWebView+WebContent: Allow muted media to autoplay by default 2026-06-19 09:41:32 +02:00
WebDriverClient.ipc LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
WebDriverConnection.cpp WebContent: Read WebDriver file uploads in the unsandboxed UI process 2026-06-16 14:55:41 +02:00
WebDriverConnection.h LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
WebDriverServer.ipc LibWebView: Keep browser history in the UI process 2026-06-14 17:38:44 +02:00
WebUIClient.ipc LibWeb+LibWebView+WebContent: Introduce a WebUI framework 2025-03-28 07:31:10 -04:00
WebUIConnection.cpp WebContent: Terminate immediately on client disconnect 2026-06-04 19:20:49 +02:00
WebUIConnection.h LibIPC+LibWeb+LibWebView+Services: Add IPC::TransportHandle 2026-03-12 20:32:55 +01:00
WebUIServer.ipc LibWeb+LibWebView+WebContent: Introduce a WebUI framework 2025-03-28 07:31:10 -04:00