Files
sousa-gecko/testing/web-platform/meta/fetch/local-network-access
smayya db530df955 Bug 2042339 - [LNA] Enable LNA Restrictions for WebSockets. r=necko-reviewers,valentin
Flip network.lna.websocket.enabled to true so WebSocket connections
follow the normal Local Network Access rules instead of being skipped
in nsHttpTransaction::AllowedToConnectToIpAddressSpace.

Worker WebSocket enforcement relies on the channel LoadInfo carrying a
ClientInfo; with that in place the previously disabled
worker WebSocket WPT subtests pass, so re-enable them for dedicated,
shared and service workers. The WebTransport subtests stay disabled
(Bug 2042527).

Differential Revision: https://phabricator.services.mozilla.com/D309786
2026-07-02 12:03:45 +00:00
..