From 73387f3093733ab727ed483df813be9b1034c252 Mon Sep 17 00:00:00 2001 From: Daniel Jacobs Date: Tue, 26 Nov 2024 10:49:00 -0500 Subject: [PATCH] Chrome for Android 131/132 supports webkitdirectory on input (#25036) Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> Co-authored-by: Daniel D. Beck --- api/HTMLInputElement.json | 17 +++++++++---- html/elements/input.json | 52 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 5 deletions(-) diff --git a/api/HTMLInputElement.json b/api/HTMLInputElement.json index 2342b49636ecb4..84fe8c9805803f 100644 --- a/api/HTMLInputElement.json +++ b/api/HTMLInputElement.json @@ -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" }, diff --git a/html/elements/input.json b/html/elements/input.json index 8d3354a21df1b5..d98553a770d707 100644 --- a/html/elements/input.json +++ b/html/elements/input.json @@ -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 + } + } } } }