Sometimes getUserMedia promise will be resolved and autoplay will not be disabled as the promise resolves before the stream is producing data and the document knows it is capturing. We may want to delay promise resolution until the stream is ready to produce data.
Created attachment 329119 [details] Patch
Created attachment 329130 [details] Patch
Created attachment 329148 [details] Rebasing
Comment on attachment 329148 [details] Rebasing View in context: https://bugs.webkit.org/attachment.cgi?id=329148&action=review > Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:260 > + { Nit: indentation.
Created attachment 329166 [details] Patch for landing
Comment on attachment 329166 [details] Patch for landing Clearing flags on attachment: 329166 Committed r225828: <https://trac.webkit.org/changeset/225828>
All reviewed patches have been landed. Closing bug.
<rdar://problem/36010366>