From f49cd70c7bad68148db58b7aed8ea5f1059773f3 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 6 Nov 2024 14:19:46 +0100 Subject: [PATCH 1/2] Add Web Serial --- features/{draft/spec => }/serial.yml | 7 ++++--- features/{draft/spec => }/serial.yml.dist | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) rename features/{draft/spec => }/serial.yml (75%) rename features/{draft/spec => }/serial.yml.dist (96%) diff --git a/features/draft/spec/serial.yml b/features/serial.yml similarity index 75% rename from features/draft/spec/serial.yml rename to features/serial.yml index db0dad271a9..8a0a72a9ea9 100644 --- a/features/draft/spec/serial.yml +++ b/features/serial.yml @@ -1,7 +1,8 @@ -draft_date: 2024-10-28 -name: Web Serial API -description: TODO +name: Web Serial +description: The `navigator.serial` property and the `Serial` and `SerialPort` interfaces communicate with devices over serial ports. spec: https://wicg.github.io/serial/ +status: + compute_from: api.Navigator.serial compat_features: - api.Navigator.serial - api.Serial diff --git a/features/draft/spec/serial.yml.dist b/features/serial.yml.dist similarity index 96% rename from features/draft/spec/serial.yml.dist rename to features/serial.yml.dist index d7379d088ec..96e26bd4fb5 100644 --- a/features/draft/spec/serial.yml.dist +++ b/features/serial.yml.dist @@ -4,7 +4,8 @@ status: baseline: false support: - chrome: "130" + chrome: "89" + edge: "89" compat_features: # baseline: false # support: @@ -14,6 +15,7 @@ compat_features: - html.elements.iframe.allow.serial - http.headers.Permissions-Policy.serial + # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "89" @@ -40,7 +42,6 @@ compat_features: # edge: "103" - api.SerialPort.forget - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # chrome: "130" From 68faee8bb165cb0abf214557a7b7d4d1b3584158 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 6 Nov 2024 18:04:58 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Daniel D. Beck --- features/serial.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/serial.yml b/features/serial.yml index 8a0a72a9ea9..62286b66854 100644 --- a/features/serial.yml +++ b/features/serial.yml @@ -1,5 +1,5 @@ -name: Web Serial -description: The `navigator.serial` property and the `Serial` and `SerialPort` interfaces communicate with devices over serial ports. +name: Web serial +description: The `navigator.serial` API communicates with devices over serial ports, such as microcontrollers. spec: https://wicg.github.io/serial/ status: compute_from: api.Navigator.serial