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 https://github.com/w3c/mediacapture-region/issues/46#issuecomment-1127347681 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

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