Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Privacy considerations for cached/persisted data #254

Closed
krgovind opened this issue Feb 22, 2022 · 4 comments · Fixed by #259
Closed

Privacy considerations for cached/persisted data #254

krgovind opened this issue Feb 22, 2022 · 4 comments · Fixed by #259
Labels
privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response.

Comments

@krgovind
Copy link

krgovind commented Feb 22, 2022

[Leaving feedback on behalf of Chrome privacy reviewers]

Does the API result in any data bring cached/persisted in the browser, or by the hardware accelerators? For example, do you have any compilation caches similarly to WebGL/WebGPU shaders?

  • Any new cache/storage should be partitioned as per storage partitioning work that is currently underway in browsers.
  • Deletion operations (e.g. when a user clears site data in the browser) should be defined for such data.
@anssiko anssiko added the privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response. label Mar 17, 2022
@anssiko
Copy link
Member

anssiko commented Mar 17, 2022

@krgovind thanks for bringing this privacy issue to our attention. We're tracking this issues as part of the wide review #239.

@RafaelCintron
Copy link
Collaborator

@krgovind , the WebNN spec does not support custom shaders authoring by web developers like WebGL and WebGPU do. Instead, you assemble pre-existing shaders and lower level primitives that come with the browser or the underlying OS. It behaves more like features such as CSS filters, 2D canvas, SVG path drawing, gradients, font rendering, etc. Unless I am missing something, I don't see these features in the lists you linked. If there are efforts to partition these, I'd like to learn more about that.

@krgovind
Copy link
Author

@RafaelCintron - We are not aware of cross-site caches for CSS filters, 2D canvas, SVG path drawing, gradients, font rendering, etc.; but please let us know if you are aware of global caches that need to be considered for partitioning.

Thank you for confirming that WebNN does not support custom shaders. In that case, I'd recommend documenting under the Privacy Considerations section that no associated caches, or persisted data is associated with the API; and close this issue.

@anssiko
Copy link
Member

anssiko commented Mar 22, 2022

Here's the first stab PR: #259

@RafaelCintron @krgovind PTAL and suggest improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
privacy-tracker Group bringing to attention of Privacy, or tracked by the Privacy Group but not needing response.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants