From c647b3df91f2c45a1f924a28e0bfbc34833a4998 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 6 Nov 2024 14:31:01 +0100 Subject: [PATCH 1/3] Add Network Information --- features/{draft/spec => }/netinfo.yml | 5 ++--- features/{draft/spec => }/netinfo.yml.dist | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename features/{draft/spec => }/netinfo.yml (65%) rename features/{draft/spec => }/netinfo.yml.dist (100%) diff --git a/features/draft/spec/netinfo.yml b/features/netinfo.yml similarity index 65% rename from features/draft/spec/netinfo.yml rename to features/netinfo.yml index 990b01daa03..86246ff64bd 100644 --- a/features/draft/spec/netinfo.yml +++ b/features/netinfo.yml @@ -1,6 +1,5 @@ -draft_date: 2024-10-21 -name: Network Information API -description: TODO +name: Network Information +description: The `NetworkInformation` interface provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. spec: https://wicg.github.io/netinfo/ compat_features: - api.Navigator.connection diff --git a/features/draft/spec/netinfo.yml.dist b/features/netinfo.yml.dist similarity index 100% rename from features/draft/spec/netinfo.yml.dist rename to features/netinfo.yml.dist From af44fbe194a8256e2120875ff9a51bb0e6535127 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 6 Nov 2024 18:05:33 +0100 Subject: [PATCH 2/3] Update features/netinfo.yml Co-authored-by: Daniel D. Beck --- features/netinfo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/netinfo.yml b/features/netinfo.yml index 86246ff64bd..825962f94c6 100644 --- a/features/netinfo.yml +++ b/features/netinfo.yml @@ -1,5 +1,5 @@ name: Network Information -description: The `NetworkInformation` interface provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. +description: The `navigator.connection` API provides information about the network connection a device is using and fires events when the connection type changes. spec: https://wicg.github.io/netinfo/ compat_features: - api.Navigator.connection From a6b2a670759ad441d9730906a05b1ebe8fa62aa4 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 6 Nov 2024 18:08:08 +0100 Subject: [PATCH 3/3] rename files --- features/{netinfo.yml => network-information.yml} | 0 features/{netinfo.yml.dist => network-information.yml.dist} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename features/{netinfo.yml => network-information.yml} (100%) rename features/{netinfo.yml.dist => network-information.yml.dist} (95%) diff --git a/features/netinfo.yml b/features/network-information.yml similarity index 100% rename from features/netinfo.yml rename to features/network-information.yml diff --git a/features/netinfo.yml.dist b/features/network-information.yml.dist similarity index 95% rename from features/netinfo.yml.dist rename to features/network-information.yml.dist index 42f12f1969c..38bf9549963 100644 --- a/features/netinfo.yml.dist +++ b/features/network-information.yml.dist @@ -1,4 +1,4 @@ -# Generated from: netinfo.yml +# Generated from: network-information.yml # Do not edit this file by hand. Edit the source file instead! status: