mozCamera exposureCompensation API are broken

RESOLVED WONTFIX

Status

P3
normal
RESOLVED WONTFIX
3 years ago
8 months ago

People

(Reporter: gasolin, Unassigned)

Tracking

({dogfood})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
From Foxfooding feedback
https://groups.google.com/a/mozilla.com/forum/#!topic/foxfood-feedback/qbz_1rint_I

I used to have camera which can adjust the exposure for outdoor photos. So I tried to write an addon to manually add exposure functions.

The interesting fact is the mozCamera exposure API part of MDN doc is incorrect . By exploring with WebIDE, I found:

1. Can use `window.app.camera` to access.capabilities.min/max/step of ExposureCompensation;

2. getter of exposureCompensation is not available in camera instance, so I can't get current exposure compensation
https://developer.mozilla.org/en-US/docs/Web/API/CameraControl/exposureCompensation

3. setter of exposureCompensation is not available in camera instance, so I can't set exposure compensation
https://developer.mozilla.org/en-US/docs/Web/API/CameraControl/setExposureCompensation
(Reporter)

Updated

3 years ago
Keywords: dogfood
The MDN documentation is out of date as of bug 1020497 (June 2014).

The correct usage is to just read/write the .exposureCompensation attribute of CameraControl, subject to the constraints of CameraCapabilities.min/maxExposureCompensation.
QA Whiteboard: [foxfood-triage]
Component: General → Gaia::Camera

Updated

3 years ago
Assignee: nobody → aosmond
Priority: -- → P3
Assignee: aosmond → nobody

Comment 2

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.