Skip to content

Commit 2ac1adb

Browse files
autonomeddbeck
andauthored
Add File API (#2378)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent cbbcbaf commit 2ac1adb

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

features/draft/spec/fileapi.yml renamed to features/file.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
draft_date: 2024-10-21
21
name: File API
3-
description: TODO
2+
description: The File API represents and reads from file data and metadata. Typically, you get files through other APIs, such as the `<input type="file">` element or drag-and-drop events. You may also send file data to other APIs, such as creating images or drawing on canvases.
43
spec: https://w3c.github.io/FileAPI/
4+
caniuse: fileapi
5+
# Compute status to match Caniuse while also pointing at the main entry point.
6+
status:
7+
compute_from:
8+
- api.FileList
9+
- api.File.File
510
compat_features:
611
- api.Blob
712
- api.Blob.Blob

features/draft/spec/fileapi.yml.dist renamed to features/file.yml.dist

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
# Generated from: fileapi.yml
1+
# Generated from: file.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: false
5+
baseline: high
6+
baseline_low_date: 2020-01-15
7+
baseline_high_date: 2022-07-15
68
support:
7-
firefox: "128"
8-
firefox_android: "128"
9-
safari: "18"
10-
safari_ios: "18"
9+
chrome: "38"
10+
chrome_android: "38"
11+
edge: "79"
12+
firefox: "28"
13+
firefox_android: "28"
14+
safari: "10.1"
15+
safari_ios: "10.3"
1116
compat_features:
1217
# baseline: high
1318
# baseline_low_date: 2015-07-29
@@ -187,6 +192,7 @@ compat_features:
187192
# safari_ios: "10"
188193
- api.File.lastModified
189194

195+
# ⬇️ Same status as overall feature ⬇️
190196
# baseline: high
191197
# baseline_low_date: 2020-01-15
192198
# baseline_high_date: 2022-07-15
@@ -240,7 +246,6 @@ compat_features:
240246
# safari_ios: "14.5"
241247
- api.Blob.stream
242248

243-
# ⬇️ Same status as overall feature ⬇️
244249
# baseline: false
245250
# support:
246251
# firefox: "128"

0 commit comments

Comments
 (0)