[Webkit-unassigned] [Bug 241901] New: Failed to upload file with accept=audio/wav on safaridriver

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 22 20:42:40 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241901

            Bug ID: 241901
           Summary: Failed to upload file with accept=audio/wav on
                    safaridriver
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cyb.ai.815 at gmail.com
                CC: bburg at apple.com

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`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220623/b82d0fff/attachment.htm>


More information about the webkit-unassigned mailing list