Re: [mediacapture-region] Make CropTarget serializable (#24)

Btw, I realize that CropTarget could be posted over **from another tab** using a BroadcastChannel (even with Storage Partitioning). Moreover, that tab could be closed before deserialization occurs. I wonder if we should then:
* Fail deserialization?
* Set the internal slot to a "weak reference" to an Element that no longer exists?
* Set the internal slot to undefined?
(FWIW, this question would be trivially answered if we said that CropTarget is a UUID, or has a single internal slot that **is** a UUID. Or a unique string other than UUID, for that matter.)

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/pull/24#issuecomment-1082342004 using your GitHub account


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

Received on Tuesday, 29 March 2022 21:07:32 UTC