Bug 233540 - Weird JS usage in webrtc/multi-video.html
Summary: Weird JS usage in webrtc/multi-video.html
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
Keywords: InRadar
: 222794 (view as bug list)
Depends on:
Reported: 2021-11-28 03:43 PST by Philippe Normand
Modified: 2021-12-06 09:17 PST (History)
8 users (show)

See Also:

Patch (2.15 KB, patch)
2021-11-28 03:47 PST, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
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
Comment 4 Arcady Goldmints-Orlov 2021-12-06 09:17:48 PST
*** Bug 222794 has been marked as a duplicate of this bug. ***