Bug 256130 - [GLIB] Disabling MSE via the mediasource websetting has no effect
Summary: [GLIB] Disabling MSE via the mediasource websetting has no effect
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-29 06:57 PDT by Philippe Normand
Modified: 2023-04-29 06:57 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2023-04-29 06:57:43 PDT
Most likely since 2019: https://commits.webkit.org/211106@main

The DocumentLoader re-enables the feature, unconditionally...

    m_frame->settings().setMediaSourceEnabled(m_mediaSourcePolicy == MediaSourcePolicy::Default ? Settings::platformDefaultMediaSourceEnabled() : m_mediaSourcePolicy == MediaSourcePolicy::Enable);

in our ports Settings::platformDefaultMediaSourceEnabled() returns true and we don't use the MediaSourcePolicy API.