<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>292638</bug_id>
          
          <creation_ts>2025-05-06 16:19:33 -0700</creation_ts>
          <short_desc>[GTK][WPE] Enable media-capabilities by default</short_desc>
          <delta_ts>2025-05-07 10:57:44 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=187847</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2115485</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2025-05-06 16:19:33 -0700</bug_when>
    <thetext>media-capabilities &lt;https://w3c.github.io/media-capabilities&gt; is a mature spec well supported by the 3 main web engines.

GTK and WPE support it with a WPT pass-rate of 88%

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 321 checks (309 subtests, 12 tests)
Expected results: 282
Unexpected results: 39
  subtest: 39 (39 fail)


The feature is currently under a run-time flag WebKitSettings:allow-file-access-from-file-urls that is exposed on the Glib public API but is turned off by default.

And I see no reason to keep this off by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2115486</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-05-06 16:21:26 -0700</bug_when>
    <thetext>What does media capabilities have to do with allow-file-access-from-file-urls...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2115491</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2025-05-06 16:28:48 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/45032</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2115492</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2025-05-06 16:29:43 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #1)
&gt; What does media capabilities have to do with
&gt; allow-file-access-from-file-urls...?

it was a typo (copied the wrong thing), i already fixed that on the commit log in the PR above</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2115677</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-05-07 10:57:42 -0700</bug_when>
    <thetext>Committed 294625@main (3366873df55a): &lt;https://commits.webkit.org/294625@main&gt;

Reviewed commits have been landed. Closing PR #45032 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>