From c6956da99bb088a6008267cd7ec72b8ad3f85f20 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 18 Dec 2024 14:57:15 +0100 Subject: [PATCH 1/4] Add private network access --- features/private-network-access.yml | 7 +++++++ features/private-network-access.yml.dist | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 features/private-network-access.yml create mode 100644 features/private-network-access.yml.dist diff --git a/features/private-network-access.yml b/features/private-network-access.yml new file mode 100644 index 00000000000..dadc968582a --- /dev/null +++ b/features/private-network-access.yml @@ -0,0 +1,7 @@ +name: Private Network Access +description: The Private Network Access feature is a set of modifications to Fetch and HTML which are intended to mitigate the risks associated with unintentional exposure of devices and servers on a client’s internal network to the web at large. +spec: https://wicg.github.io/private-network-access/ +compat_features: + - http.mixed-content.private_network_access + # This key is in the Fetch feature, maybe should move here. + #- api.Request.targetAddressSpace diff --git a/features/private-network-access.yml.dist b/features/private-network-access.yml.dist new file mode 100644 index 00000000000..9575b7e2786 --- /dev/null +++ b/features/private-network-access.yml.dist @@ -0,0 +1,11 @@ +# Generated from: private-network-access.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "124" + chrome_android: "124" + edge: "124" +compat_features: + - http.mixed-content.private_network_access From ec0cf90d331c2ded3aa53be498435c58f96d0a8c Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 19 Dec 2024 11:16:07 +0100 Subject: [PATCH 2/4] move targetAddressSpace --- features/fetch.yml | 1 - features/fetch.yml.dist | 7 ------- features/private-network-access.yml | 3 +-- features/private-network-access.yml.dist | 1 + 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/features/fetch.yml b/features/fetch.yml index 0ce6e421761..44e26d522e4 100644 --- a/features/fetch.yml +++ b/features/fetch.yml @@ -48,7 +48,6 @@ compat_features: - api.Request.redirect - api.Request.referrer - api.Request.referrerPolicy - - api.Request.targetAddressSpace - api.Request.text - api.Request.url - api.Response diff --git a/features/fetch.yml.dist b/features/fetch.yml.dist index 2fedf207def..938c8232123 100644 --- a/features/fetch.yml.dist +++ b/features/fetch.yml.dist @@ -451,10 +451,3 @@ compat_features: # chrome_android: "105" # edge: "105" - api.Request.Request.request_body_readablestream - - # baseline: false - # support: - # chrome: "124" - # chrome_android: "124" - # edge: "124" - - api.Request.targetAddressSpace diff --git a/features/private-network-access.yml b/features/private-network-access.yml index dadc968582a..b00f0003c91 100644 --- a/features/private-network-access.yml +++ b/features/private-network-access.yml @@ -3,5 +3,4 @@ description: The Private Network Access feature is a set of modifications to Fet spec: https://wicg.github.io/private-network-access/ compat_features: - http.mixed-content.private_network_access - # This key is in the Fetch feature, maybe should move here. - #- api.Request.targetAddressSpace + - api.Request.targetAddressSpace diff --git a/features/private-network-access.yml.dist b/features/private-network-access.yml.dist index 9575b7e2786..32ccf153f11 100644 --- a/features/private-network-access.yml.dist +++ b/features/private-network-access.yml.dist @@ -8,4 +8,5 @@ status: chrome_android: "124" edge: "124" compat_features: + - api.Request.targetAddressSpace - http.mixed-content.private_network_access From bd9da5a9355ad790d08c19eda4771a87946a8195 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Thu, 19 Dec 2024 19:28:56 +0700 Subject: [PATCH 3/4] Update features/private-network-access.yml Co-authored-by: Daniel D. Beck --- features/private-network-access.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/private-network-access.yml b/features/private-network-access.yml index b00f0003c91..573ce8e404b 100644 --- a/features/private-network-access.yml +++ b/features/private-network-access.yml @@ -1,5 +1,5 @@ name: Private Network Access -description: The Private Network Access feature is a set of modifications to Fetch and HTML which are intended to mitigate the risks associated with unintentional exposure of devices and servers on a client’s internal network to the web at large. +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. spec: https://wicg.github.io/private-network-access/ compat_features: - http.mixed-content.private_network_access From 1d3c05ef15df24cf36cfd6d59812af066a762c67 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 19 Dec 2024 13:33:44 +0100 Subject: [PATCH 4/4] Fix title, desc --- features/private-network-access.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/private-network-access.yml b/features/private-network-access.yml index 573ce8e404b..acc21f57a98 100644 --- a/features/private-network-access.yml +++ b/features/private-network-access.yml @@ -1,5 +1,5 @@ -name: Private Network Access -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. +name: Private network access +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." spec: https://wicg.github.io/private-network-access/ compat_features: - http.mixed-content.private_network_access