Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
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

Open

Description

@sanjalijha

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?

Activity

  1. jkarlin commented on Jul 10, 2024

    @jkarlin
    Collaborator

    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.

  2. sanjalijha commented on Jul 10, 2024

    @sanjalijha
    Author

    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.

  3. jkarlin commented on Jul 10, 2024

    @jkarlin
    Collaborator

    No, there is no current API to access either of the per-page budgets.

  4. sanjalijha commented on Jul 16, 2024

    @sanjalijha
    Author

    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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions