Add JS console log message in case of capture failure
Created attachment 406376 [details] Patch
Comment on attachment 406376 [details] Patch Thanks!
Committed r265501: <https://trac.webkit.org/changeset/265501> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406376 [details].
<rdar://problem/66846429>
Comment on attachment 406376 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406376&action=review > Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp:539 > + scriptExecutionContext()->addConsoleMessage(MessageSource::JS, MessageLevel::Error, "A MediaStreamTrack ended due to a capture failure"_s); For future reference, this probably should've used `MessageSource::Media` or `MessageSource::MediaStream`. `MessageSource::JS` is supposed to be for "this comes from JavaScript language logic".