Web-Facing Change PSA: Permission policies for Direct Sockets API in Isolated Web Apps

52 views
Skip to first unread message

Bhaskar Sharma

unread,
Jun 10, 2026, 11:19:24 AM (2 days ago) Jun 10
to blin...@chromium.org
Contact emails

Specification

Summary

The "direct-sockets-private" blanket permission policy in Isolated Web Apps is being replaced by the more granular "local-network" and "loopback-network" permission policies.

Connecting via TCP direct sockets or UDP direct sockets in connected mode will now require specific permission policies based on the target address space:

  - Connecting to addresses within the local network address space requires the "local-network" permission policy.
  - Connecting to addresses within the loopback network address space requires the "loopback-network" permission policy.

For UDP direct sockets in bound mode, the requirements are more stringent: both the "local-network" and "loopback-network" permission policies are required regardless of the specific address being utilized.

Blink component

Blink>Network>Direct Sockets

Risks

Interoperability and Compatibility

Gecko & WebKit: No signal. Direct Sockets are only available on Isolated Web Apps which are only available on ChromeOS.

Web developers: Update "direct-sockets-private" permission policy with the relevant "local-network" and "loopback-network" permission policies in Isolated Web Apps Manifests.

Debuggability

No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

No. Only ChromeOS.

Estimated milestones
Shipping on ChromeOS151

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6046077976444928


Mike Taylor

unread,
Jun 11, 2026, 11:46:28 AM (yesterday) Jun 11
to Bhaskar Sharma, blin...@chromium.org

On 6/10/26 6:51 a.m., 'Bhaskar Sharma' via blink-dev wrote:

Contact emails

Specification

Summary

The "direct-sockets-private" blanket permission policy in Isolated Web Apps is being replaced by the more granular "local-network" and "loopback-network" permission policies.

Connecting via TCP direct sockets or UDP direct sockets in connected mode will now require specific permission policies based on the target address space:

  - Connecting to addresses within the local network address space requires the "local-network" permission policy.
  - Connecting to addresses within the loopback network address space requires the "loopback-network" permission policy.

For UDP direct sockets in bound mode, the requirements are more stringent: both the "local-network" and "loopback-network" permission policies are required regardless of the specific address being utilized.

Blink component

Blink>Network>Direct Sockets

Risks

Can you say more about the compat risk of this change? What does usage of "direct-sockets-private" look like today, and how will developers know what to do once this ships and something breaks?

Interoperability and Compatibility

Gecko & WebKit: No signal. Direct Sockets are only available on Isolated Web Apps which are only available on ChromeOS.

Web developers: Update "direct-sockets-private" permission policy with the relevant "local-network" and "loopback-network" permission policies in Isolated Web Apps Manifests.

Debuggability

No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

No. Only ChromeOS.

Estimated milestones
Shipping on ChromeOS 151

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6046077976444928



--
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/CABiY0qtzqY3Y149uQKVb6e1NS0_97txJyd2Q%3DiuAeWseSBN7nA%40mail.gmail.com.

Bhaskar Sharma

unread,
7:45 AM (12 hours ago) 7:45 AM
to blink-dev, mike...@chromium.org, Bhaskar Sharma
Hi Mike,
Since Isolated Web Apps are in enterprise-only mode presently, we know all our existing partners and are in touch with them.
Other than that, a DevTools warning has been displayed about this change since M148.
Reply all
Reply to author
Forward
0 new messages