Skip to content

Commit

Permalink
Chrome for Android 131/132 supports webkitdirectory on input (#25036)
Browse files Browse the repository at this point in the history
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Daniel D. Beck <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 6619213 commit 73387f3
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 5 deletions.
17 changes: 12 additions & 5 deletions api/HTMLInputElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -3155,11 +3155,18 @@
"chrome": {
"version_added": "7"
},
"chrome_android": {
"version_added": false,
"impl_url": "https://crbug.com/40248532",
"notes": "The property can be set, but has no effect."
},
"chrome_android": [
{
"version_added": "131",
"partial_implementation": true,
"notes": "In Chrome for Android 131, if a user selects a directory, the browser crashes (see [bug 376834374](https://crbug.com/376834374))."
},
{
"version_added": "18",
"partial_implementation": true,
"notes": "The property reflects the attribute, but users cannot choose a directory, only individual files (see [bug 40248532](https://crbug.com/40248532)."
}
],
"edge": {
"version_added": "13"
},
Expand Down
52 changes: 52 additions & 0 deletions html/elements/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -1455,6 +1455,58 @@
"deprecated": true
}
}
},
"webkitdirectory": {
"__compat": {
"support": {
"chrome": {
"version_added": "7"
},
"chrome_android": [
{
"version_added": "132"
},
{
"version_added": "131",
"partial_implementation": true,
"notes": [
"In Chrome for Android 131, choosing a directory crashes the browser (see [bug 376834374](https://crbug.com/376834374)).",
"Before version 131, users cannot choose a directory, only individual files (see [bug 40248532](https://crbug.com/40248532)."
]
}
],
"edge": {
"version_added": "13"
},
"firefox": {
"version_added": "50"
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "11.1"
},
"safari_ios": {
"version_added": false,
"notes": "The attribute can be set but users cannot choose a directory, only individual files (see [bug 271705](https://webkit.org/b/271705))."
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
}
}
}
Expand Down

0 comments on commit 73387f3

Please sign in to comment.