Closed Bug 1390262 Opened 8 years ago Closed 4 years ago

When Firefox lacks some permission for an action, it should be written in logcat

Categories

(Firefox for Android Graveyard :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: clement.lefevre, Unassigned)

Details

(Keywords: nightly-community, Whiteboard: [mozfr-community])

When Firefox needs some permissions (eg. access to storage to upload files, microphone for WebRTC and so on) and that it doesn't have nor get the permission, it should drop a message in the logcat. The problem that was encountered is a picture hosting platform silently failing to upload files due to missing permission, but no popup appeared, and there was nothing about that missing permission in logcat, leading to a lot of lost time looking for the issue. The problem about permissions that never were asked is filed against bug 1390261.
Whiteboard: [mozfr-community]
One problem is that we don't immediately know all of the places where things fail due to an Android permissions issue. In your case, we simply failed to open the file. It's difficult to know that it was due to an Android permissions issue. There would've been an error reported in JS, but none of the web apps you were using surfaced that. Still, in places where we know we failed due to a permissions problem we should print something.
Priority: -- → P3
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.