You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Tracking the Short Term Shared Storage Entropy Budget #165
The long term entropy budget can be tracked in the DevTools/Application panel. Can we get support for tracking the Short Term per page load/ per origin budgets as well.
What is the best way to check these budgets in a page load session?
Displaying the budget in devtools seems reasonable to me. Will look into that.
In regards to checking the budget within a page load, we have a per-page budget per origin and a total budget for all origins. I think it would be okay privacy+security wise to expose the per-page per-origin budget to a context of that origin, but the total cross-origin budget would be a cross-site leak so we couldn't expose that one. So, not sure if that's particularly useful.
Thanks! That makes sense. Is there currently a way to check the remaining (per-page per-origin) budget of a page load? The function remainingBudget can only we called from within a worklet.
Just to clarify, is there a command we can run currently in the DevTools Console and access the per-origin / per-page budget currently? (Before it is displayed as a UI Element)
Activity
jkarlin commentedon Jul 10, 2024
Displaying the budget in devtools seems reasonable to me. Will look into that.
In regards to checking the budget within a page load, we have a per-page budget per origin and a total budget for all origins. I think it would be okay privacy+security wise to expose the per-page per-origin budget to a context of that origin, but the total cross-origin budget would be a cross-site leak so we couldn't expose that one. So, not sure if that's particularly useful.
sanjalijha commentedon Jul 10, 2024
Thanks! That makes sense. Is there currently a way to check the remaining (per-page per-origin) budget of a page load? The function remainingBudget can only we called from within a worklet.
jkarlin commentedon Jul 10, 2024
No, there is no current API to access either of the per-page budgets.
sanjalijha commentedon Jul 16, 2024
Just to clarify, is there a command we can run currently in the DevTools Console and access the per-origin / per-page budget currently? (Before it is displayed as a UI Element)