Use FileSystem::remove when cleaning up http lock files
Created attachment 76220 [details] Patch
Here's a more precise description of the problem we were seeing on Windows: When a process is killed, Windows may hold on to the files for a short time after the process has ended. It reminds me of how tcp ports may still be used for a short while after the process using them has been killed.
(In reply to comment #2) > Here's a more precise description of the problem we were seeing on Windows: > > When a process is killed, Windows may hold on to the files for a short time after the process has ended. It reminds me of how tcp ports may still be used for a short while after the process using them has been killed. Oh, so it's not clear that we want to apply FileSystem.remove everywhere, but I guess it would be harmless to do so. Maybe we should rename it to something more specific for this specific case?
Generally using Filesysem function is better than os. because they're more easily mockable.
Comment on attachment 76220 [details] Patch OK.
Committed r73769: <http://trac.webkit.org/changeset/73769>