Re: [mediacapture-region] Refer to getBoundingClientRect as a defintion of the actual crop area (#32)

> Could you point out an example of a Transferable/Serializable object that stores a weak reference to an Element in the original context, and where the weak reference gets replicated in the new context?

MessagePort is pretty close to that model, please have a look.
A MessagePort A has a related MessagePort B to which it sends messages.
When transferring A, a reference to its MessagePort B needs to be as a slot of a DataHolder.
Then when recreating A, the new MessagePort A' will set its MessagePort B from the DataHolder structure.

The spec wording is not using weak reference which I think is fine.
Initially I was not using weak reference here (the GC note was sufficient to me) but adding it makes things a tad clearer I think.
If Chrome is implementing this with UUIDs as the weak reference tool, this is perfectly fine.

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 Tuesday, 29 March 2022 13:31:55 UTC