Closed
Bug 1185917
Opened 9 years ago
Closed 6 years ago
mozCamera exposureCompensation API are broken
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gasolin, Unassigned)
Details
(Keywords: dogfood)
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
Comment 1•9 years ago
|
||
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.
Updated•9 years ago
|
QA Whiteboard: [foxfood-triage]
Component: General → Gaia::Camera
Updated•9 years ago
|
Assignee: nobody → aosmond
Priority: -- → P3
Updated•8 years ago
|
Assignee: aosmond → nobody
Comment 2•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•