Closed
Bug 1152381
Opened 9 years ago
Closed 9 years ago
Implement mediaDevices.getSupportedConstraints()
Categories
(Core :: WebRTC: Audio/Video, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla42
backlog | webrtc/webaudio+ |
People
(Reporter: jib, Assigned: jib)
References
()
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
No description provided.
Updated•9 years ago
|
backlog: --- → webRTC+
Rank: 31
Priority: -- → P3
Assignee | ||
Comment 1•9 years ago
|
||
Bug 1152381 - implement mediaDevices.getSupportedConstraints.
Attachment #8628985 -
Flags: review?(rjesup)
Attachment #8628985 -
Flags: review?(bugs)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jib
Assignee | ||
Comment 2•9 years ago
|
||
Q2 stretch goal. Hopefully trivial.
Comment 3•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review10969 If the ID needs revving, do that ::: dom/media/MediaDevices.h:23 (Diff revision 1) > { 0x9a, 0x36, 0x74, 0xa4, 0xd6, 0x71, 0xa6, 0xc8 } } Do we need to rev this id?
Attachment #8628985 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://reviewboard.mozilla.org/r/12495/#review10969 > Do we need to rev this id? I'm pretty sure that's only needed by XPCOM not WebIDL. Smaug?
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(bugs)
Assignee | ||
Comment 5•9 years ago
|
||
The reason for doing this ASAP is that the deviceId constraint (Bug 1037389) is tricky to use if you don't know whether the browser supports it or not (e.g. you end up bugging the user about a microphone and/or camera you didn't want, or you have to browser-sniff).
Assignee | ||
Updated•9 years ago
|
Priority: P3 → P1
Comment 7•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup C++ code should use mozilla coding style, if possible. So, aFoo for argument names? At least add a comment what are the mozilla specific stuff. And if possible, add all the properties from the spec to the dictionary, but if they aren't supported, just don't have default value for them.
Attachment #8628985 -
Flags: review?(bugs) → review-
Assignee | ||
Updated•9 years ago
|
Attachment #8628985 -
Flags: review?(rjesup)
Attachment #8628985 -
Flags: review?(bugs)
Attachment #8628985 -
Flags: review-
Attachment #8628985 -
Flags: review+
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup Bug 1152381 - implement mediaDevices.getSupportedConstraints.
Assignee | ||
Comment 9•9 years ago
|
||
https://reviewboard.mozilla.org/r/12495/#review10969 > I'm pretty sure that's only needed by XPCOM not WebIDL. Smaug? Smaug and bz says it's only for c++ users, of which there are none for MediaDevices.
Assignee | ||
Comment 10•9 years ago
|
||
Put up new webidl version based on feedback from smaug.
Updated•9 years ago
|
Attachment #8628985 -
Flags: review?(rjesup) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review11021 Ship It!
Comment 12•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup I see now that the question was about MediaDevices. So if you had added some new virtual methods there or something, the you should have updated the IID.
Attachment #8628985 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•9 years ago
|
Attachment #8628985 -
Attachment description: MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. → MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup
Attachment #8628985 -
Flags: review?(rjesup)
Attachment #8628985 -
Flags: review?(bugs)
Attachment #8628985 -
Flags: review+
Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review11025 Ship It!
Attachment #8628985 -
Flags: review+
Assignee | ||
Comment 15•9 years ago
|
||
Fixed aResult. Geeen try - https://treeherder.mozilla.org/#/jobs?repo=try&revision=89d663a2fc45 This is ready to go.
Keywords: checkin-needed
Assignee | ||
Comment 16•9 years ago
|
||
This is the same patch for easy landing.
Attachment #8629112 -
Flags: review+
Updated•9 years ago
|
Attachment #8628985 -
Flags: review?(bugs)
Comment 17•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7a874cf3bf8e
Keywords: checkin-needed
Updated•9 years ago
|
Attachment #8628985 -
Flags: review?(rjesup) → review+
Comment 18•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7a874cf3bf8e
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•8 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•