Skip to content

Commit 9ef763d

Browse files
Elchi3ddbeck
andauthored
Local Network Access replaces Private Network Access (#3215)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent ef872c2 commit 9ef763d

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

features/local-network-access.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Local network access
2+
description: |
3+
The `"local-network-access"` user permission (and certain actions that imply this permission, such as a `fetch()` request with `{ targetAddressSpace: "local" }`) allows a site to send requests to servers on a user's local network.
4+
spec: https://wicg.github.io/local-network-access/
5+
compat_features:
6+
- api.Request.targetAddressSpace
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Generated from: local-network-access.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- api.Request.targetAddressSpace

features/private-network-access.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Private network access
22
description: "The `Access-Control-Request-Private-Network: true` and `Access-Control-Allow-Private-Network: true` HTTP request and response headers establish permission for websites to make requests to internal networks, such as to routers."
33
spec: https://wicg.github.io/private-network-access/
4+
discouraged:
5+
according_to:
6+
- https://github.com/WICG/local-network-access?tab=readme-ov-file#local-network-access
7+
- https://developer.chrome.com/blog/pna-on-hold
8+
alternatives:
9+
- local-network-access
410
compat_features:
511
- http.mixed-content.private_network_access
6-
- api.Request.targetAddressSpace

features/private-network-access.yml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ status:
55
baseline: false
66
support: {}
77
compat_features:
8-
- api.Request.targetAddressSpace
98
- http.mixed-content.private_network_access

scripts/specs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ const defaultAllowlist: allowlistItem[] = [
132132
[
133133
"https://github.com/whatwg/fetch/pull/1647",
134134
"This is where fetchLater() is in the process of being spec'd. Once the PR merges, change the spec url in fetchlater.yml, and remove this exception."
135+
],
136+
[
137+
"https://wicg.github.io/local-network-access/",
138+
"This is missing from web-specs. Remove this when https://github.com/w3c/browser-specs/issues/1953 is resolved."
135139
]
136140
];
137141

0 commit comments

Comments
 (0)