205 features tagged with this topic.
Enabled by default (106)
Websites can set a well-known URL for changing password `/.well-known/change-password` to be redirected to its change password page to help users change their password quickly. Chrome leverages this URL to help users change their passwords when it detects a weak password in the user's password storage.
An interestGroups() method is added to the shared storage worklet, to return the Protected Audience interest groups associated with the shared storage origin's owner, with some additional metadata.
This API provides the Protected Audience buyer with a better picture of what's happening with their users, allowing for Private Aggregation reports.
For quota accounting purposes, the size of cross-origin AppCache resources will be padded. Cross-origin resources are resources whose origin differs from the manifest's origin. The size padding will be a random number, uniformly distributed between 0 and about 14MB.
Quota accounting purposes include the size reported by the Quota API and quota enforcement (an origin's storage API calls are blocked when the origin exceeds its quota).
Also tagged: Progressive Web Apps
Manifests previously allowed overriding any URL within a given origin. Scope checking is being introduced to ensure only URLs within a manifest's scope can be overridden. The default manifest scope will be the path to the manifest's enclosing directory. Sites that desire a manifest be given a broader scope can add a response header "X-AppCache-Allowed: /" to manifest responses to preserve the previous behavior.
Also tagged: Progressive Web Apps Security & Authentication
Large blobs previously blocked the renderer while transferring data to the browser. This is now asynchronous, which speeds up blob construction. This is the first part of the plan to allow blob data to be saved on disk, which removes the 500MB limit on blob storage.
Currently the aggregation key identifier length limit (https://wicg.github.io/attribution-reporting-api/#max-length-per-aggregation-key-identifier) is checked in both source and trigger registrations.
As this limit is not for privacy and it's not persisted in the storage, we are removing this limit in trigger registrations. This is consistent with other fields in the trigger registrations, e.g. filters and scopes, whose size is only checked in source registrations, but not trigger registrations.
Also tagged: Privacy & Identity
Render-initiated navigations to filesystem:// URLs are blocked in top-level frames, but for some reason allowed in iframes. As part of the storage partitioning efforts, we propose to remove support for third party contexts, and consistently block navigation to filesystem:// URLs everywhere.
See https://chromestatus.com/metrics/feature/timeline/popularity/4077 for usage details (currently extremely low).
This feature mitigates bounce tracking on the web. It works by deleting state from sites that access storage during a redirect that the user has never directly interacted with. See the specification for more details.
Also tagged: Privacy & Identity
Bounce tracking mitigations for the HTTP cache is an extension to existing anti-bounce-tracking behavior. It removes the requirement that a suspected tracking site must have performed storage access in order to activate bounce tracking mitigations.
Chrome's initially proposed bounce tracking mitigation solution triggers when a site accesses browser storage (e.g. cookies) during a redirect flow. However, bounce trackers can systematically circumvent such mitigations by using the HTTP cache to preserve data. By relaxing the triggering conditions for bounce tracking mitigations, the browser should be able to catch bounce trackers using the HTTP cache.
Also tagged: Privacy & Identity
Cache API exposed to window and worker contexts (not just service worker) shipped in Chrome 43. As of Chrome 46, the API is restricted to secure origins (HTTPS only), per https://github.com/slightlyoff/ServiceWorker/issues/709
Also tagged: Performance & Scheduling Progressive Web Apps
addAll() takes an array of RequestInfo objects, fetches them and adds the response objects into this Cache object.
Also tagged: Performance & Scheduling
matchAll() returns a promise to be resolved with an array of all matched responses in the Cache object.
Also tagged: Performance & Scheduling
A ‘Clear-Site-Data’ HTTP header prompts the user agent to clear browsing data associated with the requesting website. The supported browsing data types are cookies, storage (i.e. “site data”), and cache.
This is a privacy and security enhancing feature. A sensitive website can trigger local data deletion after the user signs out. A website dealing with a persistent XSS attack can use this to ‘reset’ itself to a clean state.
Also tagged: Privacy & Identity Security & Authentication
Websites will now be able to clear all storage targets (“cookies”, “cache”, and “storage”) by sending `Clear-Site-Data: “*”`. Note that Chrome does not support clearing “executionContexts” at the moment, but if we added it in the future any header targeting “*” would then clear them too.
Also tagged: Privacy & Identity
This proposes to expose read-only files on the clipboard to renderers using a similar approach to drag-and drop.
Renderers will have access to read files from the clipboard, but not write files to the clipboard. For files on the clipboard, renderers will have read-only access.
async function onPaste(e) {
let file = e.clipboardData.files[0];
let contents = await file.text();
}
Also tagged: Progressive Web Apps
COLR/CPAL fonts are one type of OpenType color fonts. These fonts compose layers of vector outline glyphs and color palette information into the final colored glyph. With this change, Chrome will support 3 color font formats cross-platform, the other two being CBDT/CBLC and SBIX. Because they are vector based, COLR/CPAL fonts provide for faster downloads and require less storage. An example of a COLR/CPAL font is the Twemoji color font (https://github.com/mozilla/twemoji-colr).
Also tagged: Fonts & Text
This feature adds support for using designated previous responses, as an external dictionary for content encoding compressing responses with Brotli or Zstandard.
Enterprises might experience potential compatibility issues with enterprise network infrastructure that intercepts HTTPS traffic and is sensitive to unknown content encodings. The enterprise policy "CompressionDictionaryTransportEnabled" is available to turn off the compression dictionary transport feature.
When cookies are set with an explicit Expires/Max-Age attribute the value will now be capped to no more than 400 days in the future. Previously, there was no limit and cookies could expire as much as multiple millennia in the future.
Also tagged: Privacy & Identity
Since M104 cookies newly created or updated with an expiration date would have that date capped at no more than 400 days in the future. This same limit will now be retroactively applied to cookies already in storage to cap their expiration dates to no more than 400 days after the first time Chrome M119+ starts up and does a one time database migration. The impact of this change will not be felt by users until at least 400 days after M119 is released, and then only for existing cookies that have not been updated in that period.
Also tagged: Privacy & Identity
The Cookie Store API exposes HTTP cookies to service workers and offers an asynchronous alternative to document.cookie.
Also tagged: Performance & Scheduling Privacy & Identity Progressive Web Apps Security & Authentication
Treat cookies as SameSite=Lax by default if no SameSite attribute is specified. Developers are still able to opt-in to the status quo of unrestricted use by explicitly asserting SameSite=None.
This feature is available as of Chrome 76 by enabling the same-site-by-default-cookies flag.
This feature will be rolled out gradually to Stable users starting July 14, 2020. See https://www.chromium.org/updates/same-site for full timeline and more details.
Also tagged: Privacy & Identity
Chrome 128 adds a cross-site ancestor bit to the keying of the partitioned cookie's CookiePartitionKey. This change unifies the partition key with the partition key values used in storage partitioning and adds protection against clickjacking attacks by preventing cross-site embedded frames from having access to the top-level-site's partitioned cookies.
If an enterprise experiences any breakage with embedded iframes, they can use the CookiesAllowedForUrls policy or use SameSite=None cookies without the Partitioned attribute and then invoke the Storage Access API (SAA) to ensure that embedded iframes have access to the same cookies as the top level domain.
Also tagged: Privacy & Identity
Dedicated workers will inherit the "storage access status" of the parent context. I.e., if a document obtains storage access via `document.requestStorageAccess` and then creates a dedicated worker, the worker will also have storage access (and be able to access unpartitioned cookies).
Also tagged: Performance & Scheduling Privacy & Identity
New behaviors by this feature: 1) dedicated workers will be real service worker clients and they will be exposed via the Clients API. `Clients.matchAll({‘type’: ‘worker’})` will include dedicated workers. The ‘type’ option is an opt-in option and `Clients.matchAll()` returns only window clients by default. 2) dedicated workers will be controlled by their own service worker matched with the dedicated worker script URL.
Also tagged: Performance & Scheduling Progressive Web Apps
We intend to deprecate and remove usage of WebSQL in third party contexts. Deprecation is targeted for M94 and removal is targeted for M97.
Also tagged: Privacy & Identity
We plan to deprecate support of the window.PERSISTENT quota type in requestFileSystem().
Currently, web developers can use PerformanceObserver with buffered flag to listen to past and future performance entries about their site. However, past entries need to be stored, and there is a buffer size limit. The droppedEntriesCount parameter helps developers know if they may have lost an entry due to this storage being full. It's set to the number of entries which got dropped from the buffer due to such buffer being full.
Also tagged: Performance & Scheduling
This launches the proposed extension of the Storage Access API (backwards compatible and currently in OT) to allow access to unpartitioned cookie and non-cookie storage in a third-party context. The current API only provides access to cookies, which have different use-cases than non-cookie storage (discussed more in the Motivation section). The API can be used as follows (JS running in an embedded iframe):
// Request a new storage handle via rSA (this may prompt the user)
let handle = await document.requestStorageAccess({all: true});
// Write some 1P context sessionstorage
handle.sessionStorage.setItem("userid", "1234");
// Write some 1P context localstorage
handle.localStorage.setItem("preference", "A");
// Open or create an indexedDB that is shared with the 1P context
let messageDB = handle.indexedDB.open("messages");
// Use locks shared with the 1P context
await handle.locks.request(“example”, …);
The same flow would be used by iframes to get a storage handle when their top-level ancestor successfully called requestStorageAccessFor, just that in this case the storage-access permission was already granted and thus the requestStorageAccess call would not require a user gesture or show a prompt, allowing for “hidden” iframes accessing storage.
Also tagged: JavaScript Language Performance & Scheduling Privacy & Identity Security & Authentication
Reconciles the FedCM and Storage Access APIs by making a prior FedCM grant a valid reason to automatically approve a storage access request.
When a user grants permission for using their identity with a 3rd party Identity Provider (IdP) on a Relying Party (RP), many IdPs require third-party cookies to function correctly and securely. This proposal aims to satisfy that requirement in a private and secure manner by updating the Storage Access API (SAA) permission checks to not only accept the permission grant that is given by a storage access prompt, but also the permission grant that is given by a FedCM prompt.
A key property of this mechanism is limiting the grant to cases explicitly allowed by the RP via the FedCM permissions policy, enforcing a per-frame control for the RP and preventing passive surveillance by the IdP beyond the capabilities that FedCM already grants, as outlined in the Privacy Considerations.
Also tagged: Media & Real-time Communication Privacy & Identity Security & Authentication
Fenced frames are frames isolated from their embedding page. More details in the explainer here: https://github.com/WICG/fenced-frame/tree/master/explainer
The OT for fenced frames is part of the joint Privacy Sandbox OT, which follows the timeline here: https://privacysandbox.com/intl/en_us/open-web/
Also tagged: Privacy & Identity
File Handling provides a way for web applications to declare the ability to handle files with given MIME types and extensions. The web application will receive an event when the user intends to open a file with that web application.
Also tagged: Progressive Web Apps
This API enables developers to build powerful apps that interact with other (non-Web) apps on the user’s device via the device’s file system. After a user grants a web app access, this API allows the app to read or save changes directly to files and folders selected by the user. Beyond reading and writing files, this API provides the ability to open a directory and enumerate its contents, as well as store file and directory handles in IndexedDB to later regain access to the same content.
Also tagged: Progressive Web Apps
The feature changes the behavior of FileReader API so that the result attribute is only set right before the Load event is fired.
Motivation: This brings the chromium FileReader implementation in line with the FileAPI spec. The existing implementation was identified to possibly cause memory leaks but that scenario was very rarely seen, as evidenced by this experiment.
A "remove self" method for a FileSystemHandle.
Currently, it is not possible to remove a file or directory given its handle. You must obtain the handle of the parent directory and call FileSystemDirectoryHandle.removeEntry().
This method enables the common use case where you obtain a file handle from showSaveFilePicker(), but then decide you don't want to save after all, and delete the file.
The FileSystemObserver interface notifies websites of changes to the file system. Sites observe changes to files and directories, to which the user has previously granted permission, in the user's local device (as specified in WICG/file-system-access) or in the Bucket File System (as specified in whatwg/fs), and are notified of basic change info, such as the change type.
Also tagged: Security & Authentication
The HIDDevice forget() method allows web developers to voluntarily revoke a permission to a HIDDevice that was granted by a user.
Also tagged: Device & Hardware Progressive Web Apps Security & Authentication
Iframe credentialless give developers a way to load documents in third party iframes using new and ephemeral contexts.
Iframe credentialless are a generalization of COEP credentialless to support 3rd party iframes that may not deploy COEP. Like with COEP credentialless, we replace the opt-in of cross-origin subresources by avoiding to load non-public resources. This will remove the constraint that 3rd party iframes must support COEP in order to be embedded in a COEP page and will unblock developers looking to adopt cross-origin-isolation.
This way, developers using COEP can now embed third party iframes that do not.
Also tagged: Privacy & Identity Security & Authentication
This exposes the underlying IDBRequest of IDBCursor objects. It is a minor addition, exposing previously spec'd behavior.
Change to reporting for certain error cases that were previously reported through a DOMException with the message "Failed to read large IndexedDB value".
Chromium 132 onwards, unrecoverable failures (such as due to file missing from disk) will throw a DOMException with the name "NotReadableError" and message "Data lost due to missing file. Affected record should be considered irrecoverable".
Transient failures (such as due to low memory) will throw a DOMException with the name "UnknownError" and message "Failed to read large IndexedDB value".
Note: Chromium versions 130 and 131 throw a DOMException with name "NotFoundError" for unrecoverable failures and "DataError" for transient failures, with no change to the message.
More details: a large IndexedDB value (size above a threshold) is not stored directly in the underlying LevelDB database but is stored as a separate file. A get() request for this value looks up the blob reference from LevelDB and reads and returns the blob contents. If a failure occurs in this process, the browser fires an "error" event and sets the error property on the IDBRequest to a DOMException. This feature updates the DOMException to enable distinguishing recoverable and unrecoverable cases. Possible corrective actions for unrecoverable cases include deleting the entry from the DB, notifying the user, re-fetching the data from servers, etc.
An asynchronous client-side storage API offering fast access to large amounts of structured data
IndexedDB 2.0 introduces a few APIs that optimize some database access patterns and improve programming ergonomics. Chrome will support the full standard by shipping the following features:
support for binary keys, object store and index renaming, getKey() on IDBObjectStore, getPrimaryKey() on IDBIndex.
IndexedDB databases() returns a list of all databases accessible by the origin of the current frame. The return value is a Promise that resolves with a list of IDBDatabaseInfo objects (currently just dictionaries of database name and version).
Exposes an optional relaxedDurability parameter on IDBDatabase.transaction to control flushing to disk.
Also tagged: Media & Real-time Communication Performance & Scheduling
Adds a commit() function to IDBTransaction objects, which explicitly marks a transaction as not accepting further requests.
Currently, IndexedDB only commits a transaction after all associated requests have had their completion event handlers executed, and no new requests have been queued by the event handlers. Developers can use the explicit commit() function to shave a few event loop cycles off of the latency of their transactions.
To improve security, the File System Access API's showOpenFilePicker() and showSaveFilePicker() methods will limit what characters are allowed in extensions for accepted file types.
Specifically only A-Z, a-z, 0-9, + and . will be allowed, extensions can't end in .local or .lnk, and can't be more than 16 characters long.
Also tagged: Security & Authentication
Gives web applications the ability to enumerate local fonts and some metadata about each. Also gives web applications access to table data stored within local fonts, allowing those fonts to be rendered within their applications using custom text stacks.
Also tagged: Fonts & Text Progressive Web Apps WebAssembly
Currently, only one FileSystemSyncAccessHandle may be open at a time per file, preventing an origin from reading and writing to the same file from multiple tabs easily. Conversely, multiple FileSystemWritableFileStreams can be simultaneously open, letting multiple writers clobber each other.
Introducing new locking modes for FileSystemSyncAccessHandle and FileSystemWritableFileStream allows opening either multiple readers/writers or an exclusive writer to a file entry, depending on the application's use case.
navigator.storage is no longer an EventTarget
navigator.storage was made an EventTarget for the Storage Pressure Event, which never made it past the prototype phase: https://chromestatus.com/feature/5666274359115776
This dead code is being removed and as a result, navigator.storage will no longer extend EventTarget.
navigator.storage is no longer an EventTarget
navigator.storage was made an EventTarget for the Storage Pressure Event, which never made it past the prototype phase: https://chromestatus.com/feature/5666274359115776
This dead code is being removed and as a result, navigator.storage will no longer extend EventTarget.
Enable the Origin Private File System (OPFS) part of File System Access API on Android. This includes all of the File System Access API surface, minus show*Picker() methods and Drag-and-Drop API integration.
With FSA API on OPFS, a site can access its per-origin, private file system and are able to perform file operations via `FileSystemSyncAccessHandle` with improved performance.
The original API, including both OPFS and non-OPFS, was shipped in M86 for desktop, and the extension with SyncAccessHandle was shipped in M102.
https://chromestatus.com/feature/6284708426022912
https://chromestatus.com/feature/5702777582911488
Also tagged: Performance & Scheduling
The Origin Private File System (OPFS, part of the File System Access API) is augmented with a new surface that brings very performant access to data. This new surface differs from existing ones by offering in-place and exclusive write access to a file’s content. This change, along with the ability to consistently read unflushed modifications and the availability of a synchronous variant on dedicated workers, significantly improves performance and unblocks new use cases.
Also tagged: Performance & Scheduling WebAssembly
Note: this has launched in Chrome 115
We intend to partition a number of APIs in 3rd party contexts. This effort is focused on partitioning APIs above the network stack. This includes quota-managed storage, service workers, and communication APIs (like BroadcastChannel). See the explainer for more details:
https://github.com/wanderview/quota-storage-partitioning/blob/main/explainer.md
There is also a deprecation trial available as well as an enterprise policy:
https://developer.chrome.com/blog/storage-partitioning-deprecation-trial/
https://chromeenterprise.google/policies/#DefaultThirdPartyStoragePartitioningSetting
Also tagged: Performance & Scheduling Privacy & Identity Progressive Web Apps Security & Authentication
The "persistent-storage" property is a new permission for the Permission API. The permission state can already be queried with navigator.storage.persisted(), with this change navigator.permissions.query({name:"persistent-storage"}) can be used as well.
Also tagged: Security & Authentication
Allow origins to opt out of the browser's storage-eviction logic that is run when the user's storage space is running low.
Allow sites to request that web storage be treated as "persistent", preventing Chrome's automatic storage eviction from clearing storage for that site.
The permission is automatically granted when the site:
- Is bookmarked (if the user has <= 5 bookmarks)
- Is added to homescreen
- Has push notification permissions
- Has high site engagement
(Launched as Origin Trial in M52)
Also tagged: Security & Authentication
A generic mechanism for measuring aggregate, cross-site data in a privacy preserving manner. The potentially identifying cross-site data is encapsulated into "aggregatable reports". To prevent leakage, this data is encrypted, ensuring it can only be processed by the aggregation service. During processing, this service will add noise and impose limits on how many queries can be performed.
Also tagged: Privacy & Identity
We're planning a few bundled changes to Private Aggregation:
- Null report fixes: Currently reports with no contributions are inadvertently dropped. This change ensures that, when a context ID is specified, a null report is sent even if budget is denied. Separately, it fixes a bug causing budget to always be denied for null reports.
- Debug mode eligibility changes: Currently, debug mode is always available. This change only allows debug mode for callers that are allowed access to third-party cookies, silently dropping the debug mode otherwise. Note that this will allow debug mode to automatically sunset when third-party cookies are deprecated.
- Padding report payloads: To avoid the payload size being dependent on the number of contributions, we will pad it with 'null' contributions to a fixed length. **Note**: this change will also affect Attribution Reporting reports.
- Reducing delay: When a context ID is specified, we remove the randomized 10-60 minute delay, which is superfluous as a report is always sent in this case. Instead, we just wait until the Shared Storage operation timeout.
Note this is a recreation of https://chromestatus.com/feature/5205079858085888 which had the wrong feature type.
Also tagged: Privacy & Identity
We're planning a few bundled changes to Private Aggregation:
- Null report fixes: Currently reports with no contributions are inadvertently dropped. This change ensures that, when a context ID is specified, a null report is sent even if budget is denied. Separately, it fixes a bug causing budget to always be denied for null reports.
- Debug mode eligibility changes: Currently, debug mode is always available. This change only allows debug mode for callers that are allowed access to third-party cookies, silently dropping the debug mode otherwise. Note that this will allow debug mode to automatically sunset when third-party cookies are deprecated.
- Padding report payloads: To avoid the payload size being dependent on the number of contributions, we will pad it with 'null' contributions to a fixed length. **Note**: this change will also affect Attribution Reporting reports.
- Reducing delay: When a context ID is specified, we remove the randomized 10-60 minute delay, which is superfluous as a report is always sent in this case. Instead, we just wait until the Shared Storage operation timeout.
Note that a duplicate feature was created for shipping reviews (e.g. Privacy, Security) as this has the incorrect feature type: https://chromestatus.com/feature/5148973702840320
Also tagged: Privacy & Identity Security & Authentication
Modification to the Private Aggregation API to provide a mechanism for selecting which coordinator to use for payload encryption (from an vendor-specified allowlist). The choice of service is made with an additional option in Shared Storage’s run() and selectURL() calls, and in Protected Audience’s runAdAuction() and joinAdInterestGroup() calls. The broad approach largely aligns with Attribution Reporting’s approach (see https://chromestatus.com/feature/5197591256236032).
Also tagged: Privacy & Identity
Modifies the Private Aggregation API to merge histogram contributions with the same bucket and filtering ID before embedding in the aggregatable report's encrypted payload.
Private Aggregation imposes a limit on the number of contributions that can be embedded in a single aggregatable report, with any additional contributions being dropped. By merging together contributions where possible, we can get additional utility out of the limit. Note that, ignoring the dropping of excess contributions, merging these sorts of contributions should not have any impact on the final outputs (i.e. summary reports).
Modifies the Private Aggregation API to add a 'filtering ID' to the aggregatable reports' encrypted payloads. This ID allows histogram contributions with different filtering IDs to be processed separately on the aggregation service. A list of filtering IDs could be provided in an aggregation query and any contributions not matching a listed ID will be filtered out, not contributing to the result.
To support the new feature, we update the report version to "1.0" (from "0.1"). By the time this is launched to Stable, all valid aggregation service releases will support the new report version, avoiding backwards compatibility concerns. (Old releases are deprecated on a regular schedule.)
Also tagged: Performance & Scheduling
Currently, the availability of Private Aggregation’s debug mode is tied to a caller's eligibility to set a third-party cookie (see https://chromestatus.com/feature/5148973702840320). However, an edge case was missed in this logic: if the caller can only set a third-party cookie due to a top-level site exception (i.e. the user has generally disabled third-party cookies), this could allow access to information set from other sites that are not on the exception list.
To avoid this issue, we plan to start ignoring these top-level site exceptions when determining the availability of Private Aggregation’s debug mode. (It is not possible in Chrome to generally enable third-party cookies but disable them on one site, so the inverse case doesn’t need to be considered.) This does not require a spec change. Note that this new behavior can reveal to the site that the user has generally disabled third-party cookies.
Also tagged: Privacy & Identity
Deprecate and remove the use of cookies with the SameSite=None attribute but without the Secure attribute. Any cookie that requests SameSite=None but is not marked Secure will be rejected.
This feature is available as of Chrome 76 by enabling the cookies-without-same-site-must-be-secure flag.
This feature will be rolled out gradually to Stable users starting July 14, 2020. See https://www.chromium.org/updates/same-site for full timeline and more details.
Also tagged: Privacy & Identity Security & Authentication
Related Website Sets (“RWS”) provides a framework for developers to declare relationships among sites, to enable limited cross-site cookie access for specific, user-facing purposes. This is facilitated through the use of the Storage Access API.
Also tagged: Privacy & Identity
An extension to the Storage Access API that allows a top-level site to request access to unpartitioned ("first-party") cookies on behalf of embedded sites. Browsers will have discretion to grant or deny access, with mechanisms like Related Website Set membership as a potential signal. This allows for use of the Storage Access API by top-level sites.
Also tagged: Privacy & Identity
Previously [1] we launched same-origin prerendering triggered by the speculation rules API. This expands coverage to also allow triggering same-site cross-origin pages [2]. This prerendering will be done with credentials and storage access, but such prerender targets will need to opt in by using the `Supports-Loading-Mode: credentialed-prerender` header.
[1]: https://chromestatus.com/feature/5355965538893824
[2]: https://web.dev/same-site-same-origin/
Also tagged: Performance & Scheduling Security & Authentication
Rather than rejecting when trying to write past the end of a file, require extending a file with some number of 0x00 (NUL) bytes instead.
This enables creating sparse files and greatly simplifies saving content to a file when the data to be written is received out of order.
Following the recent HIDDevice[1] and USBDevice[2] forget() additions to the web platform, the SerialPort forget() method allows web developers to voluntarily revoke a permission to a SerialPort that was granted by a user.
[1] https://groups.google.com/a/chromium.org/g/blink-dev/c/Fk-IJF63UWc
[2] https://groups.google.com/a/chromium.org/g/blink-dev/c/pSM2W0TtKEI/
Also tagged: Device & Hardware Progressive Web Apps Security & Authentication
Adds three new methods to the Blob interface to perform read operations: text(), arrayBuffer(), and stream().
When a window is opened with noopener, Chrome should not clone the sessionStorage of its opener; it should instead start from an empty sessionStorage namespace.
Browsers may block third-party resources from accessing cookies and other storage for privacy and security reasons. The most popular reason is cross-site tracking prevention. Such blocking breaks authenticated cross-site embeds such as commenting widgets, embedded payment providers, and subscribed video services.
The Storage Access API provides a means for authenticated cross-site embeds to check their blocking status and request access to storage if they are blocked.
Also tagged: JavaScript Language Media & Real-time Communication Payments Privacy & Identity Security & Authentication
Provides a means for authenticated cross-site embeds to check their access to (unpartitioned) cookies and request access if they are blocked. Supports user prompts, and additionally includes user-agent-specific behaviors.
Also tagged: Privacy & Identity
Offers an alternate way for authenticated embeds to opt in for unpartitioned cookies. These headers indicate whether unpartitioned cookies are (or can be) included in a given network request, and allow servers to activate 'storage-access' permissions they have already been granted. Giving an alternative way to activate the 'storage-access' permission allows usage by non-iframe resources, and can reduce latency for authenticated embeds.
Also tagged: JavaScript Language Privacy & Identity Security & Authentication
Storage Buckets gives sites the ability to organize on-device data into separate "buckets", allowing user agents to evict the grouped data independently of that which is in other buckets, and enabling sites to ergonomically manage semantically related data. Each storage bucket can contain data associated with established storage APIs such as IndexedDB and CacheStorage.
navigator.storage.estimate() - returns a Promise which resolves with {usage, quota} values in bytes.
This change adds a dictionary to the returned dictionary of storageManager.estimate() that contains details about usage for each storage backend. The goal is to aid in debugging issues around overuse of specific storage systems.
Adds support signed exchange subresource prefetching and loading by extending the HTTP link header.
When initially shipping the File System Access API we shipped a bare minimum API surface
for showing file and directory pickers. We're now proposing adding a couple of frequently
requested (and commonly supported in other file picker APIs) options to let websites
provide a couple more opportunities to influence the behavior of the file and directory pickers.
In particular we want to let websites give suggestions for the name and location of files and
directories that are being saved or loaded.
This change adds the SourceBuffer.changeType() method to improve cross-codec or cross-bytestream transitions during playback with Media Source Extensions.
Also tagged: Media & Real-time Communication
Opus is an audio codec already supported by the HTML5 src attribute on <url> elements. This applies to mp4, ogg, and webm containers as well as in webm containers using Media Source Extensions. This change adds support for the Opus codec in the mp4 container to MSE.
Also tagged: Media & Real-time Communication
Today, concurrent execution of shared storage worklets in scenarios like cross-site reach measurement can result in duplicate reporting, due to the potential race conditions within the "get() and set()" logic. To address this issue, we propose integrating the Web Locks API into Shared Storage.
Specifically,
- Introduce navigator.locks.request to the worklet environment.
- Introduce { withLock: <resource>} option to all modifier methods.
- Introduce a batch modify method: sharedStorage.batchUpdate(methods, options). This method, with the 'withLock' option, allows multiple modifier methods to be executed atomically, enabling use cases where a website needs to maintain consistency while updating data organized across multiple keys.
Updates asynchronous methods (flush(), getSize(), truncate()) in SyncAccessHandle in File System Access API to synchronous methods. SyncAccessHandle currently has a mix of sync and async methods, hindering the performance and the usability, especially for applications porting c/c++ to Wasm. This update will bring consistency in the API usage and improve the performance for Wasm-based libraries.
Also tagged: Performance & Scheduling WebAssembly
The Login Status API [1] (formerly IdP Sign-in Status API) allows identity providers to signal to the browser when their users are logging-in/out. Our goal is to open this up to other websites in the future.
This signal, in this intent, is used by FedCM to address a silent timing attack, and in doing so, allows FedCM to operate without third party cookies altogether. This update would address the last remaining backwards incompatible changes we had previously identified in the original I2S of FedCM [2] as part of our scope of work.
In the future, we expect that the Login Status API may also be used outside of FedCM (e.g. the Storage Access API [3]) and may be useful for websites that are not identity providers (e.g. extending browser storage [4]).
[1] https://github.com/fedidcg/login-status
[2] https://groups.google.com/a/chromium.org/g/blink-dev/c/URpYPPH-YQ4/m/E9pgS7GEBAAJ
[3] https://github.com/fedidcg/login-status#storage-access-api
[4] https://github.com/fedidcg/login-status#extending-site-data-storage
Also tagged: Performance & Scheduling Privacy & Identity
This feature grants temporary third-party cookie access in limited scenarios based on user behavior. This mitigates site breakage caused by third-party cookie deprecation in established patterns such as identity provider popups and redirects.
Also tagged: Privacy & Identity Security & Authentication
Following the recent HIDDevice forget() addition[1] to the web platform, the USBDevice forget() method allows web developers to voluntarily revoke a permission to a USBDevice that was granted by a user.
[1] https://groups.google.com/a/chromium.org/g/blink-dev/c/Fk-IJF63UWc
Also tagged: Device & Hardware Progressive Web Apps Security & Authentication
This API allows scripts running in one tab to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script in the origin can acquire the same lock. A lock represents some potentially shared resource, identified by a name chosen by the web app. For example, if a web app running in multiple tabs wants to ensure that only one tab is syncing to the network, each tab could try to acquire a "my_net_sync" lock, but only one tab will succeed.
Also tagged: Progressive Web Apps
Refers to both localStorage and sessionStorage
Blink used to add an anonymous named property getter to the Storage interface (used by sessionStorage and localStorage) that behaved slightly differently from the getItem() method. The anonymous getter has been removed, and getItem() is now used behind the scenes instead. One visible consequence is that attempting to access a key that does not exist via the getter will return null instead of undefined.
The methods belonging to the Storage IDL interface (available via sessionStorage and localStorage), such as getItem(), clear() and removeItem() are now enumerable as mandated by the HTML spec.
They are not returned by Object.keys(), but do appear in e.g. for-in loops.
The memory64 proposal adds support for linear WebAssembly memories with size larger than 2^32 bits. It provides no new instructions, but instead extends the existing instructions to allow 64-bit indexes for memories and tables.
Also tagged: JavaScript Language WebAssembly
Allow WebAuthn relying parties to report information about existing credentials back to credential storage providers, so that incorrect or revoked credentials can be updated or removed from provider and system UI.
https://github.com/w3c/webauthn/wiki/Explainer:-WebAuthn-Signal-API-explainer
Also tagged: Media & Real-time Communication Security & Authentication
Adds support for the WebAuthn largeBlob [1] client authenticator extension. This extension allows relying parties to store opaque data associated to a credential.
[1] https://w3c.github.io/webauthn/#sctn-large-blob-extension
Also tagged: Security & Authentication
WebGPU is the successor to the WebGL and WebGL 2 graphics APIs for the Web. It provides modern features such as “GPU compute” as well as lower overhead access to GPU hardware and better, more predictable performance. WebGPU is developed by the “GPU for the Web” W3C community group.
Also tagged: Performance & Scheduling WebGPU
Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Adds support for (read-only and) read-write storage textures which allow more general access to texture memory for GPU computation and can unlock more advanced graphical algorithms. This feature has been request by developers very often.
Also tagged: WebGPU
Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Adds support using a render pass to render to slices of 3D textures in addition to rendering to 2D textures. This is used in graphical algorithm to do voxelization between others.
Also tagged: WebGPU
A WebRTC JavaScript API is added to control the key pair algorithm (RSA, ECDSA) to use for the self-signed certificates generated when DTLS is used for peerconnections.
Changes to API surface: RTCCertificate class added, RTCPeerConnection.generateCertificate static method added, RTCConfiguration.certificates (sequence<RTCCertificate>) member added.
This feature was behind a flag starting in Chrome 48 and Opera 35. Earlier, this feature was erroneously marked as shipping in M52
Also tagged: JavaScript Language Media & Real-time Communication
RTCCertificates are self-signed certificates used in the DTLS handshake for when setting up a connection with an RTCPeerConnection. This feature allows RTCCertificates to be persisted to storage by an application by implementing the structured clone algorithm. This means RTCCertificates can be saved and loaded from an IndexedDB database, saving the cost of generating new certificates for new sessions.
Also tagged: Media & Real-time Communication
This API is an extension to the WebXR Device API that provides a way to indicate to the underlying XR system that a 3D pose is meant to be kept up to date. Tracked poses may be arbitrary or attached to real world geometry. In current AR systems, poses evolve over time as the system understands more of the real world that surrounds it. As the system's understanding evolves, anchors enable the application to update poses of virtual objects so that they maintain their relationship to real world.
Also tagged: Progressive Web Apps
Allows sites to query for estimates of the environmental lighting conditions within WebXr sessions. This exposes both spherical harmonics representing the ambient lighting, as well as a cubemap texture representing "reflections".
WebXR AR Module brings Augmented Reality support to WebXR Device API.
The Depth API is an extension to WebXR Device API that allows applications access to depth buffer information that conveys information about the user's environment, with primary focus on Augmented Reality scenarios.
Also tagged: Progressive Web Apps
Allows WebXR applications using immersive-ar on handheld devices to optionally activate a DOM overlay mode where the 2D page content is shown as an interactive transparent layer on top of the application-drawn WebGL content and camera image.
While the current implementation is limited to ARCore-based handheld devices, the specification is intended to also support implementation on AR headsets.
The Hit-test API is an extension to the WebXR Device API that provides the capability of raycasting into the real world as understood by the underlying XR system. The goal is to provide a simple API that allows apps to place objects in the real world by casting rays that can be evaluated against the underlying platform's understanding of the real world geometry, regardless of how that is implemented (e.g., hit test against detected planes, point clouds, meshes, etc.).
Allows applications authored against the WebXR Device API to access pose-synchronized camera image textures from within WebXR sessions.
Also tagged: JavaScript Language Media & Real-time Communication Privacy & Identity
Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Loosens restrictions on which pointers can be passed to WGSL functions such that pointers to storage/uniform/workgroup address spaces are allowed.
Also tagged: WebGPU
Allow returning a directory with both read and write permissions in a single prompt for the File System Access API.
Currently showDirectoryPicker() always returns a read-only directory (after showing a read access prompt), requiring a second prompt to get write access. This double-prompt is a poor user experience and contributes to confusion and permission fatigue among users.
Adds an optional "mode" option to DirectoryPickerOptions which can be specified as either "read" or "readwrite".
Also tagged: Security & Authentication
Proposed (46)
We are landing the following change to the Attribution Reporting API focused on:
* Improving transmission loss through changes to the source destination limit logic
Also tagged: Privacy & Identity
Using showDirectoryPicker allows packages on MacOS to be selectable but not browsable.
On MacOS, calling the showDirectoryPicker and then selecting a package now returns a FileSystemDirectoryHandle.
Allows callers to specify a `maxAge` when setting a cookie with the Cookie Store API.
Cookie expiry time is already configurable using the `expires` attribute, but `maxAge` provides a more idiomatic option and aligns the Cookie Store API with the options provided by `document.cookie` and the `Set-Cookie` HTTP Header.
Also tagged: Privacy & Identity
A new key-value API, tentatively `window.crashReport`, backed by a per-Document map holding data that gets appended to crash reports.
See https://github.com/WICG/crash-reporting/issues/15 for initial discussion. The data placed in this API's backing map gets sent in the `CrashReportBody` [1] if any renderer process crashes are incurred by the site. This lets developers debug what specific state in their application might be causing a given crash.
[1]: https://wicg.github.io/crash-reporting/#crashreportbody
Also tagged: JavaScript Language
Cross-Origin Storage (COS), is a content-addressable browser cache that shares files across origins by hash, with k-anonymity-based availability gating to prevent cross-site tracking. It provides a secure mechanism for web applications to store and retrieve large files across different origins. Utilizing cryptographic hashes to identify and verify files, this feature allows developers to share common assets—such as AI models, WebAssembly modules, and popular JavaScript libraries—across multiple domains without redundant downloads. The hash is the key for the resource and sharing doesn't depend on fetching the resource from a shared location. This significantly reduces network costs, startup latency, and client-side storage overhead while maintaining strict user privacy and security boundaries.
Also tagged: JavaScript Language Privacy & Identity Progressive Web Apps Security & Authentication WebAssembly
The CSS block-step-size property rounds a block-level box's outer
block-size up to a multiple of a step unit, so vertical rhythm survives
content changes. A box with a step establishes an independent formatting
context; a block-level replaced child is re-centered via block-axis
margins so its outer size is also a multiple.
CL: https://chromium-review.googlesource.com/c/chromium/src/+/8843502
Also tagged: Fonts & Text
The CSS symbols() function lets authors define a counter style inline instead of first declaring a named @counter-style at-rule.
It builds an anonymous counter style from a list of string symbols plus an optional counting system (cyclic, numeric, alphabetic, symbolic, or fixed), and is accepted as the counter style in list-style-type, the list-style shorthand, and counter() / counters().
Provides high-speed, deterministic semantic decision-making directly on the user's device as a built-in AI capability.
Unlike open-ended generative language models (such as the Prompt API) that decode text token-by-token over hundreds or thousands of milliseconds, the Decisions API (window.DecisionModel) evaluates natural language input text against a structured set of questions and candidate options in a single forward pass using logit scoring. This delivers micro-latency evaluations (tens or low hundreds of milliseconds on typical consumer laptop CPUs and GPUs) while outputting calibrated confidence values.
This brings non-autoregressive "System 1" decision models (e.g. Jev, Laya, Kev, Open-Jev) natively into the web platform, providing developers with a pragmatic, zero-marginal-cost "Semantic If" primitive for real-time client-side routing, interactive input guardrails, and adaptive user interfaces.
Also tagged: Privacy & Identity Progressive Web Apps Built-in Web AI
The requestStorageAccessFor (rSAFor) API is an extension to the Storage Access API that allows a top-level site to request access to unpartitioned ("first-party") cookies on behalf of embedded sites. Browsers will have discretion to grant or deny access, with mechanisms like Related Website Sets (RWS) membership as a potential signal. This allows for use of the Storage Access API by top-level sites. Following Chrome's announcement that the current approach to third-party cookies will be maintained, we are now planning to deprecate and remove rSAFor, as it is only usable in Chrome to request storage access between RWS sites. Related Website Sets will also be deprecated via a separate intent.
Also tagged: Privacy & Identity
The Private Aggregation API is a generic mechanism for measuring aggregate, cross-site data in a privacy preserving manner. It was originally designed for a future without third-party cookies.
Following Chrome's announcement that the current approach to third-party cookies will be maintained, we are now planning to deprecate and remove the Private Aggregation API (along with certain other Privacy Sandbox APIs, as outlined on the Privacy Sandbox feature status page[0]). This API is only exposed via the Shared Storage and Protected Audience APIs, which are also planned to be deprecated and removed. So, no additional work will be required for Private Aggregation.
[0]: https://privacysandbox.google.com/overview/status
Also tagged: Privacy & Identity
Related Website Sets (RWS), formerly known as First Party Sets, provides a framework for developers to declare relationships among sites, to enable limited cross-site cookie access for specific, user-facing purposes. This is facilitated through the use of the Storage Access API (SAA) and requestStorageAccessFor (rSAFor). RWS was designed for use in a browser without third-party cookies. Following Chrome's announcement that the current approach to third-party cookies will be maintained, we are now planning to deprecate and remove Related Website Sets (RWS).
Once RWS is deprecated; existing usage of SAA across contexts within a set will fall back to the API’s behavior outside of RWS as specified here. The difference in SAA behavior outside of RWS is well illustrated in our developer blogpost here.
The companion rSAFor API will also be deprecated via a separate intent.
We also intend to deprecate RWS-related Chrome Enterprise policies, as well as the chrome.privacy.relatedWebsiteSetsEnabled extension API; and will follow the relevant processes.
Also tagged: Privacy & Identity
The Shared Storage API is a privacy-preserving web API to enable storage that is not partitioned by first-party site.
Following Chrome's announcement that the current approach to third-party cookies will be maintained, we are now planning to deprecate and remove the Shared Storage API (along with certain other Privacy Sandbox APIs, as outlined on the Privacy Sandbox feature status page).
[0]: https://privacysandbox.com/news/privacy-sandbox-next-steps/
Also tagged: Privacy & Identity
The Embedding API is a proposed Web Platform API that allows developers to generate high-dimensional vector representations (embeddings) of content directly on the user's device.
By leveraging Chrome's on-device AI infrastructure and a shared on-device model, this API enables powerful semantic understanding features—such as semantic search, Retrieval-Augmented Generation (RAG), and content clustering. It eliminates the latency, cost, and privacy trade-offs of cloud services. Furthermore, compared to DIY client-side approaches, it provides significant user benefits (saving bandwidth and local storage by preventing each site from downloading its own massive model) and developer benefits (abstracting away complex model delivery and keeping WebAssembly/WebGPU frameworks up-to-date).
Also tagged: JavaScript Language Performance & Scheduling Privacy & Identity Built-in Web AI WebAssembly WebGPU
Drag-and-drop of JavaScript File objects does not currently work across browser boundaries or between Chromium-based browsers and native applications. As a result, common user scenarios are unsupported, including:
* Drag-and-drop between Chromium-based browsers
(e.g., Outlook Web → OneDrive or Dropbox web apps)
* Drag-and-drop between WebView-based applications
(e.g., new Outlook → Microsoft Teams)
* Drag-and-drop between Chromium and native applications
(e.g., Outlook Web → OneDrive, Word, or PowerPoint native apps)
Supporting drag-and-drop of JavaScript File objects is a cleaner and standards-aligned approach. However, Chromium currently limits this support to image MIME types and same-process scenarios. In contrast, other browsers (such as Firefox) already support dragging JavaScript File objects across browser boundaries.
Also tagged: JavaScript Language Progressive Web Apps
This update adds a new option, `extendedLifetime: true`, to the `SharedWorker` constructor. This new option requests that the shared worker be kept alive even after all current clients have unloaded. This allows pages to perform asynchronous work that requires JavaScript after a page unloads, without needing to rely on a service worker.
Also tagged: JavaScript Language Performance & Scheduling Progressive Web Apps
There are situations in which it is helpful to decorate a third-party widget with cross-site information about the user, such as a personalized payment button that displays credit card information to give the user confidence that the payment flow will be smooth, or a personalized sign-in button. These sorts of use cases will be broken by third-party cookie deprecation (3PCD).
Fenced frames are a natural fit for such use cases, as they allow for frames with cross-site data to be composed within a page of another partition. The idea proposed here is to allow fenced frames to have access to the cross-site data stored for the given origin within shared storage. In other words, the payment site would add the user’s payment data to shared storage when the user visits the payment site, and then read it in third-party fenced frames to decorate their payment button.
To prevent the fenced frame from leaking the user’s shared storage data out (to the embedder or to servers via network) we’re requiring that fenced frames first disable all untrusted network communications before accessing shared storage.
Also tagged: Payments Privacy & Identity
The bytes() method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.
The File System Access API defines two access modes for file system entries: "read" and "readwrite". These modes are used when querying or requesting permission to an entry.
An issue with the current model is that operations requiring only file system modification, such as FileSystemHandle.remove(), are forced to request broad "readwrite" permission. This behavior poses some unnecessary security risks.
To address this, we propose a more granular, "write" permission mode. This new mode will allow applications to request only the permission to write to a file or directory, without also gaining permission to read from it.
Also tagged: Security & Authentication
Frame Ancestor Headers would expose information about the relationship between a request's ancestor frames and that request's target by adding two new HTTP request headers, `Sec-Fetch-Frame-Top` and `Sec-Fetch-Frame-Ancestors`. This should support developers' understanding of the circumstances in which they may have access to unpartitioned cookies, and the ways in which their resources may be partitioned.
Also tagged: Privacy & Identity Security & Authentication
Fixes a bug in the predictable-storage-quota that allows Incognito mode to be detected.
A change introduced recently to Stable, buckets the result of the StorageManager's estimate API for sites that do not have unlimited storage permission to max(10Gib, ceil(actual_quota_in_Gib)) + usage. However, in incognito mode, the actual quota value is based on a fraction of available RAM, instead of the disk space - providing an Incognito detection surface. This change fixes the value of this API for Incognito Mode to the maximal bucket of: usage + 10Gib.
Discussion on the original feature available here: https://groups.google.com/a/chromium.org/g/blink-dev/c/7q0YGQNVkjs/m/mpYkQVWpAQAJ
This is a new Chromestatus in place of an original PSA, as this launch should start with an I2E to ensure the breakage risk is properly addressed. See https://groups.google.com/a/chromium.org/g/blink-dev/c/00aHBCiUGzo/m/B0Dq06SFAQAJ.
Also tagged: Security & Authentication
Fixes a bug in the predictable-storage-quota that allows Incognito mode to be detected.
A change introduced recently to Stable, buckets the result of the StorageManager's estimate API for sites that do not have unlimited storage permission to max(10Gib, ceil(actual_quota_in_Gib)) + usage. However, in incognito mode, the actual quota value is based on a fraction of available RAM, instead of the disk space - providing an Incognito detection surface. This change fixes the value of this API for Incognito Mode to the maximal bucket of: usage + 10Gib.
Discussion on the original feature available here: https://groups.google.com/a/chromium.org/g/blink-dev/c/7q0YGQNVkjs/m/mpYkQVWpAQAJ
Also tagged: Security & Authentication
Chromium's IndexedDB implementation is rewritten on top of SQLite, to replace the previous implementation that uses a hybrid of LevelDB and flat files. There is no change to the Web API.
This is expected to improve reliability and, to a lesser extent, performance.
For now this is applied to *new data stores*. This is step 2 of a multi-phase rollout. See https://chromestatus.com/feature/5126896685809664 which tracks step 1, the rollout for in-memory i.e. incognito contexts. Step 3 will consist of migrating existing data from LevelDB stores to SQLite stores.
In this step, the first time a user visits a site, or after clearing site data, new IDB data will be stored in a backend that makes use of SQLite, but existing data stored in LevelDB is unimpacted.
See Documentation link below for a list of differences to be aware of.
Also tagged: Performance & Scheduling Progressive Web Apps
Chromium's IndexedDB implementation is rewritten on top of SQLite, to replace the previous implementation that uses a hybrid of LevelDB and flat files. There is no change to the Web API.
This is expected to improve reliability and, to a lesser extent, performance.
For now this is applied only to in-memory contexts such as Incognito mode in Chromium and Google Chrome. This limits the impact of any new bugs, as well as puts off the need to worry about migration of existing data persisted to disk.
Also tagged: Performance & Scheduling Progressive Web Apps
This feature allows Identity Providers (IdPs) to store information about a user's account in the browser ahead of time via the Login Status API, and allow Relying Parties (RPs) to request access to this information via a browser-mediated prompt similar to the current FedCM flow. By storing the account information ahead of time, this eliminates the browser's need to make calls to the accounts endpoint to display the browser-mediated dialog, improving both performance and privacy. Lightweight Mode for FedCM also requires less complex integration for Identity Providers. Currently these benefits come at the cost of reduced freshness for account hint information presented to the user, but future work may address this limitation if there is sufficient developer interest.
Also tagged: Media & Real-time Communication Performance & Scheduling Privacy & Identity Security & Authentication
navigator.storage is no longer an EventTarget
navigator.storage was made an EventTarget for the Storage Pressure Event, which never made it past the prototype phase: https://chromestatus.com/feature/5666274359115776
This dead code is being removed and as a result, navigator.storage will no longer extend EventTarget.
Chrome 150 updates how Dedicated and Shared Workers handle [data: URLs](https://datatracker.ietf.org/doc/html/rfc2397). Rather than automatically inheriting the security origin of the script or page that created them, these workers will now be assigned a unique opaque origin.
This alignment with the worker [HTML specification](https://www.w3.org/TR/2021/NOTE-workers-20210128/#worker) enhances security by isolating these workers from the creator's same-origin state, preventing them from accessing sensitive data via mechanisms like `BroadcastChannel` or same-origin storage. To maintain correct isolation boundaries, these workers still reside within the same storage partition (for example, by preserving the top-level site or nonce) as their creator.
This security adjustment is enabled by default across desktop and mobile platforms. Administrators can review or verify security boundaries using their centralized configurations. For technical implementation details and specification references, see Step 3 of the [HTML Living Standard Worker Settings](https://html.spec.whatwg.org/multipage/workers.html#script-settings-for-workers).
Also tagged: Performance & Scheduling Security & Authentication
Version 2 of the avar (Axis Variations) table enables font designers to create variable fonts with better control over interpolation. While the original variable font spec handles axes independently, avar2 allows axes to influence one another. This leads to fonts that are easier to use for content authors to use, and enable compact storage.
Support for this feature in Blink means, activating a compile flag in HarfBuzz that processes the version 2 additional fields of the avar table to extend axis variations processing.
Avar2 works by using the same familiar concepts of font variations, but applying the variable delta values to the design axis specifications itself. Plus, it allows doing this over a range of multiple axes.
As an example, it allows the creation of "meta sliders" which control multiple variation axes at once, alleviating the user from fine-tuning and finding a useful corner of the font's design space.
Avar2 gives font designers better control over the usable variation space of their font, and allows coordinating the adjustment of design axes across several axes.
By defining the relationships between axes mathematically within the avar version 2 table, fonts can achieve complex designs with fewer masters, leading to smaller file sizes, because the interpolation is stored more efficiently.
Also tagged: Fonts & Text
Enables Shared Storage callers to customize the number of contributions per Private Aggregation report.
This feature enables Shared Storage callers to configure per-context contribution limits via a new field, `maxContributions`. Callers set this field to override the default number of contributions per report — larger and smaller numbers will both be permitted. Chrome will accept values of `maxContributions` between 1 and 1000 inclusive; larger values will be interpreted as 1000.
Due to padding, the size of each report's payload will be roughly proportional to the chosen number of contributions per report. We expect that opting into larger reports will increase the cost of operating the Aggregation Service.
Protected Audience callers will not be affected by this feature. However, we are planning to add support for customizing the number of contributions for Protected Audience reports in future features.
Also tagged: Privacy & Identity
The Progress Notification API is a proposal for an API a developer can use to indicate to the user agent that it is performing an important task which will take some time. This provides user agents with information about a site’s intention to perform such a task and therefore may allow the task to continue while the site is no longer visible because its tab is occluded.
Also tagged: Media & Real-time Communication
Related Website Sets (RWS) is an effort which aims to introduce a new privacy boundary on the web which allows sites to have access to their unpartitioned cross-site state when they are embedded on other related sites.
Some third-party SaaS developers embed their content on sites which are part of a Related Website Set and wish to maintain a continuous session across multiple sites within that set.
The Related Website Partition (RWP) API is a novel mechanism for providing 3P embeds access to a partitioned, non-cookie storage handle which allows them to continue a single session across multiple domains in the same RWS.
Also tagged: Privacy & Identity
Fenced frames are nested frames that embed content onto a page without the ability to share data between the fenced frame and its embedder.
window.fence APIs include Fenced frames Ads reporting (FFAR) JS APIs that were created for privacy-safe ads reporting from FFs created using Protected Audience and SelectURL and getNestedConfigs() to support PA component ads.
This intent is for removing both of these. Fenced frames element removal will be two step as detailed below.
With the removal (or stub API replacement) of PA and selectURL, FFs can no longer be navigated and thus it is safe to remove them. Fenced frames are only able to be navigated using the urn:uuid in a FencedFrameConfig[1], which can only be created using the return values from runAdAuction and selectURL. These APIs are being deprecated and removed in M152 as per the following Intent threads: Protected Audience[2], Shared Storage[3].
Plan:
Given that the fenced frames element can no longer be navigated, we propose removing the element from the code in the following phases:
1. M156: Keep the fenced frame element and its associated IDL dependencies as stubs. This is to ensure no JS call throws, e.g.calling fenced-frame-element.config.setSharedStorageContext().
2. M156: In the same milestone we will also stub the window.fence APIs completely. Since there is no FF document navigation, these APIs cannot be invoked anymore, so it will be a no-op.
3. M157 Canary/Beta: Begin a controlled rollout of the stub FF HTML element removal via a field trial. Note that removing the element will resolve it to HTMLUnknownElement.
At this point we are requesting approvals for all of the above steps.
4. M157 Stable: Assuming there are no regressions or breakage after reaching 1% stable, we will request additional approval for full removal of the FF element.
[1]https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/fenced_frame/fenced_frame_config.idl
[2]https://groups.google.com/a/chromium.org/g/blink-dev/c/k_nubsMb97g/m/awPD4IGLBAAJ
[3]https://groups.google.com/a/chromium.org/g/blink-dev/c/uh5Ke6qyegc/m/WFTFnhyJBAAJ
Also tagged: Privacy & Identity
Allows servers to request user agents to reuse a storage access activation with Storage Access Headers.
When an activation is requested with the `Activate-Storage-Access: retry` header, an optional `reuse-for` parameter can be provided with a list of URLs. The user agent may activate storage access for subsequent requests to the specified URLs, potentially reducing the number of retries required for an application to work.
Also tagged: Privacy & Identity Progressive Web Apps
sharedStorage.selectURL() now allows queries to be saved and reused on a per-page basis, where the two per-page-load budgets are charged the first time a saved query is run but not for subsequent runs of the saved query during the same page-load. This is accomplished with a savedQuery parameter in the options for selectURL() that will name the query.
Support running cross origin worklets without having to create an iframe
We plan to ship the following changes to the Shared Storage API:
1) Allow writing and deleting from Shared Storage via HTTP response header
--This is a performance improvement and is backwards compatible
2) Only allow Private Aggregation reports for up to 5 seconds after worklet starts
--This is a privacy measure to prevent timing attacks.
--Reports sent after this point are silently dropped
3) Per-site privacy budgeting
- This change enforces budgets per-site rather than per-origin
Also tagged: Performance & Scheduling Privacy & Identity
This extends speculation rules syntax to allow developers to specify the form_submission field for prerender.
This field directs the browser to prepare the prerender as a form submission, so that it can be activated by real form submission navigations. Examples include a simple search form which results in a /search?q=XXX GET request navigation, support of which has been requested by web developers.
Also tagged: Performance & Scheduling Security & Authentication
Prevent the launchQueue from re-sending the last LaunchParams (including file handles) when a user reloads the page. Currently, a page refresh triggers the launch consumer again with the data from the original launch. This change ensures that a reload is treated as a standard navigation rather than a "re-launch," and the launchQueue will not be populated with duplicate files unless a new file launch event occurs. The re-queueing was never spec'd, and was an unfortunate never-removed stop-gap that was implemented before file handles could be saved to IndexedDB.
Also tagged: Progressive Web Apps
Adds early warning when the storage device backing the user's data is running low on free space. This warning is provided to currently running applications, which can pause or abandon in-progress operations that would otherwise fill up the user's storage device.
Some websites host downloadable content on third-party domains (e.g. CDN domains) and those domains use cookies to access-control the content.
Normally, this can be achieved using a SameSite=None cookie, which can be set by the third-party domain and then sent in the download data requests. However, when browsers restrict third-party cookies, a third-party domain cannot set a cookie without invoking the Storage Access API.
One privacy-preserving alternative is partitioned cookies (aka CHIPS). The problem is that currently the browser considers all download data requests as top-level navigation requests, so it is currently impossible to include third-party partitioned cookies in those requests.
This proposal is for a new HTML API for download links which would allow the site to opt into the download data requests be treated as subresource requests originating from the frame the user clicked the download link on.
Also tagged: Privacy & Identity
The `sharedStorage.batchUpdate(methods)` API (introduced in https://chromestatus.com/feature/5133950203461632) will now enforce atomicity. This involves treating the entire `batchUpdate()` as a single transaction, rather than executing methods independently. To mitigate deadlock risks associated with granular locking, individual method locks within `batchUpdate()` will be disallowed. Note that the lock for the `batchUpdate()` method itself (if specified) will remain valid.
Exposes the Translator JavaScript Web API on Chrome for Android (including Chrome Custom Tabs). Web applications can translate text locally using on-device models without sending page text to cloud endpoints. The TranslatorAPIAllowed enterprise policy (https://chromeenterprise.google/policies/translator-api-allowed/) is supported on Android to disable the API and prevent model downloads.
Also tagged: JavaScript Language Progressive Web Apps Built-in Web AI
The Web Preference API aims to provide a way for sites to override the value for a given user preference (e.g. color-scheme preference) in a way that fully integrates with existing Web APIs.
Also tagged: Media & Real-time Communication
WGSL language feature for reinterpreting data in variables.
The feature allows developers to divide a single uniform, storage, or workgroup variable into multiple logical variables. It also allows the type of the data in the variable to be interpreted as multiple types within the program.
Also tagged: WebGPU
Extend GPU texture format support with capabilities like render attachment, blending, multisampling, resolve and storage_binding.
Also tagged: WebGPU
Functionality added to the WebGPU spec after its first shipment in a browser.
Uniform buffers declared in WGSL shaders are no longer required to have 16-byte alignment on array elements, or to pad nested structure offsets to a multiple of 16 bytes.
Also tagged: WebGPU
Updates Chromium WebTransportError to match the current WebTransport specification. Adds the standard (message, options) constructor while preserving the shipped dictionary constructor for compatibility; carries the full unsigned-long stream error code end to end; and makes WebTransportError structured-clonable while preserving its message, source, and nullable error code. Serialization is enabled by default behind a writer-side runtime kill switch, while decoding remains permanently enabled for persisted values.
Also tagged: Device & Hardware