NEW241901
Failed to upload file with accept=audio/wav on safaridriver
https://bugs.webkit.org/show_bug.cgi?id=241901
Summary Failed to upload file with accept=audio/wav on safaridriver
Cheng You Bai (:cybai)
Reported 2022-06-22 20:42:40 PDT
While trying to use https://webdriver.io/ to write scripts for uploading wav files, I found I cannot upload it properly if the `accept` attribute is `audio/wav`. However, if I use `accept=audio/*`, wav files can be uploaded properly. I created a smallest reproducible test case at https://github.com/CYBAI/failed-to-upload-wav. When you run `pnpm run wdio` in the repo, you will see the second test case (which tries to upload a wav file to an `input[accept=audio/wav]`) will fail with `One or more files could not be selected`.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-06-29 20:43:12 PDT
Note You need to log in before you can comment on or make changes to this bug.