diff --git a/features/draft/spec/fileapi.yml b/features/file.yml similarity index 72% rename from features/draft/spec/fileapi.yml rename to features/file.yml index 839635991e2..71c0c04d5c2 100644 --- a/features/draft/spec/fileapi.yml +++ b/features/file.yml @@ -1,7 +1,12 @@ -draft_date: 2024-10-21 name: File API -description: TODO +description: The File API represents and reads from file data and metadata. Typically, you get files through other APIs, such as the `` element or drag-and-drop events. You may also send file data to other APIs, such as creating images or drawing on canvases. spec: https://w3c.github.io/FileAPI/ +caniuse: fileapi +# Compute status to match Caniuse while also pointing at the main entry point. +status: + compute_from: + - api.FileList + - api.File.File compat_features: - api.Blob - api.Blob.Blob diff --git a/features/draft/spec/fileapi.yml.dist b/features/file.yml.dist similarity index 95% rename from features/draft/spec/fileapi.yml.dist rename to features/file.yml.dist index f3e638713f0..a971a764a07 100644 --- a/features/draft/spec/fileapi.yml.dist +++ b/features/file.yml.dist @@ -1,13 +1,18 @@ -# Generated from: fileapi.yml +# Generated from: file.yml # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 support: - firefox: "128" - firefox_android: "128" - safari: "18" - safari_ios: "18" + chrome: "38" + chrome_android: "38" + edge: "79" + firefox: "28" + firefox_android: "28" + safari: "10.1" + safari_ios: "10.3" compat_features: # baseline: high # baseline_low_date: 2015-07-29 @@ -187,6 +192,7 @@ compat_features: # safari_ios: "10" - api.File.lastModified + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -240,7 +246,6 @@ compat_features: # safari_ios: "14.5" - api.Blob.stream - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # firefox: "128"