[Webkit-unassigned] [Bug 187084] New: `change` event for input[type=file] does not fire when different file with same name is selected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 26 22:40:59 PDT 2018


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

            Bug ID: 187084
           Summary: `change` event for input[type=file] does not fire when
                    different file with same name is selected
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mariko.kosaka at gmail.com

https://codepen.io/anon/pen/eKPJda?editors=1010

Steps to reproduce:
1. [input]select file1 on <input type="file"> 
  => change event is fired
2. [input]select file1 again
  => change event is NOT fired
3. Delete the file1, rename file2 to same name as file2
4. [input]select file2 (same file name as file1) 
  => change event is NOT fired

video : https://youtu.be/hrt6ll73kNk

Expected:
Change event is fired every-time user select a file on prompt. Regardless of filename or even when same file is selected twice.

-- 
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/20180627/aabd10be/attachment-0001.html>


More information about the webkit-unassigned mailing list