Intent to Ship: Local Network Access restrictions for Background Fetch

204 views
Skip to first unread message

Chromestatus

unread,
Aug 14, 2026, 7:10:14 PM (6 days ago) Aug 14
to blin...@chromium.org, hc...@chromium.org, cth...@chromium.org
Contact emails
cth...@chromium.org

Explainer
No information provided

Specification
https://wicg.github.io/background-fetch

Summary
Background Fetch requests will now require that the service worker's origin has the necessary Local Network Access (LNA) permission in order to send requests to local or loopback servers. This aligns Chromium's implementation with the intent of the Background Fetch spec (that such requests go through the Fetch spec and have the same security policies applied to them, in this case Local Network Access checks). This prevents sites from bypassing LNA checks by using Background Fetch instead of regular Fetch. For enterprises, you can use existing Local Network Access enterprise policies in the same way you previously would have for regular Fetch API requests from service workers (see [LocalNetworkAccessRestrictionsTemporaryOptOut](https://chromeenterprise.google/policies/#LocalNetworkAccessRestrictionsTemporaryOptOut), [LocalNetworkAccessAllowedForUrls](https://chromeenterprise.google/policies/#LocalNetworkAccessAllowedForUrls), [LoopbackNetworkAllowedForUrls](https://chromeenterprise.google/policies/#LoopbackNetworkAllowedForUrls), [LocalNetworkAccessPermissionsPolicyDefaultEnabled](https://chromeenterprise.google/policies/#LocalNetworkAccessPermissionsPolicyDefaultEnabled), and [LocalNetworkAccessIpAddressSpaceOverrides](https://chromeenterprise.google/policies/#LocalNetworkAccessIpAddressSpaceOverrides)).

Blink component
Blink>BackgroundFetch

Web Feature ID
local-network-access

Motivation
This fixes a security issue where Background Fetch unintentionally bypasses security policies such as Local Network Access checks.

Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Goals for experimentation
None

Risks


Interoperability and Compatibility
If the service worker's origin does not yet have the requisite Local Network Access permission, the background fetch request may fail. However, overall usage of Background Fetch is extremely low. We considered completely removing the ability for Background Fetch to make local network requests, which would be more disruptive. Treating Background Fetch requests the same as fetch() calls from a service worker context was deemed an appropriate middle ground.

Gecko: Shipped/Shipping (https://github.com/mozilla/standards-positions/issues/1260) Firefox is shipping LNA but does not support the BG Fetch API

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/520)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

LNA checks are not enforced in WebView.


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No
LNA is not enforced in WebView.

Is this feature fully tested by web-platform-tests?
Yes


Flag name on about://flags
No information provided

Finch feature name
BackgroundFetchLocalNetworkAccess

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://crbug.com/455486148

Estimated milestones
Shipping on desktop154
Shipping on Android154


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None. This brings Chromium's implementation into alignment with the intent of the Background Fetch spec (which delegates security policy enforcement to the Fetch spec).

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6225598451154944?gate=6680716673941504

This intent message was generated by Chrome Platform Status.

Alex Russell

unread,
Aug 17, 2026, 2:49:28 PM (3 days ago) Aug 17
to blink-dev, Chromestatus, Hubert Chao, Chris Thompson
LGTM1

Mike Taylor

unread,
Aug 18, 2026, 11:25:18 AM (2 days ago) Aug 18
to Alex Russell, blink-dev, Chromestatus, Hubert Chao, Chris Thompson

LGTM2

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8e166967-d0d5-42b5-9ece-27d15e69d2f0n%40chromium.org.

Yoav Weiss (@Shopify)

unread,
Aug 19, 2026, 10:33:43 AM (yesterday) Aug 19
to blink-dev, Mike Taylor, Chromestatus, Hubert Chao, Chris Thompson, Alex Russell
LGTM3

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Reply all
Reply to author
Forward
0 new messages