webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
742 stars 65 forks source link

www.smartsearchsecure.com - unable to initialize the video camera #116931

Open gijsk opened 1 year ago

gijsk commented 1 year ago

URL: https://www.smartsearchsecure.com/doccheck/****

Browser / Version: Firefox 109.0 Operating System: Mac OS X 10.15 Tested Another Browser: Yes Chrome

Problem type: Site is not usable Description: Browser unsupported Steps to Reproduce: Clicking the "Take Photo" button requests camera permissions. But after giving camera permissions, an error dialog pops up from the website saying Something went wrong while trying to initialize the video camera.

Having debugged the website JS, this is because the site is trying to access the getCapabilities API on the video track provided by the camera. Firefox hasn't implemented this API - https://bugzilla.mozilla.org/show_bug.cgi?id=1179084 - and the site doesn't feature-detect.

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

gijsk commented 1 year ago

I've contacted the company via the form on https://www.smartsearch.com/contact-us .

sv-calin commented 1 year ago

Thanks for the report. Could you test this issue on the latest Nightly with a clean profile as well? or do you have to make a new request in order to test this again?

[qa_03/2023]

gijsk commented 1 year ago

I won't be able to retest but I did test in Nightly, too. This is definitely related to the non-implemented API on the gecko side, I just figured it was useful to get it all documented in a web compat bug.

sv-calin commented 1 year ago

Alright, moving this to needsdiagnosis based on the documentation provided by @gijsk .

[inv_03/2023]