Bug 233540

Summary: Weird JS usage in webrtc/multi-video.html
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: Tools / TestsAssignee: Philippe Normand <pnormand>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Philippe Normand 2021-11-28 03:43:32 PST
video1.srcObject = new MediaStream(stream.getVideoTracks([0]));

doesn't make much sense? Should be 

video1.srcObject = new MediaStream([stream.getVideoTracks()[0]]);
Comment 1 Philippe Normand 2021-11-28 03:47:00 PST
Created attachment 445237 [details]
Patch
Comment 2 EWS 2021-11-28 10:19:26 PST
Committed r286194 (244576@main): <https://commits.webkit.org/244576@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445237 [details].
Comment 3 Radar WebKit Bug Importer 2021-11-28 10:20:27 PST
<rdar://problem/85788713>
Comment 4 Arcady Goldmints-Orlov 2021-12-06 09:17:48 PST
*** Bug 222794 has been marked as a duplicate of this bug. ***