godot icon indicating copy to clipboard operation
godot copied to clipboard

HTML5: Deleted files reappear after page refresh

Open pattlebass opened this issue 3 years ago • 0 comments

Godot version

3.5-stable

System information

Chrome 104.0.5112.81, Windows 10

Issue description

If you call Directory.remove(), it only deletes the file for the current instance of the game (also it returns OK). If you refresh the page, the file is still there. However, if you delete the file then create another file, the first one is deleted successfully.

Steps to reproduce

  1. Download MRP.
  2. Add some files.
  3. Delete them.
  4. Refresh the list. See how they are not there.
  5. Refresh the page. See how they are back.
  6. Delete them again, but then add a new file.
  7. Refresh the page. Only the last added file is there.

Minimal reproduction project

Web Directory.remove().zip

pattlebass avatar Aug 06 '22 11:08 pattlebass