Closed Bug 1539389 Opened 5 years ago Closed 2 years ago

The "Take Picture" button is clickable and dismisses the error message after the camera access is not allowed

Categories

(Cloud Services :: Server: Firefox Accounts, defect)

defect
Not set
normal

Tracking

(firefox66 unaffected, firefox67 unaffected, firefox68 affected)

RESOLVED FIXED
Tracking Status
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 --- affected

People

(Reporter: tbabos, Unassigned)

Details

Attachments

(2 files)

Attached video Video of the issue

Affected versions:
Firefox Nightly 68.0a1 (2019-03-26)

Affected platforms:

Windows 7/10
Mac OS 10.13
Ubuntu 16.04

Steps to reproduce:

  • Launch Firefox Nightly with a profile that has Sync account logged in
  • Go to Manage Account...
  • Click "Change" for Account picture
  • Select to change the avatar picture via Camera
  • Don't allow the camera permission
  • Click on the "Take picture" button even if it is grayed out

Expected result:

  • The "Take picture" button should not be clickable
  • The user should have only the option to Cancel and close the camera preview page

Actual result:

  • The user can click on the "Take picture" button and the error message will be dismissed
  • A blank page will remain displayed unless the user closes it using "Cancel"

Mark, is this the best place for this bug, or are bugs with the "manage account" functionality tracked on github?

Looks like the web app doesn't react to the permission being denied - according to MDN, https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia , there should be a NotAllowedError that you can key off.

No longer blocks: 1524665
Component: Sync → Firefox Accounts
Flags: needinfo?(markh)

+Shane for further triage from FxA perspective.

I think we've decided on "Cloud Services :: Server: Firefox Accounts" for bugs in the web UI. (But we watch all the components, so anywhere Sync- or FxA-related is fine, really).

Component: Firefox Accounts → Server: Firefox Accounts
Flags: needinfo?(markh)
Product: Firefox → Cloud Services
Attached image image.png

There is now an error and the button is unclickable.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: