diff --git a/features/draft/spec/encoding.yml b/features/text-encoding.yml similarity index 69% rename from features/draft/spec/encoding.yml rename to features/text-encoding.yml index 7c527da15de..8df1c78e33d 100644 --- a/features/draft/spec/encoding.yml +++ b/features/text-encoding.yml @@ -1,7 +1,12 @@ -draft_date: 2024-10-21 -name: Encoding Standard -description: TODO +name: Text encoding and decoding +description: "The `TextEncoder` API transforms a stream of code points into a byte stream with UTF-8 encoding, and `TextDecoder` does the reverse." spec: https://encoding.spec.whatwg.org/ +caniuse: textencoder +# Status generated to match Caniuse. +status: + compute_from: + - api.TextDecoder + - api.TextEncoder compat_features: - api.TextDecoder - api.TextDecoder.TextDecoder diff --git a/features/draft/spec/encoding.yml.dist b/features/text-encoding.yml.dist similarity index 89% rename from features/draft/spec/encoding.yml.dist rename to features/text-encoding.yml.dist index 2117168e0b6..85e6f6296d5 100644 --- a/features/draft/spec/encoding.yml.dist +++ b/features/text-encoding.yml.dist @@ -1,17 +1,18 @@ -# Generated from: encoding.yml +# Generated from: text-encoding.yml # Do not edit this file by hand. Edit the source file instead! status: - baseline: low - baseline_low_date: 2022-09-20 + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 support: - chrome: "74" - chrome_android: "74" + chrome: "38" + chrome_android: "38" edge: "79" - firefox: "105" - firefox_android: "105" - safari: "14.1" - safari_ios: "14.5" + firefox: "19" + firefox_android: "19" + safari: "10.1" + safari_ios: "10.3" compat_features: # baseline: high # baseline_low_date: 2020-01-15 @@ -29,6 +30,7 @@ compat_features: - api.TextEncoder.encode - api.TextEncoder.encoding + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15