Bug 240569 - MediaStreamTrack.getConstraints is empty object
Summary: MediaStreamTrack.getConstraints is empty object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Intel) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-18 03:55 PDT by Arjun Vade
Modified: 2022-05-30 09:48 PDT (History)
3 users (show)

See Also:


Attachments
reprodicble test case (1.27 KB, text/html)
2022-05-18 03:55 PDT, Arjun Vade
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.