<?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>311743</bug_id>
          
          <creation_ts>2026-04-08 11:28:46 -0700</creation_ts>
          <short_desc>NEW-TEST: [macOS] media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html is a constant text failure</short_desc>
          <delta_ts>2026-04-13 15:40:08 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego De La Toba">d_delatoba</reporter>
          <assigned_to name="Diego De La Toba">d_delatoba</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>philn</cc>
    
    <cc>vwatermeier</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2198037</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-08 11:28:46 -0700</bug_when>
    <thetext>media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html is a constant failure on macOS.


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fencrypted-media%2Fmock-navigator-requestMediaKeySystemAccess.html


DIFF URL:
https://build.webkit.org/results/Apple-Tahoe-Release-AppleSilicon-WK2-Tests/310765@main%20(3101)/media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-pretty-diff.html


REPRODUCTION:
I was able to reproduce this with the following command on macOS 26.4 (NOTE: media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-in-background.html, must precede the test in order to cause constant failures)

run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=9 --force -f --clobber-old-results --child-processes 1 media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-in-background.html media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html --release

I am going to mark expectations as pass fail while this pends investigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198038</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-08 11:28:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/174337907&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198040</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-08 11:36:31 -0700</bug_when>
    <thetext>Test gardening pull request: https://github.com/WebKit/WebKit/pull/62285</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198041</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-08 11:45:14 -0700</bug_when>
    <thetext>Test gardening commit 310791@main (edcbc6d56e55): &lt;https://commits.webkit.org/310791@main&gt;

Reviewed commits have been landed. Closing PR #62285 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198042</commentid>
    <comment_count>4</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-08 11:48:07 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62286</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198045</commentid>
    <comment_count>5</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-08 11:52:44 -0700</bug_when>
    <thetext>Failures are from missing mock.unregister() at the end of runTest() in the -in-background test, matching the cleanup pattern already used by the main test. Adding this resolves the failure but arguably the test harness should also be doing this cleanup not just the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198142</commentid>
    <comment_count>6</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-04-08 15:48:22 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62309</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2199432</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2026-04-12 06:54:52 -0700</bug_when>
    <thetext>*** Bug 311845 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2199927</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-13 15:40:05 -0700</bug_when>
    <thetext>Committed 311144@main (ec0c999ff89c): &lt;https://commits.webkit.org/311144@main&gt;

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

    </bug>

</bugzilla>