[compute-pressure] Permission policy needs to be checked when owner set changes (#243)

kenchris has just created a new issue for https://github.com/w3c/compute-pressure:

== Permission policy needs to be checked when owner set changes ==
I will assume that it is quite common that a site using shared workers, will create the worker, then turn on compute pressure in that worker, and then when additional same origin sites are loaded, they will connect to the shared worker.

As currently spec'ed, even if the second site doesn't have appropriate permission policy set, it will be able to receive telemetry data as we only check the permission policy when we start observing.

There doesn't look to be any nice hooks to hook into when owner set changes so we might need to monkey patch

Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/243 using your GitHub account


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

Received on Monday, 6 November 2023 13:38:21 UTC