Bug 270453
| Summary: | REGRESSION: American Councils NEWL exam doesn't support Safari (navigator.getUserMedia missing) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Media | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | jer.noble, karlcow, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=189040 | ||
Alexey Proskuryakov
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
youenn fablet
Hopefully we can use Quirks::shouldEnableLegacyGetUserMediaQuirk for a short term fix.
Radar WebKit Bug Importer
<rdar://problem/124017544>
Karl Dubost
The domain according to the doc is
> First, log in to exams.actesting.org
Karl Dubost
See also https://github.com/whatwg/compat/issues/266
and https://github.com/w3c/mediacapture-main/issues/992
Karl Dubost
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
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/47724
EWS
Committed 297174@main (7011c344b0a9): <https://commits.webkit.org/297174@main>
Reviewed commits have been landed. Closing PR #47724 and removing active labels.