getPhotoCapabilities and getPhotoSettings reject with an ended track
This CL makes sure InvalidStateError and OperationError are respectively thrown when calling getPhotoCapabilitlies & getSettings if the MediaStreamTrack is ended and stopped while getting photo capabilities and settings. Bug: 1134569 Change-Id: Ie318319885b7796b17cb155ffcd2a81d7f98de17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2445016Reviewed-by:Reilly Grant <reillyg@chromium.org> Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Cr-Commit-Position: refs/heads/master@{#813283}
Showing
Please register or sign in to comment