Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Storage.OverrideQuotaForOriginRequest

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Storage.OverrideQuotaForOriginRequest
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { OverrideQuotaForOriginRequest } = Protocol.Storage;

Properties

origin: string

Security origin.

optional
quotaSize: number

The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).