Re: [mediacapture-region] Should we support strings in addition or in lieu of opaque identifiers? (#46)

Some general thoughts against user agent generated strings.
Lifetime of a CropTarget is well defined. Lifetime of a string value is potentially endless.
If there is some clean-up being made when a CropTarget is GCed, this cannot be easily done when a string gets GCed since the value can be recreated at any point in the future.
For instance, browsers might have a look-up table to identify the process where the element lives from the string value.

To avoid this, using web page provided IDs or using CropTarget serialisation seem more promising approaches.

GitHub Notification of comment by youennf
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Monday, 16 May 2022 07:54:27 UTC