<?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>270453</bug_id>
          
          <creation_ts>2024-03-04 09:50:53 -0800</creation_ts>
          <short_desc>REGRESSION: American Councils NEWL exam doesn&apos;t support Safari (navigator.getUserMedia missing)</short_desc>
          <delta_ts>2025-07-09 11:52:00 -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>Media</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=189040</see_also>
          <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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2018449</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2024-03-04 09:50:53 -0800</bug_when>
    <thetext>NEWL is an AP-like language exam endorsed by the College Board, https://www.americancouncils.org/national-examinations-world-languages-newl

Its computer setup instructions https://exams.actesting.org/docs/NEWL_Practice_Setup.pdf mention that Safari is not supported, there is a UA check when trying to take the exam, and indeed, even with UA spoofing browser check does fail.

The reason for the failure is that this works in Chrome and Firefox, but not in Safari:

		  navigator.getUserMedia = ( navigator.getUserMedia ||
		  navigator.webkitGetUserMedia ||
		  navigator.mozGetUserMedia ||
		  navigator.msGetUserMedia);

We are the only ones who have completely removed getUserMedia from navigator - Firefox still has navigator.mozGetUserMedia, and Chrome has both navigator.getUserMedia and navigator.webkitGetUserMedia.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018457</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-03-04 10:00:50 -0800</bug_when>
    <thetext>Hopefully we can use Quirks::shouldEnableLegacyGetUserMediaQuirk for a short term fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018474</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-04 10:14:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/124017544&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018986</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-03-05 21:33:47 -0800</bug_when>
    <thetext>The domain according to the doc is 

&gt; First, log in to exams.actesting.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018987</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-03-05 21:34:38 -0800</bug_when>
    <thetext>See also https://github.com/whatwg/compat/issues/266
and https://github.com/w3c/mediacapture-main/issues/992</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018988</commentid>
    <comment_count>5</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-03-05 21:36:26 -0800</bug_when>
    <thetext>An outreach effort has been started. 
Just in case there is a need for a quirk, it would require to confirm with them that the domain name to quirk is actesting.org and add it in

https://searchfox.org/wubkat/rev/bc31443b84ccca0f8fb615b8247c55f600b7dee1/Source/WebCore/page/Quirks.cpp#1040-1051</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2128485</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2025-07-08 10:52:20 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/47724</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2128758</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-07-09 11:51:58 -0700</bug_when>
    <thetext>Committed 297174@main (7011c344b0a9): &lt;https://commits.webkit.org/297174@main&gt;

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

    </bug>

</bugzilla>