- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 02 Aug 2021 22:11:06 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 3 August 2021 05:11:19 UTC
For constructible interfaces that extend `EventTarget` (e.g., PermissionStatus), it might be good for the spec to provide some guidance around garbage collection. Two examples of where this has come up: * https://github.com/w3c/screen-wake-lock/pull/322 * https://github.com/w3c/permissions/pull/256 Where we basically reusing the text from WebSocket. However, it might be possible to generalize the above into some guidance about keeping a reference global object when registering for the events supported by the object, along with some text about related task sources. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1003
Received on Tuesday, 3 August 2021 05:11:19 UTC