New issue
Advanced search Search tips

Issue 844874 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocking:
issue 710190
issue 818327



Sign in to add a comment

File object can be mutated after user selection

Reported by guest271...@gmail.com, May 19 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36

Steps to reproduce the problem:
1. Select a local file, e.g., a text file
2. Open text editor and edit the selected file
3. 

What is the expected behavior?
The user selected file should not reflect changes to the file after the user has selected the file

What went wrong?
Local changes to the user selected file are reflected at the previously selected File object of the FileList

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 65.0.3325.181  Channel: n/a
OS Version: 
Flash Version: 

Have not tested the code at MacOS or Windows. 

See 

https://stackoverflow.com/questions/50370493/input-file-size-and-content-do-not-update-on-macos

https://github.com/w3c/FileAPI/issues/99
 
FileMutationAfterUserSelection.html
1.3 KB View Download

Comment 1 by mek@chromium.org, May 19 2018

Blocking: 818327 710190
Owner: mek@chromium.org
Status: Assigned (was: Unconfirmed)
Two specific aspects of this behavior are issue 818327 and issue 710190.
Components: Blink>Storage>FileAPI
Components: -Blink>FileAPI

Sign in to add a comment