Closed
Bug 1107683
Opened 10 years ago
Closed 10 years ago
[Camera][Gecko] (Finally) get rid of CameraControl callbacks
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S2 (19dec)
People
(Reporter: mikeh, Assigned: mikeh)
References
Details
(Keywords: dev-doc-needed)
Attachments
(1 file, 3 obsolete files)
127.64 KB,
patch
|
mikeh
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8533972 [details] [diff] [review] Remove method callbacks from CameraControl, v1 Removing r? -- this patch doesn't include the unsolicited event callback removal.
Attachment #8533972 -
Flags: review?(aosmond)
Assignee | ||
Comment 3•10 years ago
|
||
try push: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=b6f016170c93
Attachment #8533972 -
Attachment is obsolete: true
Attachment #8534184 -
Flags: review?(aosmond)
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8534184 [details] [diff] [review] Remove method and attribute callbacks from CameraControl, v2 bz: this patch removes all of the method and attribute callbacks, in favour of promises and events.
Attachment #8534184 -
Flags: review?(bzbarsky)
Comment 5•10 years ago
|
||
Comment on attachment 8534184 [details] [diff] [review] Remove method and attribute callbacks from CameraControl, v2 Review of attachment 8534184 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/camera/DOMCameraControl.cpp @@ -1701,5 @@ > aError, aContext); > return; > } > > - DOM_CAMERA_LOGI("DOM OnUserError aContext=%u, aError=0x%x\n", aContext, aError); We stil need this print. ::: dom/webidl/CameraControl.webidl @@ -351,5 @@ > - stop moving the focus position; it can be used to update a UI element to > - indicate that the camera is still trying to focus, or has finished. Some > - platforms do not support this event, in which case the callback is never > - invoked. */ > - [Pref="camera.control.autofocus_moving_callback.enabled"] Remove this pref from modules/libpref/init/all.js since we no longer use it?
Comment 6•10 years ago
|
||
Comment on attachment 8534184 [details] [diff] [review] Remove method and attribute callbacks from CameraControl, v2 Review of attachment 8534184 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/camera/DOMCameraControl.cpp @@ -1701,5 @@ > aError, aContext); > return; > } > > - DOM_CAMERA_LOGI("DOM OnUserError aContext=%u, aError=0x%x\n", aContext, aError); Missed the addition at the top sorry.
Attachment #8534184 -
Flags: review?(aosmond) → review+
Comment 7•10 years ago
|
||
Comment on attachment 8534184 [details] [diff] [review] Remove method and attribute callbacks from CameraControl, v2 r=me for the webidl changes. I sorta-skimmed part of the rest, but if you want me to actually look at it at all carefully, please let me know.
Attachment #8534184 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #7) > r=me for the webidl changes. I sorta-skimmed part of the rest, but if you > want me to actually look at it at all carefully, please let me know. Nope -- as long as you're fine with the WebIDL, the rest is just deleting the backing code. Thanks!
Assignee | ||
Comment 9•10 years ago
|
||
Fix a couple of broken tests; carrying r+ forward. try-push: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=084cb33dddec
Attachment #8534184 -
Attachment is obsolete: true
Attachment #8534753 -
Flags: review+
Assignee | ||
Comment 10•10 years ago
|
||
Fix the (last?) broken test. Carrying r+ forward. try-push: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=c6ba18aec720
Attachment #8534753 -
Attachment is obsolete: true
Attachment #8534811 -
Flags: review+
Assignee | ||
Comment 11•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/12c5cc6e88b3
https://hg.mozilla.org/mozilla-central/rev/12c5cc6e88b3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S2 (19dec)
Assignee | ||
Updated•9 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•