mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
![Andrew Osmond](/assets/img/avatar_default.png)
We cannot access ClientWebGLContext::mCanvasElement or its associated nsIPrincipal off the main thread. We use the hash value of the principal to limit how many WebGL contexts a single domain can create. We can compute this when the worker is initialized for OffscreenCanvas worker instances. Differential Revision: https://phabricator.services.mozilla.com/D128530