Closed
Bug 1091820
Opened 10 years ago
Closed 10 years ago
[Camera] Add hasOwnProperty() check to recorderProfiles loop
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mikeh, Assigned: justindarc)
References
Details
Attachments
(1 file)
Adding serialization to the CameraCapabilities breaks this loop:
https://github.com/mozilla-b2g/gaia/blob/master/apps/camera/js/lib/format-recorder-profiles.js#L23
...because "toJSON" shows up as a profile. Need to add a call to hasOwnProperty() in the loop first, to unblock bug 1011606.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jdarcangelo
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8514515 -
Flags: review?(mhabicher)
Reporter | ||
Updated•10 years ago
|
Attachment #8514515 -
Flags: review?(mhabicher) → review+
Reporter | ||
Comment 2•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•