User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19
Steps to reproduce:
I chose a file using the HTML5 FileAPI.
See this question I posted here:
And The relating JSFiddle: http://jsfiddle.net/e2UfM/12/
1. Load in a text file from your local machine.
2. Hit "load file".
3. Hit "display file size" - note the size.
4. modify & save the text file on your local machine.
5. Hit "display file size" again. Note how in webkit browsers (Chrome) the file size changes, but in Firefox it didn't update the file size
After choosing the file, I displayed its file size. I then modified the file on the local machine, but when reading the file again the file size remains the same.
Webkit browsers (Google Chrome) update the size of a file when users make changes to files locally, whereas this version of Firefox did not! This should be fixed to ensure that the file is the correct size on the client side, even if the user makes changes to their file.
Oh, I'd love to see (or even work on a fix for) this. As I understand it, this would be done by asking the operating system to notify when a file changes. Mozilla's nsLocalFile*.cpp code has no code to support this as far as I know.
(In reply to Alex Vincent [:WeirdAl] from comment #1)
> Mozilla's nsLocalFile*.cpp code has no code to support this as far
> as I know.
Bug 759416 is adding that.