Bug 240569

Summary: MediaStreamTrack.getConstraints is empty object
Product: WebKit Reporter: Arjun Vade <avade>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Intel)   
OS: macOS 12   
Attachments:
Description Flags
reprodicble test case none

Description Arjun Vade 2022-05-18 03:55:21 PDT
Created attachment 459533 [details]
reprodicble test case

Steps to reproduce:
- Open the attached html file in safari browser
- Click on the button
- Notice `{}` is printed below the first video element. It should not be empty

The html file invokes getDisplayMedia and then does track.getConstraints() on the resultant track.
Comment 1 Radar WebKit Bug Importer 2022-05-19 06:10:19 PDT
<rdar://problem/93572374>
Comment 2 EWS 2022-05-30 09:48:51 PDT
Committed r295031 (251126@main): <https://commits.webkit.org/251126@main>

Reviewed commits have been landed. Closing PR #778 and removing active labels.